[jboss-user] [EJB 3.0] - Field-Based Access
lydiachung
do-not-reply at jboss.com
Tue Nov 28 12:54:50 EST 2006
I am running JBoss 4.0.4 GA and Eclipse 3.2.0. There is a need for me to use field-based access. I have my class look like:
@Id public Long myid;
But Eclipse complain about it: "Entity does not have an Id". However, after I changed the modifier from public to protected, the complaint disappeared. So is it something that ejb3 doesn't allow id to be public?
Thanks,
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989420#3989420
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989420
More information about the jboss-user
mailing list