This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes JDBC and the fly likes MySQL JDBC Connection Pools Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "MySQL JDBC Connection Pools" Watch "MySQL JDBC Connection Pools" New topic
Author

MySQL JDBC Connection Pools

Billy Hause
Greenhorn

Joined: Jan 16, 2002
Posts: 25
Does anyone have a simple example showing how to use MysqlConnectionPoolDataSource to get a pooled connection to a MySQL database?
Thanks,
-Billy
Robert Paris
Ranch Hand

Joined: Jul 28, 2002
Posts: 585
I second this request. In the meantime, I'm gonna look around and see if I can find it. If I do, I'll test it and assuming it works, post it here.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: MySQL JDBC Connection Pools
 
Similar Threads
Problem connecting Jdeveloper to MySQL
Connection pooling
Connection Pooling
MySql connectivity problem?
id of the new field in my table