db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Age Mooy" <am...@home.nl>
Subject RE: access multiple data sources from single app using torque?
Date Fri, 21 Mar 2003 21:40:21 GMT

See the attached Torque.properties file. It has two datasources
configured, both with a datasource factory, an adapter, a pool, and a
connection. In your schema you can use the database name attribute to
specify to which datasource that database belongs.

I have one schema for my security database, and a couple of other
schemas that use the default database.


> -----Original Message-----
> From: Jon King [mailto:jon@minaret.com] 
> Sent: Friday, March 21, 2003 19:57
> To: torque-user@db.apache.org
> Subject: access multiple data sources from single app using torque?
> I'm like to be able to generate 2 separate object models 
> (from two different relation data sources) and then access 
> both object models from a single application.  Is this 
> possible with torque?  At first blush, it seems that multiple 
> data sources can't be configured in Torque.properties.  Thanks.
> Jon King
> jon@minaret.com
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org

  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message