Hello,

I'm wondering if it is possible to retrieve the property/column name that
caused a PersistenceException to happen. I'm working on a validation
framework and would like to add support for jpa, currently I'm only having
support for hibernate. I'm currently implementing a proof of concept which
uses OpenJPA as the JPA provider.
>From the JPA docs, it seems that such information is not available through
the standard API. I was hoping that implementors like OpenJPA would add
support for things like that. But from searching the docs I couldn't find
something that would tell me the exact property/column name that caused a
PersistenceException.

My question is if I'm missing something (hopefully in this case) or if there
is no way of getting this information by the use of OpenJPA.


Best regards,

Anatol
-- 
View this message in context: 
http://n2.nabble.com/How-to-retrieve-the-property-name-that-is-the-cause-of-a-PersistenceException-tp3275779p3275779.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to