[OS-JIRA] Created: (CAY-354) Hibernate migration guide

From: jira-norepl..bjectstyle.org
Date: Fri Aug 26 2005 - 15:08:35 EDT

  • Next message: jira-norepl..bjectstyle.org: "[OS-JIRA] Created: (CAY-355) "validateForX" is called inconsistently"

    Message:

      A new issue has been created in JIRA.

    ---------------------------------------------------------------------
    View the issue:

      http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-354

    Here is an overview of the issue:
    ---------------------------------------------------------------------
            Key: CAY-354
        Summary: Hibernate migration guide
           Type: New Feature

         Status: Assigned
       Priority: Minor

        Project: Cayenne
     Components:
                 Cayenne Documentation
       Versions:
                 1.1

       Assignee: Andrus Adamchik
       Reporter: Gili Tzabari

        Created: Fri, 26 Aug 2005 3:08 PM
        Updated: Fri, 26 Aug 2005 3:08 PM

    Description:
    I'm going to use this issue to summarize my experiences migrating from Hibernate to Cayenne so we can build a migration guide for other Hibernate users.

    So far I've learnt...

    Hibernate Transaction = Cayenne DataContext

    Hibernate Session = Cayenne ObjectStore + DataNode

    Cayenne doesn't support pluggable cache providers like Hibernate. Cayenne's cache is fully contained by ObjectStore.

    ObjEntity is like a Java Class and DataObject was like a Java Object (this wasn't clear to me from the current documentation by the way).

    Also, it would be nice if the documentation included these defintions (currently this isn't clear):

    DbEntity contains the database schema of a table
    \-> Example: EXTERNAL_CUSTOMER.FNAME = varchar(20)

    ObjEntity maps Java fields to DbEntity columns
    \-> Example: ExternalCustomer.firstName maps to EXTERNAL_CUSTOMER.FNAME

    DataObject contains the data for a single row
    \-> Example: anExternalCustomer.getLastName() returns "jones"

    ---------------------------------------------------------------------
    JIRA INFORMATION:
    This message is automatically generated by JIRA.

    If you think it was sent incorrectly contact one of the administrators:
       http://objectstyle.org/jira/secure/Administrators.jspa

    If you want more information on JIRA, or have a bug to report see:
       http://www.atlassian.com/software/jira



    This archive was generated by hypermail 2.0.0 : Fri Aug 26 2005 - 15:08:35 EDT