Return-Path: Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: (qmail 91180 invoked from network); 21 Feb 2008 14:49:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Feb 2008 14:49:59 -0000 Received: (qmail 70849 invoked by uid 500); 21 Feb 2008 14:49:53 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 70839 invoked by uid 500); 21 Feb 2008 14:49:53 -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 70829 invoked by uid 99); 21 Feb 2008 14:49:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2008 06:49:53 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of borut.bolcina@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; Thu, 21 Feb 2008 14:49:19 +0000 Received: by py-out-1112.google.com with SMTP id f31so58211pyh.17 for ; Thu, 21 Feb 2008 06:49:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=XzUYUYpB7XzaEpVUEgk0LF0LwAWjvo1lzPStZFWV0QE=; b=LxS8boWsVo3YSRj8OQ4XdZV0N6ZQbB2xTjBYqxLc4piMwlqns1qTNd8c026wKpywXi35jNF7hs7LoMDTo0/VROttVFacVjgEyw/8E5mmB7SVgBXtlRzbOYlYyKz6l6USdWNRs5E0jD/mtrFjr9r9NkxKSipWWUWHiiAbTP9BgPk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=HhIXikkqmC1q3DYFTDEkolYxAL5T4ppccxcifcrinzbusRle18FEARaQg1Hl/2NmyFhMMUQMDviw5smx3hUXwP1uZibATo5AsQtr+LIHx8R/M8f0NLlsGgGEHhGddb/0il/Umc8U4Zix8zWSo33G9BaOnRXOM9FpthtihkQJmJM= Received: by 10.64.193.2 with SMTP id q2mr19574836qbf.91.1203605367754; Thu, 21 Feb 2008 06:49:27 -0800 (PST) Received: by 10.65.228.4 with HTTP; Thu, 21 Feb 2008 06:49:27 -0800 (PST) Message-ID: Date: Thu, 21 Feb 2008 15:49:27 +0100 From: "=?UTF-8?Q?Borut_Bol=C4=8Dina?=" To: user@cayenne.apache.org Subject: Re: How to migrate from Hibernate to Cayenne? In-Reply-To: <8F798BFDA851B943B3A1B2510E928785074E3089@airmail.wirelessworld.airvananet.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2205_14094388.1203605367730" References: <15596160.post@talk.nabble.com> <8F798BFDA851B943B3A1B2510E928785074E3089@airmail.wirelessworld.airvananet.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_2205_14094388.1203605367730 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, since when can modeler generate POJOs? AFAIK those generated classes extend CayenneDataObject which in turn implements three interfaces, therefore making it a complex object model. Did I miss something lately? -Borut 2008/2/20, Scott Anderson : > > Tom, > > Take a look at the Cayenne Modeler; there is a feature to "Reengineer > Database Schema" on the tools menu. You may be unable to do this with > standard user-level permissions, depending on your database type and > configuration. Then you'll be able to generate the POJOs which should > resemble quite closely your hibernate POJOs. > > Regards, > > Scott > > > -----Original Message----- > From: Thomas Bernhard [mailto:tbernhard@yahoo.com] > Sent: Wednesday, February 20, 2008 2:09 PM > To: user@cayenne.apache.org > Subject: How to migrate from Hibernate to Cayenne? > > > Hi, > > Is there a migration guide from Hibernate(especially 2.x.x) to Cayenne > (whatever version)? > > Or even better, is there maybe some tool that helps this even further? > (when moving from Velocity to Freemarker there's a tool to automate > this, and even other frameworks have "migration" tools to help uses move > from the concurrence :) ) > > Thank you, > > Tom. > -- > View this message in context: > http://www.nabble.com/How-to-migrate-from-Hibernate-to-Cayenne--tp155961 > 60p15596160.html > Sent from the Cayenne - User mailing list archive at Nabble.com. > > ------=_Part_2205_14094388.1203605367730--