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.createPersistenceBroker(new PBKey(jcdalias)) vs. PersistenceBrokerFactory.defaultPersistenceBroker()).
Best regards Bernd -----Ursprüngliche Nachricht----- Von: henrydav [mailto:[email protected]] 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=true 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. -- View this message in context: http://www.nabble.com/Adding-a-second-data-source.-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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
