Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 80500 invoked from network); 1 Feb 2007 15:42:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Feb 2007 15:42:21 -0000 Received: (qmail 3536 invoked by uid 500); 1 Feb 2007 15:42:24 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 3514 invoked by uid 500); 1 Feb 2007 15:42:24 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 3501 invoked by uid 99); 1 Feb 2007 15:42:24 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 07:42:24 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of hans.prueller@gmx.net designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 01 Feb 2007 07:42:13 -0800 Received: (qmail invoked by alias); 01 Feb 2007 15:41:51 -0000 Received: from cm56-213-37.liwest.at (EHLO burns) [86.56.213.37] by mail.gmx.net (mp033) with SMTP; 01 Feb 2007 16:41:51 +0100 X-Authenticated: #299902 From: "Hans J. Prueller" To: Subject: using OpenJPA in EJB2.1 application (was: ejb2.1 to Geronimo2.0 migration strategy) Date: Thu, 1 Feb 2007 16:41:52 +0100 Message-ID: <002d01c74617$7ee27170$0500a8c0@burns> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_002E_01C7461F.E0A6D970" X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 thread-index: AcdGF36RDAI1DRwqSCG4x6Ipr1TLYQ== X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------=_NextPart_000_002E_01C7461F.E0A6D970 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi together, I decided that it would be a valuable way to migrate existing CMP2.1 EJBs to OpenJPA, as this should also work OUTSIDE a Java EE 5 (and therefore inside EJB2.1) container. The problem I see is that I have to provide the OpenJPA mappings as Java5 annotations, and EJB2.1 projects are bound to Java 1.4 - without having annotations. Is there a way of providing the mapping via XML-descriptor too? Does anybody see other possible failures when running OpenJPA within a Java EE 1.4 container? regards, Hans =========================== virtually hanzz... http://hanzz.zapto.org (personal) http://www.cse.dmu.ac.uk/~hansp (research) ------=_NextPart_000_002E_01C7461F.E0A6D970 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi together,

 

I decided that it would be a valuable way to = migrate existing CMP2.1 EJBs to OpenJPA, as this should also = work

OUTSIDE a Java EE 5 (and therefore inside = EJB2.1) container. The problem I see is that I have to provide the = OpenJPA

mappings as Java5 annotations, and EJB2.1 = projects are bound to Java 1.4 – without having annotations. =

 

Is there a way of providing the mapping via XML-descriptor too?

Does anybody see other possible failures when running OpenJPA within a Java EE 1.4 = container?

 

regards,
Hans

 

 

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
virtually hanzz...

 

http://hanzz.zapto.org (personal)
http://www.cse.dmu.ac.uk/~hansp (research)

 

------=_NextPart_000_002E_01C7461F.E0A6D970--