*/
@Test
public void testSqlDate() throws Exception
{
PersistenceManager persist = new PersistenceManager(driver, database, login, password);
DateObject dateO = new DateObject();
dateO.setDate(new java.sql.Date(System.currentTimeMillis()));
dateO.setTime(new java.sql.Time(System.currentTimeMillis()));
dateO.setTimeStamp(new java.sql.Timestamp(System.currentTimeMillis()));
persist.saveObject(dateO);
// make sure only one object exists
List<Object> all = persist.getObjectsMatching(new Object());
assertEquals(1, all.size());