Hello I use c3p0 through the Hibernate 2.1.6 release
and I find it quite efficient. thanks for your work on it.
There is something that is still annoying me.
In PoolBackedDataSource.java the following code shows
if (Debug.DEBUG && Debug.TRACE > Debug.TRACE_NONE)
System.err.println("Initializing c3p0 pool... " +
But logs doesn't seems to work "log4j like" and I don't
know how to modify the properties Debug.DEBUG
at runtime to have it activated or not.
(I know there is a way at build time)
Even if it is in stderr.log, once debug is activated to
track an error, anyone can see the username and
password which can be considered as a problem in the
At least the password shouldn't be shown if it is not
could you implement for the future a "toSecureString()"
method in PoolBackedDataSource.java that doesn't show
the password at this place?
Log in to post a comment.