[jboss-user] [EJB 3.0] - Re: Where to place annotations?
do-not-reply at jboss.com
Wed Oct 4 02:48:33 EDT 2006
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.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975947#3975947
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975947
More information about the jboss-user