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 correct syntax for the statement would be:
SELECT * FROM Stories WHERE title = 'Deepcut case leads ''not followed'' ';
Note the duplicated single quotes inside the string literal.
You will need to tell your ORM layer to follow the ANSI SQL rules for literals.