Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
    Bookmark Topic Watch Topic
  • 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 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

    Something about .... going for a swim. With this tiny ad ...
    Rocket Oven Kickstarter - from the trailboss
      Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!