Jon Stevens wrote:

> You are missing the ability to get the age of a java.sql.Connection. That is
> important for a pool given that we want to be able to expire Connections
> based on age and is the primary reason for the DBConnection class.

        I don't see how implementing the interface would change that... I'm not 
saying to use the java.sql.Connection interface throughout Turbine, that 
surely would break the pool system, I was thinking about a class lib 
made by someone else who was not developing it for use with Turbine.

        Anyway, the getConnection() method does just what I was thinking about 
(although I don't like the idea of giving the real connection to the 
classes, a misplaced close() there would not be a good thing), so, 
that's ok.

-- 
[]'s
Marcelo Vanzin
Touch Tecnologia
[EMAIL PROTECTED]
"We're an underground revolution working overtime"



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to