|
![]() |
Originally posted by Deepa Malhotra:
Are you saying that if the Persons Table and Credit Card table do not have a foreign key constraint, the corresponding entity beans can not have a relationship??
Originally posted by Deepa Malhotra:
Thanks Rashmi,
I know I'm kind of confused on this. Are you saying that if the Persons Table and Credit Card table do not have a foreign key constraint, the corresponding entity beans can not have a relationship??
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
the container automatically creates a new table with necessary columns that can serve as a link between the original two tables.
Originally posted by Rashmi Tambe:
You cannot define CMR if you dont have underlying foreign key relationship in the databse table. This is becaue you need to specify the foreign key field name in the deployment descriptor.