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
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Himai Minh
  • Carey Brown
  • salvin francis
  • 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 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 https://arxiv.org/ftp/cs/papers/0701/0701168.pdf for resarch on this.

    Q: Which Oracle driver should I use?

    See the OTN article here


    JdbcFaq
     
    I am Arthur, King of the Britons. And this is a tiny ad:
    Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
      Bookmark Topic Watch Topic
    • New Topic