If you are using T2.2/Torque 3, look at the org.apache.torque.Torque class.
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 14, 2003 11:55 AM > To: [EMAIL PROTECTED] > Subject: Running Ad-Hoc Queries > > > I am using turbine-2. I am trying to build lists of ids for > cacheing the > results of object retrieval queries. Ideally, I would like to > run this directly > as a JDBC query for performance reasons. In order to do > this, I need a > java.sql.Connection. I have scoured the docs and javadocs > for some means to do > get one, to no avail. I realise this is probably a no > brainer, but could > someone point me at the means to retrieving a connection to > the database where > the turbine schema lives? > > Alternatively, is there a way to specify Criteria such that > only lightweight > results are returned? > > Many thanks, > Matt. > > Matt Innes (mailto:[EMAIL PROTECTED]), > Madeye Software Ltd. (http://company.madeye.com) > > -- > To unsubscribe, e-mail: > <mailto:turbine-user-> [EMAIL PROTECTED]> > For > additional commands, > e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
