From open-jpa-dev-return-4127-apmail-incubator-open-jpa-dev-archive=incubator.apache.org@incubator.apache.org Wed May 16 19:56:36 2007 Return-Path: Delivered-To: apmail-incubator-open-jpa-dev-archive@locus.apache.org Received: (qmail 24344 invoked from network); 16 May 2007 19:56:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 May 2007 19:56:35 -0000 Received: (qmail 52398 invoked by uid 500); 16 May 2007 19:56:41 -0000 Delivered-To: apmail-incubator-open-jpa-dev-archive@incubator.apache.org Received: (qmail 52367 invoked by uid 500); 16 May 2007 19:56:41 -0000 Mailing-List: contact open-jpa-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: open-jpa-dev@incubator.apache.org Delivered-To: mailing list open-jpa-dev@incubator.apache.org Received: (qmail 52358 invoked by uid 99); 16 May 2007 19:56:41 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2007 12:56:41 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of plinskey@gmail.com designates 64.233.166.177 as permitted sender) Received: from [64.233.166.177] (HELO py-out-1112.google.com) (64.233.166.177) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2007 12:56:34 -0700 Received: by py-out-1112.google.com with SMTP id p76so641795pyb for ; Wed, 16 May 2007 12:56:14 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Sl09gdn29ss8VmPr2YRw5qI6iHAr6HwavD1UplJI6syW+wtBwZj3+t95FaBvSD6nb0u7A0a12n7d9QKzUJm/l7gF+GvzeQwQQP4QVRw8/fZMiVxwcUEoypPb33by3Y2+Bl5rT3q0gS/RgSOT9Rm5zLQ9pYvCMitaZw9vww5+7Oo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=O7cBcCjg+fBCmcQT5wehUHaUsygJFK8f43uITwbdoTThatRyc9u79mNhlXVUllatJET23nMGjTpZk+xUi16e/QknPLOHhjQm4MhfELc/PYa5F/1z2zC24jLsflsi2RjCBjsUwcEuT89tyUM27k3PEin/eJLtZTeqaIDkPgaMVnw= Received: by 10.35.90.11 with SMTP id s11mr15659527pyl.1179345370982; Wed, 16 May 2007 12:56:10 -0700 (PDT) Received: by 10.35.8.4 with HTTP; Wed, 16 May 2007 12:56:10 -0700 (PDT) Message-ID: <7262f25e0705161256w119ff1demcb234900d94936a8@mail.gmail.com> Date: Wed, 16 May 2007 12:56:10 -0700 From: "Patrick Linskey" To: open-jpa-dev@incubator.apache.org Subject: Re: Will reversemappingTask() generate EJB3 annotations? In-Reply-To: <464B58A6.3090301@telenity.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <875636.56010.qm@web501.biz.mail.mud.yahoo.com> <001701c797dc$8519ac40$6601a8c0@tyan2400> <72c1350f0705161026u2cb79e91o19f063fc0e94259c@mail.gmail.com> <715E5492-D84A-4EE9-9179-A754D1C98532@apache.org> <464B58A6.3090301@telenity.com> X-Virus-Checked: Checked by ClamAV on apache.org > Would you guys be interested in getting donations in that area? Certainly! > We do have our homegrown solution that does that (along with some other > goodies as well). It's currently based on our metadata representation > reverse-engineered from the database schema, it'd be nice (read: more > flexible and maintainable) to have it based on openjpa metadata and > integrated in openjpa itself for the community to use. The basics could be implemented as a new subtype of ReverseMappingTool.ReverseCodeGenerator that did more intelligent things in the various field / method generators; ideally, we'd want to provide options for things like leaving ORM metadata in XML but putting @Entity and @Id etc. in classes, and obviously the ability to not write any XML at all and put everything in annotations instead. -Patrick On 5/16/07, Gokhan Ergul wrote: > Marc Prud'hommeaux wrote: > > > > That is correct: the reversemappingtool only currently supports > > generating an orm.xml file. We would like to add support for > > generating annotations someday, but it is not there yet. > > > > Would you guys be interested in getting donations in that area? We do > have our homegrown solution that does that (along with some other > goodies as well). It's currently based on our metadata representation > reverse-engineered from the database schema, it'd be nice (read: more > flexible and maintainable) to have it based on openjpa metadata and > integrated in openjpa itself for the community to use. > > Gokhan. > > > > > -- Patrick Linskey 202 669 5907