Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

foriegn key in CMR

 
Nitin Dindorkar
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
In CMP we dont map foriegn key in relation between 2 two beans. We use the CMR feild instead (the bean itself ).
Does that mean that in the Relational database table there is no foriegn key as referential integrity between two tables ? Please explain.
Can we built entity bean based on the existing tables, in that case what do we do with foreign key ?
THank you.
Nitin Dindorkar
 
Sudhir V
Ranch Hand
Posts: 143
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
CMR relationships are used to take care of Foreign keys and its better coz you get the whole foreign object and then u can extract individual columns from it. Please elaborate ur question a bit.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic