Bookmark Topic Watch 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • salvin francis
  • Stephan van Hulst
  • Frits Walraven
  • Carey Brown
  • Jj Roberts
  • Mark post as helpful
  • send pies
  • Report post to moderator
Q. What is JDBC?

A. JDBC is Java Database Connectivity. It allows you to have a single API for connecting to, manipulating, and retrieving information from a multitude of Databases like PostgreSQL, MySQL, Oracle, DB2, etc. JDBC home page

Please note that for arcane marketing reasons JDBC is officially NOT an acronym.

Q. Where do I start learning about JDBC?

A. The most obvious and best place to start is the Java JDBC Tutorial. Another (extensive) JDBC tutorial can be found here. See the JDBC forum when you have questions reading.

Q. What databases does JDBC support?

A. Most all Database Vendors will have a JDBC Driver for their Database. Oracle provides a list of companies that have JDBC compatible products.

Q. What are the differences between the 4 types of drivers?

For a comparison of the differences between types of drivers see JDBCDriverTypeComparison

The "official" description of the 4 Driver types may be found here.

Q: Which free drivers are available for Microsoft SQLServer?

This thread discusses differences between the various options.

  • Microsoft SQLServer 2000, SQLServer 2005 and SQLServer 2008

  • Q: Which drivers are available for Microsoft Access?
  • UCanAccess (free)
  • HXTT (commercial)
  • easysoft (commercial)

  • Up until Java 7 it was possible to use ODBC in Java to connect to Access, but since Java 8 the driver has been removed from the JRE.

    Q: Which Java databases are available?

    There's a good list at Derby and HSQLDB are the most commonly used ones.

    Q: What are the differences between the various versions of JDBC?

  • What's new in JDBC 3.0 (Java 1.4)
  • What's new in JDBC 4.0 (Note that the DataSet class is not part of JDBC 4.)
  • JDBC 4.0 Enhancements in Java SE 6 (Note that the DataSet class is not part of JDBC 4.)
  • JDBC 4.1 was added in Java 7

  • Q: Should I store my image on the database or in a file?

    See for resarch on this.

    Q: Which Oracle driver should I use?

    See the OTN article here

    We can fix it! We just need some baling wire, some WD-40, a bit of duct tape and this tiny ad:
    Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
      Bookmark Topic Watch Topic
    • New Topic