Re: The right tool for integration to existing DB

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue Apr 26 2005 - 14:36:02 EDT

  • Next message: Dhruti Ramani: "Re: Comparing two Dates in cayenne"

    > About switching DB, my idea was more of keeping the same object model
    > for any new DB schema (& technology too). For example, a generic
    > import-export class in your application that you need to map to
    > different customer's specific data table (also using different DB
    > engines - ok, covered with the DB Adapter). In the end you want to keep
    > the same import-export class interface but only adapt the mapping
    > between your class and the different customers DB schemas.

    I got it. Sure you can do it with Cayenne as mapping is completely
    external to both Java and DB layers. In other words you can map a
    "User.firstName" object property to "USER.FIRST_NAME" column in one DB and
    to "login.fname" column in another.

    Andrus



    This archive was generated by hypermail 2.0.0 : Tue Apr 26 2005 - 14:36:03 EDT