-->
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.  [ 1 post ] 
Author Message
 Post subject: How to identify the problematic object of a collection of ob
PostPosted: Mon Dec 17, 2007 10:11 am 
Newbie

Joined: Mon Dec 17, 2007 10:06 am
Posts: 2
I'm using Spring 2.0 and Hibernate 3.1.2. If I try to insert/update a collection of object by using
getHibernateTemplate().saveOrUpdateAll(col);
once there's an object with error, the exception thrown by Hibernate seems not having the information of with object causing the problem.

That makes debug and trace hard to be done. Therefore, any method to allow easy identification?

If I loop the object one by one in a TRANSACTION (Hibernate transaction manager with spring), it's the same as above that the exception thrown at last (seems during commit).

Thanks!


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

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.