I am using an ORM (ORMlite) and all my calls are going well until I get the following error.
Exception in thread \"main\" org.h2.jdbc.JdbcSQLExceptio
The exception says that there is some syntactical problem with your generated SELECT statement. Can you print out the generated query? Doing that might help you pin down the exact issue here.
EDIT: Looking closely at your trace shows that string escaping is not handled properly here. Is this your own QueryBuilder? Also, as per this link, are you using SelectArg
or directly setting the title?