Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Originally posted by monojit choudhury:
ya i got that,but when i want to connect to 5 different databases(lets say one using oracle,one using SQLServer,etc)i cant do that in a single Deployment descriptor or can i? According to my knowledge a single DD can hold the information about a single database.
Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Yes. EJB 2.0 supports the creation of entity relationships using CMP. Chapter 7 of Enterprise JavaBeans - Third Edition covers this topic very well.Originally posted by ruilin yang:
a related question:
Can CMP of EJB 2.0 can do Object/Relation mapping ?
Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Originally posted by Thomas Paul:
Yes. EJB 2.0 supports the creation of entity relationships using CMP.
Originally posted by Jim Bertorelli:
I beg to differ here. OR mapping is not same as specifying Entity relationships. For example, you have an Order Object which has multiple OrderLine objects. Now, the relationship between the two objects can be handled by the EJB container. But you still need to have relational database tables structured that correspond directly to the objects.
Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
My favorite is a chocolate cupcake with white frosting and tiny ad sprinkles.
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
|