RE: How to select an other datasource then the default one?

2000-10-12 Thread Goel, Deepak
/docs/orion-ejb-jar.xml.html --Deepak -Original Message- From: Frank Eggink [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 12, 2000 12:28 AM To: Orion-Interest Subject: RE: How to select an other datasource then the default one? Ralph and others, My datasources.xml looks like: http

RE: How to select an other datasource then the default one?

2000-10-12 Thread Frank Eggink
Ralph and others, My datasources.xml looks like: http://www.orionserver.com/dtds/data-sources.dtd"> Guess there is not much wrong in that. The trouble I have is making the application point to the right datasource. Using CMP I would expect you can add some option somewhe

Re: How to select an other datasource then the default one?

2000-10-11 Thread Ralph Crawford
Here's an example of a data-sources.xml file with two different datasources... Obviously, in this case, I've got both the Oracle and Postgres drivers in my orion/lib directory. Then when you want to get a pooled connection, you'd use... connection = ((javax.sql.DataSource