Is it possible to map the attributes of an entity bean to more than one table without the support of O/R mapping tools like TopLink..? Is Ejb2.0 spec directly support that..? I know we can make relationship among beans.. how abt mapping w/ multiple tables.. Any help is highly appreciated.. Thanks Saran
Sun Certified Java2 Programmer
posted 15 years ago
You can use bean-managed persistence and write the SQL for the mapping yourself. If your database supports updateable views you can use container-managed persistence by creating a view to represent the join of the tables.