openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <ppod...@apache.org>
Subject Re: How to know the error code from org.apache.openjpa.persistence.PersistenceException
Date Mon, 14 Jan 2008 18:56:04 GMT

PersistenceException.getNestedThrowable() will return you the underlying
exceptions.
Recurse through them till you hit the original SQLException.


-- 
View this message in context: http://www.nabble.com/How-to-know-the-error-code-from-org.apache.openjpa.persistence.PersistenceException-tp14809198p14809208.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.


Mime
View raw message