openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Bauer" <techhu...@gmail.com>
Subject Re: Trouble with Constructor Expressions
Date Thu, 16 Oct 2008 19:35:29 GMT
Hi there,

According to the JPA spec, section 2.1:

The entity class must have a no-arg constructor. The entity class may
have other constructors as well.
The no-arg constructor must be public or protected.

If you don't have one, try adding a default constructor to
ConfExtended.  That should correct the issue.  If you are using the
compile-time PCEnhancer it should add a default constructor for you by
default (-adc option), which would indicate there is a different
problem.

-Jeremy

Mime
View raw message