lightbulb,
I personally think it is better to annotate the getter methods, as i used to annotate the
fields themselves and ran into a few errors (Hibernate MappingException) when using
relations between the Entities.
Just remember that what ever you do, it should be consistent i.e annotaye only the getters
or only the fields.
Cheers,
Andy
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975947#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...