Return-Path: Delivered-To: apmail-openjpa-users-archive@minotaur.apache.org Received: (qmail 62516 invoked from network); 24 Nov 2009 04:51:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Nov 2009 04:51:10 -0000 Received: (qmail 81162 invoked by uid 500); 24 Nov 2009 04:51:10 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 81046 invoked by uid 500); 24 Nov 2009 04:51:08 -0000 Mailing-List: contact users-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openjpa.apache.org Delivered-To: mailing list users@openjpa.apache.org Received: (qmail 81033 invoked by uid 99); 24 Nov 2009 04:51:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Nov 2009 04:51:08 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.210.177] (HELO mail-yx0-f177.google.com) (209.85.210.177) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Nov 2009 04:50:56 +0000 Received: by yxe7 with SMTP id 7so5805898yxe.25 for ; Mon, 23 Nov 2009 20:49:33 -0800 (PST) Received: by 10.151.21.1 with SMTP id y1mr5739715ybi.3.1259038172955; Mon, 23 Nov 2009 20:49:32 -0800 (PST) Received: from brevsnb004 ([114.73.176.194]) by mx.google.com with ESMTPS id 4sm1749709ywg.13.2009.11.23.20.49.30 (version=SSLv3 cipher=RC4-MD5); Mon, 23 Nov 2009 20:49:32 -0800 (PST) Reply-To: From: "C N Davies" To: References: <1259037710211-4055835.post@n2.nabble.com> In-Reply-To: <1259037710211-4055835.post@n2.nabble.com> Subject: RE: Schema wont create Date: Tue, 24 Nov 2009 15:49:26 +1100 Organization: C N Davies Pty Ltd Message-ID: <009c01ca6cc1$82e7d5c0$88b78140$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcpswICRNqkRahBARJKchl34VGZ3dgAAMMUA Content-Language: en-au X-Virus-Checked: Checked by ClamAV on apache.org Did you add the type to your persistence.xml? Also you need to set the property: Hth Chris -----Original Message----- From: Thomas Polliard [mailto:thomas@polliard.com] Sent: Tuesday, 24 November 2009 3:42 PM To: users@openjpa.apache.org Subject: Re: Schema wont create The files do have persisted fields: @Entity public class Article { @Id @GeneratedValue(strategy=GenerationType.AUTO) private int id = -1; @ManyToOne(cascade=CascadeType.ALL) private Author author = null; @Basic private String title = null; @Basic private String content = null; @ManyToMany(cascade=CascadeType.ALL) private List tags = new ArrayList(); ..... -- View this message in context: http://n2.nabble.com/Schema-wont-create-tp4055690p4055835.html Sent from the OpenJPA Users mailing list archive at Nabble.com.