Originally posted by Paul Campbell: are you in auto-commit mode?
Originally posted by Rob Prime: Are you sure you are not getting a ClassCastException? st.setDate(4,(Date) p); Here, you are casting a java.util.Date object as java.sql.Date. The object isn't an instance of java.sql.Date however. To create a java.sql.Date from a java.util.Date you have to do the following: Date sqlDate = new Date(p.getTime()); The same goes for Time and Timestamp.