You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by tu...@madeye.com on 2003/01/14 18:54:40 UTC

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:matt@madeye.com),
Madeye Software Ltd. (http://company.madeye.com)

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>