This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes help! i can't create CMP to implement 1:1 relationships Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "help! i can Watch "help! i can New topic
Author

help! i can't create CMP to implement 1:1 relationships

binglong zhou
Greenhorn

Joined: Aug 17, 2003
Posts: 1
i use jbuilder9 + weblogic tools.
i got the follow error message:
"ee.ejbgrpx": In relationship 'orderlineitems-products', role 'ProductsRelationshipRole', invalid column 'PRODUCTID', a column-map element contains an invalid key-column. The key-column is not defined in the related bean or it's not recognized because of case mismatch.
Thanks!
kevin chang
Ranch Hand

Joined: Mar 08, 2003
Posts: 64
try to confirm the relationship in your ejb-jar.xml , maybe it's probably the casesensitive question.


Sun Certified Java Programmer, Sun Certified Java Developer. <br />Strving to be a real architect.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: help! i can't create CMP to implement 1:1 relationships
 
Similar Threads
PreparedStatement (displaying records)
HIBERNATE- one-to-many mapping with different field names
Retrieving results through views
Composite PK - encountered invalid index column error
Using Detached Criteria on two POJO classes