A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
CMR in CMP EJBs
Joined: Mar 17, 2005
Mar 17, 2005 10:07:00
I have two tables:
VENDOR and APIs that have a Many to Many relationship. I have a join table TPCP_APIs.
I have two CMP
, one mapped to Vendor and the other to API.
I made CMR fields for each other in the two
My question is, how can I do an insert in the join table only (without creating a new Vendor or API) ?
Can I use a create method in the Vendor
like create(vendor_id, api_id) ?
or something similar in the API EJB as in: create(api_id, vendor_id) ?
Thanks for any help !
I agree. Here's the link:
subject: CMR in CMP EJBs
Using EJB-QL LIKE and a replacable param(?1).
URGENT: CMR question in weblogic 7.0
J2EE Smackdown, XDoclet, EJB, EJB vs. JDO
Many to one unidirectional relationship and ejbCreate
Many-to-many relation: How is my ejb container aware of a table not mentioned anywher
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014