db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Monroe" <Greg.Mon...@DukeCE.com>
Subject RE: Getting a DataSource
Date Wed, 27 Sep 2006 14:19:50 GMT
I think you can do this via:

Torque.getInstance().getDataSourceFactory(DBName).
     					getDataSource()


> -----Original Message-----
> From: Trevor Miller [mailto:ub3rg0th@gmail.com] 
> Sent: Wednesday, September 27, 2006 3:20 AM
> To: Apache Torque Developers List
> Subject: Getting a DataSource
> 
> Hi All,
> 
> I'm using Torque 3.2 and was wondering if there is a way to 
> get Torque to return a DataSource instance, this will be 
> useful for creating a DatabaseConfiguration from 
> commons-configuration.
> 
> Kind Rgeards,
> Trevor
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-dev-help@db.apache.org
> 
> 

Duke CE Privacy Statement
Please be advised that this e-mail and any files transmitted with it are confidential communication
or may otherwise be privileged or confidential and are intended solely for the individual
or entity to whom they are addressed.  If you are not the intended recipient you may not rely
on the contents of this email or any attachments, and we ask that you  please not read, copy
or retransmit this communication, but reply to the sender and destroy the email, its contents,
and all copies thereof immediately.  Any unauthorized dissemination, distribution or copying
of this communication is strictly prohibited.



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message