How to Split Tables

From: Weddle, Anthony (Anthony.Weddl..luescopesteel.com)
Date: Mon Apr 13 2009 - 19:20:31 EDT

  • Next message: Weddle, Anthony: "Validation"

    We have two systems that have very similar database schemas. They are
    not completely identical, however. To deal with this, currently, with
    Hibernate, we have a set of common definitions (and classes), and a
    separate set of definitions (and classes) for each specific system.
    Hibernate can be configured with two configurations, each adding to the
    other, for each system (the common configuration and the system specific
    configuration). The common classes are in the classpath for each system.
    Classes are generated with Middlegen (a separate generation has to be
    done for each system, with the common classes coming from the classes
    generated for one of the systems (always the same one).

    Can this kind of set up be handled in Cayenne? It looks like multiple
    data maps could be used for a single data node but can one data map be
    used in multiple nodes, multiple domains or multiple projects? Can one
    have relationships between entities in different maps?

    Tony



    This archive was generated by hypermail 2.0.0 : Mon Apr 13 2009 - 19:20:40 EDT