I am trying to use a java.util.Date as input and then creating a query with it - so I need a java.sql.Date.
I was surprised to find that it couldn\'t do the conver
java.sql.Date sqlDate = new java.sql.Date(javaDate.getTime());
Here javaDate is the instance of java.util.Date