• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

CM Relationship from CMP bean to BMP bean

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Only CMP Beans can participate in Container Managed Relationships.
 
reply
    Bookmark Topic Watch Topic
  • New Topic