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




NOTICE - This message and any attached files may contain information that is 
confidential, legally privileged or proprietary.  It is intended only for use 
by the intended recipient. If you are not the intended recipient or the person 
responsible for delivering the message to the intended recipient, be advised 
that you have received this message in error. Any dissemination, copying, use 
or re-transmission of this message or attachment, or the disclosure of any 
information therein, is strictly forbidden. BlueScope Steel Limited does not 
represent or guarantee that this message or attachment is free of errors, virus 
or interference. 
   
If you have received this message in error please notify the sender immediately 
and delete the message.  Any views expressed in this email are not necessarily 
the views of BlueScope Steel Limited.

Reply via email to