Here is my program, I tried
java.sql.Date logicalDate; Calendar c = Calendar.getInstance(); c.setTime(logicalDate); c.add(Calendar.DATE, 1);
Calendar#getTime returns a java.util.Date representation of the Calendar. You really need to use Calendar#getTimeInMillis instead
Calendar#getTime
java.util.Date
Calendar
java.sql.Date startDate= new java.sql.Date(c.getTimeInMillis())