commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikhail Krivoshein <>
Subject [DbUtils] What's about protected QueryRunner.prepareConnection()?
Date Wed, 16 Jun 2004 08:30:15 GMT
Hello all,

Currently QueryRunner has prepareStatement() method that is used to 
create a new statements.
I think there is sense to go further and create prepareConnection() 
method that will be used to create a new connections (and tune them).

Idea behind this is to provide protected method that can't be used in 
derived QueryRunners to tune connection
establishing code.

I presonally want to override such prepareConnection() method in 
MyQueryRunner and make
call there.

Looking forward to hear comments.
If you decide that this is a good idea, I'm ready to prepare a patch.

Best regards,
Mikhail Krivoshein

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message