Re: How to migrate from Hibernate to Cayenne?

From: Borut Bolčina (borut.bolcin..mail.com)
Date: Thu Feb 21 2008 - 09:49:27 EST

  • Next message: Demetrios Kyriakis: "Migrate from Hibernate3 to Cayenne :) ?"

    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 <sanderso..irvana.com>:
    >
    > 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:tbernhar..ahoo.com]
    > Sent: Wednesday, February 20, 2008 2:09 PM
    > To: use..ayenne.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.
    >
    >



    This archive was generated by hypermail 2.0.0 : Thu Feb 21 2008 - 09:50:00 EST