openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kurt_cobain <>
Subject Re: How to get beter stacktraces????
Date Mon, 23 Feb 2009 23:28:19 GMT

The problem is that it isn't telling me "why" the transaction has been rolled back; for example
the way you do if you try and insert a null value into a non-nullable column etc, you typically
get a jdbc error. I'm getting zero...

From: Pid (via Nabble) <>
To: kurt_cobain <>
Sent: Monday, February 23, 2009 5:23:40 PM
Subject: Re: How to get beter stacktraces????

kurt_cobain wrote: 

> I'm having a very difficult time with OpenJPA (via weblogic). 
> I often get a strack trace that doesn't help me at all, it just looks like 
> this: 
> "org.apache.openjpa.util.StoreException: The transaction has been rolled 
> back.  See the nested exceptions for details on the errors that occurred." 
> And yet, there ARE no more details on the error.  I've been able to figure 
> out a couple of the issues by basically feeling around in the dark and 
> guessing, but is there ANY way to get better error messages than that? 
> Please advise... 
You could add debugging messages to the source code & recompile it. 
Of course, you might be better off asking on the OpenJPA list... 


This email is a reply to your post @
You can reply by email or by visting the link above.

View this message in context:
Sent from the OpenJPA Users mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message