[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Repeated column in mapping for entity
do-not-reply at jboss.com
Wed Jul 12 02:27:26 EDT 2006
This problem was that I had a composite key class with a member 'user' and a setter/getter getUser(). Then in the Entity class I also had a getter/setter getUser(). This leads to duplicate column. Had to remove the getter/setter in the Entity class for it to work. Instead I now use getPrimaryKey().getuser().
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957236#3957236
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957236
More information about the jboss-user