Phil for Humanity Phil for Humanity
A Guide for the Survival of Humankind and Helping the World, Society, and Yourself.



DDTS findbug Issue


Have you ever had a simple DDTS findbug command return no output and no error message when you believe it should output some basic output?

For example, here is a command that most people would expect to work:

findbug -k TYPE test-name has "test1_test2"

The problem with this command is that DDTS queries are in SQL, and SQL uses the underscore ("_") as a special character. So, for the DDTS findbug command to work, all that you have to do is add the percent sign ("%") before each underscore.

Here is an example of the same command with the work around:

findbug -k TYPE test-name has "test1%_test2"

That's it. Give it a try.

by Phil for Humanity
on 20120503

Related Articles
 » DDTS Support: Common DDTS Commands
 » Why the Republican Party needs to Split
 » Being Too Serious