Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Could I build 1:N relationship between CMP and BMP?  RSS feed

 
Pcxhev Qydzb
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, as subject, Could I build 1:N relationship between CMP and BMP?
Thanks a lot!
a13519
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wallace,
Welcome to JavaRanch.
(1) PLEASE change your name immediately to conform to the Javaranch naming policy
(2) No you can't. You can do a lot with BMP and CMP in EJB 2.0, but you can't establish relationships between them -- the basic problem is that the semantics for EJB-QL is undefined with BMP -- it couldn't make sense of queries on the BMP.
Kyle
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!