Hi ,
i am working on EJB3.0 with Toplink for container managed transactions on
Glassfish server.
i'm moving to WAS7 with Apache OpenJPA.
i have a problem in this scenario:
i have two entities TableA.java(TableA in database) and TableB.java(TableB
in database) with unidirectional one-to-many from TableA(one) to
TableB(many).
While persisting the TableA, toplink orm creates another JOIN table for
one-to-many mapping with name " TableA_TableB" table with TableA primary key
as foriegn and TableB primary key as foriegn and both act as composite
primary key mantains one-to-many mappings.
Is there any such kind on mechanism implemented by OpenJPA EJB3.0 container
managed one-to-many mappings to create or identify existed the JOIN Table?
Thanks,
Rajesh Yarlagadda
--
View this message in context: http://openjpa.208410.n2.nabble.com/Urgent-solution-EJB3-0-with-OpenJPA-tp5855389p5855389.html
Sent from the OpenJPA Developers mailing list archive at Nabble.com.
|