[prev in list] [next in list] [prev in thread] [next in thread] 

List:       turbine-torque-user
Subject:    RE: torque-3.b3 , can't make it speak to a non default database
From:       "Stephen Haberman" <stephenh () chase3000 ! com>
Date:       2002-08-25 18:03:31
[Download RAW message or body]

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:Sven.Homburg@hsofttec.com]
> 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-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:turbine-torque-user-
> help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:turbine-torque-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-torque-user-help@jakarta.apache.org>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic