log4jdbc
log4jdbc copied to clipboard
Make RdbmsSpecifics public or provide a public interface
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 [email protected]
on 28 Jan 2015 at 11:11
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 [email protected]
on 28 Jan 2015 at 12:14
- Added labels: ****
- Removed labels: ****