-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Error with oracle but not MySQL
PostPosted: Fri Jun 24, 2005 6:41 pm 
Beginner
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


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 27, 2005 1:27 pm 
Beginner
Beginner

Joined: Tue Jan 18, 2005 6:44 pm
Posts: 39
Could anyone give a hint as to what the problem could be?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.