@Zoey - c3p0 is outdated and there are much better and cleaner solutions out there.
@UnAfraid - I wouldn't be so sure about that. The added complexity wouldn't be worth it IMHO. I know you like complexity for some reason, but not everybody does.

If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!Discussion breeds innovation.

jurchiks wrote:@Zoey - c3p0 is outdated and there are much better and cleaner solutions out there.
@UnAfraid - I wouldn't be so sure about that. The added complexity wouldn't be worth it IMHO. I know you like complexity for some reason, but not everybody does.

Okari showed an implementation for JPA and Hibernate. It resulted in massive amounts of classes...

If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!Discussion breeds innovation.

Nevertheless, changing the dbcp doesn't require rewriting everything to do with the database.

If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!Discussion breeds innovation.

If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!Discussion breeds innovation.

Do you have performance issues with c3p0?
Weird i had over 3k players with c3p0 and i didn't had issues.
Neither nBd he had 9k (almost) with c3p0 and it was working pretty good are there nowdays such servers?

So you're of those types who believe in "good enough"? Even if it can be much better?

If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!Discussion breeds innovation.

If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!Discussion breeds innovation.

If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!Discussion breeds innovation.