This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Please help me me on @ejb.relationship using XDOCLET...  RSS feed

Pras Tiwari
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am new to EJB & trying to implement simple database driven application using EJB CMP2.0. I want to implement CMR relationship between CMP EJB's using XDOCLET(one to one, one to many, many to many). Please tell me how to do that or tell me some resources on it.
Also if u can help me CMR for my two one to many related sample tables cartmaster & cartdetail which are having fields as follows:-

cartid-----------PK of cartmaster

cartdetailid---------Primary key
cartid---------------Foreign Key from cartmaster

These are related fields in my two related tables .
How to write one to many mapping betn these two using XDOCLET in BEAN implementation class?

Please help me out.

Thanx in advance for ur valuable help.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!