Timestamp st = new Timestamp(123, 4, 5, 6, 7, 8, 500000000);
jdt = Convert.toJDateTime(st);
assertEquals("2023-05-05 06:07:08.500", jdt.toString());
SqlTimestampConverter sqlTimestampConverter = new SqlTimestampConverter();
Timestamp st2 = sqlTimestampConverter.convert(jdt);
assertEquals(123, st2.getYear());
assertEquals(4, st2.getMonth());
assertEquals(5, st2.getDate());
assertEquals(6, st2.getHours());
assertEquals(7, st2.getMinutes());