alanww35
Joined: 2008/04/18
Messages: 1
Offline
|
|
|
|
This relates to the PersistenceManager and the Sessions.
So have the orm code all going on one db. But would like to run same api generated against 2 db's (say one mysql and the other oracle, or say a HSQLDB and Mysql) at the same time (can generate code for rdbms 1 and then mapping files for rdbms 2 fine). This is for one program that connects to 2 db's (say oracle and ms sql), where both "connections" are against the same model/api. The orm can generate the hibernate config files, so I would assume it would be a matter of telling PersistenceManager which file to use when request a PersistentSession. BUT, as there is no API doc (Is there any org.orm api doc ? that would really help), how do you create 2 persistent sessions and pointing at 2 different rdbms's (for the same API).
|
|
|
|