The new spec by default does not allow mixed field and method access on an entity, it's mapped superclass and embedded entities. There is a way around this, if you really want to do it (check the spec).
Before, the @Entity annotation took an AccessType.FIELD or AccessType.METHOD attribute. This is no longer the case. The access type is now determined by whether you annotate the entity's @Id on the field or method. This is inherited by @Embeddable and when extending @MappedSuperclass. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922607#3922607 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922607 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user