aspose file tools
The moose likes EJB and other Java EE Technologies and the fly likes CM Relationship from CMP bean to BMP bean Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "CM Relationship from CMP bean to BMP bean" Watch "CM Relationship from CMP bean to BMP bean" New topic
Author

CM Relationship from CMP bean to BMP bean

Richard Carr
Greenhorn

Joined: Apr 15, 2003
Posts: 17
Hi,
Can I declare a unidirectional CM Relationship from
a CMP bean to a BMP bean?
I will have a complex of CMP beans persisted in one database. I have to make use of some existing data in a second DB and plan to encapsulate that as a simple BMP bean (I can't modify the schema). I'll want to access that BMP bean from one of the CMP beans - a CM relationship seems the simplest solution.
Or must the targets as well as the sources of CM relationships be CMP beans?
Thanks,
Rich.
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
Only CMP Beans can participate in Container Managed Relationships.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: CM Relationship from CMP bean to BMP bean
 
Similar Threads
Whether to use BMP or CMP
Relationship between CMP and BMP
Managed Persistance
Relationship between CMP and BMP entity
CMP beans can have relationship with BMP beans?