-->
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: BatchUpdateException with JBoss
PostPosted: Sat Jun 06, 2009 6:18 am 
Newbie

Joined: Mon Aug 25, 2008 11:18 am
Posts: 5
Hello,
I'm using Hibernate with JBoss and the problem is that in cases an insert/update operation to the database fails and a BatchUpdateException is thrown, JBoss converts it to a NestedSQLException with a message that just says "Error" and does not provide any informative details, and a recursive cause! I know it's a JBoss problem and not a Hibernate one, but the question is if there is a way to catch the original exception when it's thrown and inspect it to get the error information. I believe it's a common issue people have faced with when working with JBoss, so probably someone here will be able to give me the solution.
Thanks.


Top
 Profile  
 
 Post subject: Re: BatchUpdateException with JBoss
PostPosted: Thu Nov 05, 2009 11:09 am 
Beginner
Beginner

Joined: Mon Nov 20, 2006 2:46 pm
Posts: 32
I am experiencing the same problem with JBoss 5.0.1.GA. Does anybody have any suggestions?


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.