longzenvo / log4jdbc

Automatically exported from code.google.com/p/log4jdbc
0 stars 0 forks source link

Make RdbmsSpecifics public or provide a public interface #71

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It would be so nice if we could extend <RdbmsSpecifics> and provide it when 
using "new ConnectionSpy(connection)", such as :

new ConnectionSpy(connection, new MyCustomRdbmsSpecifics(""));

public class MyCustomRdbmsSpecifics extends RdbmsSpecifics {
   protected String formatParameterObject(Object object) {
       // format date using my french formatter !!!!!!
       // which is "dd/MM/yyyy HH:mm:ss.SSS" and not "MM/dd/yyyy HH:mm:ss.SSS" !!!!!!
   }
}

Why you didn't make <RdbmsSpecifics> overridable for God's sake ?!

Thanks.
Saad Benbouzid

Original issue reported on code.google.com by Makaveli...@gmail.com on 28 Jan 2015 at 11:11

GoogleCodeExporter commented 9 years ago
It has been the intent for some time, but what can I say? I've been super busy 
with other projects. I think log4jdbc has mostly reached the end of it's useful 
life-- if I were to focus a lot of time and energy on it, I'd put it towards 
https://github.com/arthurblake/jpad instead - it's the next generation of 
log4jdbc - much faster and more efficient and better architected. At this time 
though it's only experimental. Feel free to fork log4jdbc at will.

Original comment by arthur.b...@gmail.com on 28 Jan 2015 at 12:14