It is because cs.setDate () parameter passed to the database returns only the date portion.
If the code can use the following:
If the code can use the following:
cs.setTimestamp(3, new java.sql.Timestamp(dKssj.getTime()));
cs.setTimestamp(4, new java.sql.Timestamp(dJssj.getTime()));
cs.setTimestamp(4, new java.sql.Timestamp(dJssj.getTime()));
cs.setTimestamp () The date and time parts are passed to the database.