I haven't worked with multiple dbs before, but assuming you correctly
have the two data sources setup in TurbineResources.properties, I
guess/think you do:

Om.save("db1");
Om.save("db2");

Where db1/db2 are what you setup the two data sources in
TurbineResources.properties with.

- Stephen

> -----Original Message-----
> From: Sven Homburg [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, August 25, 2002 6:17 AM
> To: Turbine Torque Users List
> Subject: Re: torque-3.b3 , can't make it speak to a non default
database
> 
> same problem here
> 
> SZ> my standalone test torque appli  (and a  webbapp)  doesn't hook to
my
> SZ> second  db  ( I use two different dbs for a webapp)
> SZ> the country table exists in the second non-default database
> SZ> the MapBuilder classes generated for 2 dbs by ant projet-om  exist
and
> SZ> pont to the correct databases.
> SZ> Torque hooks correctly to the first (default) database.
> SZ> I guess i am missing something in the Torque.properties ..
> 
> 
> 
> 
> Best regards
> homburg Softwaretechnik
> Sven Homburg
> D-21220 Seevetal
> 
> http://www.hsofttec.com
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:turbine-torque-user-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:turbine-torque-user-
> [EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to