Return-Path: Delivered-To: apmail-incubator-open-jpa-dev-archive@locus.apache.org Received: (qmail 50828 invoked from network); 16 May 2007 17:07:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 May 2007 17:07:11 -0000 Received: (qmail 166 invoked by uid 500); 16 May 2007 17:07:17 -0000 Delivered-To: apmail-incubator-open-jpa-dev-archive@incubator.apache.org Received: (qmail 137 invoked by uid 500); 16 May 2007 17:07:17 -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 128 invoked by uid 99); 16 May 2007 17:07:17 -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 10:07:17 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [68.142.225.206] (HELO smtp108.rog.mail.re2.yahoo.com) (68.142.225.206) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 16 May 2007 10:07:08 -0700 Received: (qmail 85640 invoked from network); 16 May 2007 17:06:43 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:X-YMail-OSG:From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:In-Reply-To:X-MimeOLE:Thread-Index; b=5WU61Icp4+90YZy7EZY1PZybWFEBiSIpoguno/cY4isCoy3FMvLdX0Q2S0bsZjVaKwJEyjx3XB3xTTjpSIwZOe0pyQvoETKeaWzUl5QhF0s4fdTw+pPrz3TsWINrJuRafK6fg45YYu6gIVN0++/JCl9EXAjAz39ekMMFYnLGT9s= ; Received: from unknown (HELO tyan2400) (pjmoran@rogers.com@74.103.76.135 with login) by smtp108.rog.mail.re2.yahoo.com with SMTP; 16 May 2007 17:06:42 -0000 X-YMail-OSG: 9lRKxeIVM1k0Z.r1pdWziFBYKSYpa48nIgoDHKtL6gfFMNxPRwxirr8.S7RZ5cLx7w-- From: "Phill Moran" To: Subject: RE: Will reversemappingTask() generate EJB3 annotations? Date: Wed, 16 May 2007 13:06:14 -0400 Message-ID: <001701c797dc$8519ac40$6601a8c0@tyan2400> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <875636.56010.qm@web501.biz.mail.mud.yahoo.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Thread-Index: AceX16s80/goxFzmT9Kc1CoQ8PA85QABJk+Q X-Virus-Checked: Checked by ClamAV on apache.org I am not sure that it will annotate your exiting code but (I think) it will make an external mapping file for you or generate the annotated classes from the ground up. Check out the MappingTool class/docs -----Original Message----- From: linda rae [mailto:lrae@dragon-research.com] Sent: May 16, 2007 8:58 AM To: open-jpa-dev@incubator.apache.org; open-jpa-dev@incubator.apache.org Subject: Will reversemappingTask() generate EJB3 annotations? I apologize if this question has been previously asked and answered. I have googled for an answer with no luck. I have been requested to use OpenJPA on a project. The tool appears straight forward and works well, I have ran the reverse engineering example on my own DB - it works great. However... no EJB3 annotations were generated (@Entity, etc). What configuration option must I define to have the reversemapping tool generate an EJB3 EntityEJB? A short response would be great - any response would would really help (am I asking for something that does not exist?) Thank-you, Linda Rae