Java Mailing List Archive

http://www.gg3721.com/

Home » users.openjpa »

How to find cause for PersistenceException?

Hiran Chaudhuri

2008-07-04

Replies: Find Java Web Hosting

Author LoginPost Reply
Hi there.

On classes generated from a database with Netbeans 6.1 I get such an exception at runtime:
<openjpa-1.1.0-r422266:657916 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: Invalid value for getInt() - 'N'

Now I can imagine that int is a wrong mapping for the regarding table column and I know which table is accessed - but how do I find out which column this message relates to?

Hiran Chaudhuri
_______________________________________________________________________
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage
kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220

©2008 gg3721.com - Jax Systems, LLC, U.S.A.