AW: Adding a second data source.

Bernd Längerich <[email protected]> Thu, 2 Apr 2009 17:03:08 +0200
Newsgroups gmane.comp.jakarta.ojb.user
Message-ID <[email protected]>
Hi,

You can leave your existing connection as default and add a second (named) =
connection. You have to specify where to use the second connection by using=
 an appropriate method (i.e. for the PB-API PersistenceBrokerFactory.create=
PersistenceBroker(new PBKey(jcdalias)) vs. PersistenceBrokerFactory.default=
PersistenceBroker()).

Best regards=20
Bernd

-----Urspr=FCngliche Nachricht-----
Von: henrydav [mailto:[email protected]]=20
Gesendet: Donnerstag, 2. April 2009 16:38
An: [email protected]
Betreff: Adding a second data source.


I'm currently working with a project that uses a single data source, using
default-connection=3Dtrue in the jdbc-connection-descriptor. I now need to =
add
a second data source, but can I leave the first data source as a
default-connection, or do I need to change it and configure the connection
programmatically? I'm fairly new to this and I've been reading OJB
documentation the past couple of days, but I apologize if I'm leaving out
requisite information.
--=20
View this message in context: http://www.nabble.com/Adding-a-second-data-so=
urce.-tp22849428p22849428.html
Sent from the Apache DB - ObjectRelationalBridge Users mailing list archive=
 at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]