This content has been marked as final.
Show 4 replies
-
1. Re: BMP entity beans with defined (compound) Primary Key Cla
donsfc Dec 20, 2002 11:56 AM (in response to donsfc)Typo in orig posting,
Obviously I am using .getPrimaryKey() not .primaryKey() !!! -
2. Re: BMP entity beans with defined (compound) Primary Key Cla
juhalindfors Dec 20, 2002 12:08 PM (in response to donsfc)Did you remember to remove primkey-field entry with composite key?
-
3. Re: BMP entity beans with defined (compound) Primary Key Cla
donsfc Dec 21, 2002 12:15 PM (in response to donsfc)yes, the entity section of my ejb-jar.xml file contains only the following elements:
<ejb-name>Test</ejb-name>
myPackage.BMPHome
myPackage.BMP
<ejb-class>myPackage.BMPBean</ejb-class>
<prim-key-class>myPackage.MyPK</prim-key-class>
<persistence-type>Bean</persistence-type>
<transaction-type>Container</transaction-type>
false -
4. Re: BMP entity beans with defined (compound) Primary Key Cla
juhalindfors Dec 21, 2002 6:34 PM (in response to donsfc)and you return correct type from all of your ejbCreate() methods?