• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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. . .
 
reply
    Bookmark Topic Watch Topic
  • New Topic