Magn�s ��r Torfason wrote:
>
> >
> > I need to simultaneously access multiple DBs (several
> > Oracle instances, several SQL Server instances and a
> > mySql DB for fun). I'm pretty sure Turbine has provisions
> > to do this, but I was wondering if anybody who has
> > done this before could give me a quick run down (or
> > pointers to official docs) of:
> >
> > 1. Changes to TR.props.
>
> Last time I looked this was not possible from within TR.props.
> See (3) for further directions.
It used to be possible. You should be able to define any number of
databases in TR.props. When did this change???
>
> > 3. What impact (if any) this has on the DB pool (broker?
> > whatever it is called these days).
>
> You must call the registerPool(...) function in PoolBrokerService:
>
> PoolBrokerService.getInstance()
> .registerPool(
> "mysecondpool",
> "com.my.jdbc.Driver",
> "jdbc:localhost/mydb",
> "user",
> "passwd")
>
This should be handled automatically for any additional db's specified
in TR.props.
But things have changed quite a bit. Daniel would probably know better
if this functionality was removed.
John McNally
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]