Timestamp pubDate = rs.getTimestamp("pubDate");
with all other Timestamps in table by this query:
get * from items where pubDate<?
Throws the error:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'get * from items where pubDate<'2015-05-04 18:26:00'' at line 1
What is the right syntax?