[jboss-user] [EJB 3.0] - Re: EJB3 entity inheritance override getter in subclass
do-not-reply at jboss.com
Mon Jun 29 05:22:56 EDT 2009
where did you place the @Column annotations? On the field or on the getter/setter? Or did you use the JBoss defaults? You might try to place them on the field instead of the getter, then it will hopefully get the persisted value from the field, not from the property. Note that this would change the field/property access for all properties of this entity, not just for the single field.
anonymous wrote : is there a way to add a member + getter/setter in indicate him as not persistable?
Sure, use the @Transient annotation.
Unfortunately, I cannot answer your last question.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240640#4240640
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4240640
More information about the jboss-user