• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC3.0 DataSource supported in mySQL and Connector/J?

 
Tina Coleman
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm interested in using the support for connection pooling available in JDBC3.0. Looking through the information available at www.mysql.com, I've been unable to determine whether the Connector/J JDBC driver supports the DataSource interface, and more specifically, the ConnectionPoolDataSource interface.
If anyone can verify that it does, indeed, support that interface, please also tell me how to set up my system to be able to access it through JNDI. (Haven't done anything with JNDI yet. . . I'm using Tomcat as our servlet container and don't know if it supports JNDI.)
 
Tina Coleman
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Found my own answer, with help from a thread in the Servlet forum. Tomcat's documentation shows how to do exactly what I was looking for. See Tomcat's documentation - Database Connection Pool Configurations. They spec directions for using Apache's DBCP, which I wasn't aware of at the time of writing my request.
Sheesh. . . the things you find when you look in the right place. . .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic