• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CM Relationship from CMP bean to BMP bean

 
Richard Carr
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2712
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Only CMP Beans can participate in Container Managed Relationships.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic