Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Trunk, 3.0.0-beta5
-
Eclipse LUNA
Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
Description
The JPA standard restricts JPA Entities to have a public or protected constructor, not a private one.
See: http://docs.oracle.com/javaee/6/tutorial/doc/bnbqa.html
The JPA entities JPADomain and JPARecipientRewrite have private constructors. Depending of the implementation of the JPA provider, this could lead to runtime errors.
Using protected instead of private constructors should not be a problem, cause they are not used.
I will attach a patch.