Beginner |
 |
Joined: Tue Jan 18, 2005 6:44 pm Posts: 39
|
Hi,
I have created a hibernate+ Spring layer for persistence. It contains 10 mapping files that maps 10 POJOs to 10 tables and these tables are created by hibernate. The entire setup along with the JUnit tests runs fine with mySQL.
The minute I switched to oracle for some reason hibernate stagnates at oen point and I havent figured out why it stalls. The program doesnt terminate and it goes into an infinite loop for some reason.
I am running the entire test suite through ant and I have turned on the debug logging mode for hibernate and the last few logs I see is
DEBUG - 24 Jun 2005 15:23:41 AbstractBatcher.getPreparedStatement(343) | preparing statement
DEBUG - 24 Jun 2005 15:23:41 BasicEntityPersister.dehydrate(1587) | Dehydrating entity: [com.sivault.siforms.persistence.businessobjects.FormUpload#1]
DEBUG - 24 Jun 2005 15:23:42 NullableType.nullSafeSet(59) | binding '2005-06-10 00:00:00' to parameter: 2
DEBUG - 24 Jun 2005 15:23:42 NullableType.nullSafeSet(59) | binding '2' to parameter: 3
DEBUG - 24 Jun 2005 15:23:42 NullableType.nullSafeSet(59) | binding '1' to parameter: 4
DEBUG - 24 Jun 2005 15:23:42 BatchingBatcher.addToBatch(27) | Adding to batch
DEBUG - 24 Jun 2005 15:23:42 BasicEntityPersister.insert(1795) | Inserting entity: [com.sivault.siforms.persistence.businessobjects.FormPrint#1]
DEBUG - 24 Jun 2005 15:23:42 BatchingBatcher.doExecuteBatch(54) | Executing batch size: 1
The save on a FormPrint object cascades to do a save on two other children classes. These collectios are of type Set.
Thanks,
Jeevak
|
|