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 ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Bear Bibeault
  • Liutauras Vilda
  • Devaka Cooray
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris
  • 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.

  • jTDS
  • Microsoft SQLServer 2000, SQLServer 2005 and SQLServer 2008
  • Microsoft SQLServer 2000 (reportedly buggy, and now obsolete)


  • 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 http://java-source.net/open-source/database-engines. 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 this thread for some pros and cons.

    Q: Which Oracle driver should I use?

    See the OTN article here


    JdbcFaq
     
    We find this kind of rampant individuality very disturbing. But not this tiny ad:
    Java file APIs (DOC, XLS, PDF, and many more)
    https://products.aspose.com/total/java
      Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!