Return-Path: Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: (qmail 48558 invoked from network); 9 Apr 2011 05:21:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Apr 2011 05:21:19 -0000 Received: (qmail 83047 invoked by uid 500); 9 Apr 2011 05:21:19 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 83030 invoked by uid 500); 9 Apr 2011 05:21:19 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 83003 invoked by uid 99); 9 Apr 2011 05:21:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Apr 2011 05:21:15 +0000 X-ASF-Spam-Status: No, hits=2.1 required=5.0 tests=FREEMAIL_FROM,FROM_STARTS_WITH_NUMS,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of 2409.krish@gmail.com designates 74.125.82.171 as permitted sender) Received: from [74.125.82.171] (HELO mail-wy0-f171.google.com) (74.125.82.171) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Apr 2011 05:21:09 +0000 Received: by wyb32 with SMTP id 32so5159471wyb.16 for ; Fri, 08 Apr 2011 22:20:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=kPwrmBFv1kfufYLle+EAqAq9ZXiqtB0q7ThcR5XYO78=; b=HhvPoCbuymuO+O2PCj2kUH19qeIRcIUwUVNbc9EQRerKBmY2fJRcA75wMxnRaorh35 UXBGE5iXoNopWWCgHqDR5eIK0r+a+EmJu94zn9Y0jzxk/M+YN6sJzQDslOEzCVq/M9px /N3sbjBsVn6dn15BuleiMC4QKvrqlLxPG3/34= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=lOQMjA+2fF7KeaADTNnEOlrXTWl1rvh+NBLbG0GAZiEVbzJKoemBwDPr5MtryQKjPB Q0ZmF2lNg03r5h8q2DZkXgJRVluuIqqEXfUPqLwC+p+dIHNXTyBhleEdpax2MwXtXKCx YZhLZFVfF6Dn2cYqpniB8bYK4CGuWAJThNoxE= Received: by 10.227.63.18 with SMTP id z18mr2931864wbh.167.1302326447966; Fri, 08 Apr 2011 22:20:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.138.141 with HTTP; Fri, 8 Apr 2011 22:20:27 -0700 (PDT) In-Reply-To: References: <4D9FA3EC.9020709@maniatis.org> From: sri krishna prasad <2409.krish@gmail.com> Date: Sat, 9 Apr 2011 10:50:27 +0530 Message-ID: Subject: Re: help needed in reverse engineering(schema to tables) To: user@cayenne.apache.org Content-Type: multipart/alternative; boundary=20cf30025946500d2904a075810b --20cf30025946500d2904a075810b Content-Type: text/plain; charset=ISO-8859-1 In reply to Steve Springett, i want to create tables from classes(like Artist.java to Artist table). so is there any documentation given for CM 3.0+ version On Sat, Apr 9, 2011 at 5:55 AM, Steve Springett wrote: > Cayenne 3.0 can optionally create the schema defined in the map by adding > the following attribute to the node element in cayenne.xml > > > schema-update-strategy="org.apache.cayenne.access.dbsync.CreateIfNoSchemaStrategy" > > --Steve > > > > On Fri, Apr 8, 2011 at 5:10 PM, Aristedes Maniatis > wrote: > > > On 9/04/11 9:51 AM, sri krishna prasad wrote: > > > >> > >> hi friends, good morning, > >> > >> Can we create tables from the classes in cayenne moduler(3.0+) as this > is > >> one of the feature of cayenne? > >> > >> i tryed in both CM versions(2.0+,3.0.1) but it is showing alert box > error" > >> driver load error" although i gave correct driver name and url path. > >> > >> i have attached the image of the error. > >> > > > > > > I am moving this to the user list because it belongs there and not on the > > Cayenne dev list. Please drop dev@ from any replies. > > > > Your image didn't come through to this list, however what you are doing > is > > basically correct. Perhaps you just need to review your db driver jar > file > > to make sure it is correct. Also, some of the database URIs are quite > > confusing at first. This may help: > > > > http://cayenne.apache.org/doc30/database-support.html > > > > > > Ari > > > > > > > > -- > > --------------------------> > > Aristedes Maniatis > > GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A > > > -- your's .... D.SriKrishnaPrasad 08143231985 09494540886 "Work hard for excellence " --20cf30025946500d2904a075810b--