I found myself needing to change the default isolation level for transactions. After a few hours of experimenting, I finally was left with only one acceptable solution - to provide a ConnectionCustomizerClassName to the c3p0 pool. The parameter should contain the name of a class which implements the ConnectionCustomizer interface.
I found myself needing to change the default isolation level for transactions. After a few hours of experimenting, I finally was left with only one acceptable solution - to provide a
ConnectionCustomizerClassName
to the c3p0 pool. The parameter should contain the name of a class which implements theConnectionCustomizer
interface.As an example - here`s the class I use