From dev-return-18169-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Tue Dec 21 17:20:26 2010 Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 56251 invoked from network); 21 Dec 2010 17:20:24 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Dec 2010 17:20:24 -0000 Received: (qmail 84059 invoked by uid 500); 21 Dec 2010 17:20:24 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 83630 invoked by uid 500); 21 Dec 2010 17:20:23 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Delivered-To: moderator for dev@openjpa.apache.org Received: (qmail 80446 invoked by uid 99); 21 Dec 2010 11:07:06 -0000 X-ASF-Spam-Status: No, hits=2.3 required=10.0 tests=FREEMAIL_FROM,RFC_ABUSE_POST,SPF_SOFTFAIL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of yarlagaddarajeshbabu@hotmail.com does not designate 216.139.236.26 as permitted sender) Date: Tue, 21 Dec 2010 03:06:41 -0800 (PST) From: Rajesh Yarlagadda To: dev@openjpa.apache.org Message-ID: <1292929601067-5855389.post@n2.nabble.com> Subject: Urgent solution EJB3.0 with OpenJPA MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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.