When the schema in the database is not yet created then it is not possible to use the pool when a preferredTestQuery is defined. This will result in a StackOverflowError because of an other bug in c3p0.
I know you might think automatic schema creation might be not a good idea. But Hibernate for instance is quite good in this and I use it.
Log in to post a comment.