[jboss-user] [EJB 3.0] - Re: Strange mapping problem...

taprogge do-not-reply at jboss.com
Wed Sep 13 09:51:53 EDT 2006


I solved my problem...

Strangely enough, the cause was that in my code some persistence annotations were attached to  fields while others (older code) were attached to getter/setter methods.
Obviously hibernate checks one type first and complains without checking the other.
So never, ever mix getter/setter and field annotations...

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971272#3971272

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971272



More information about the jboss-user mailing list