hibQuery = s.createFullTextQuery( query, Clock.class, Book.class );
results = hibQuery.list();
assertEquals("incorrect test record count", 1, results.size());
assertEquals("incorrect test record", 2, ((Clock)results.get( 0 )).getId().intValue());
for (Object element : s.createQuery( "from java.lang.Object" ).list()) s.delete( element );
tx.commit();
s.close();
}
public void testPurgeAll() throws Exception {