-
1. Re: Problems with relationship
hvenstrom Nov 29, 2002 4:52 PM (in response to alessanq)If you use <prim-key-class>java.lang.Object</prim-key-class>
then you need to look in the forum for unknown primary key. Here is one post on the subject:
http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t=forums/ -
2. Re: Problems with relationship
alessanq Dec 1, 2002 8:38 AM (in response to alessanq)My problem is not with the primary key. My primary key is Integer. It seens that the problem is some bug of JBoss. If I call findByPrimaryKey of a bean in the create method of address bean, it doesn´t set the relationship. If I comment this line, it´s ok. So what could be happening?
-
3. Re: Problems with relationship
hvenstrom Dec 2, 2002 7:56 AM (in response to alessanq)Well, one of the problems around this is that you need the lates JBoss versoin (the beta or later of 3.2). It is the only version that supports unknown prim keys (if that is your problem). Have a peek in this tread:
http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t=forums/