• MySQL Connector/J is a JDBC Type 4 driver, which means that it is pure Java implementation of the MySQL protocol and does not rely on the MySQL...
  • In this playlist, you will learn how to develop Java JDBC applications that connect to a MySQL database.
  • This is a complete, up-to-date JDBC tutorial for beginners and professionals. In this tutorial, we will learn the latest features added to the JDBC 4+ release.
  • You can use this guide to learn the basics of JDBC: How to connect to any database and execute SQL queries.
    • The Type 1 JDBC driver is simply a JDBC-ODBC bridge.
    • The Type 2 JDBC driver is written in a language other than Java, often C++ or C.
    • The Type 3 JDBC driver talks to a middleware server first, not the database directly.
  • A JDBC Specification is a document, it contains information needed for programmers and vendors to implement the JDBC drivers.
  • MySQL Connector/J is the official JDBC driver for MySQL.
  • Class.forName("oracle.jdbc.driver.OracleDriver"); String connectionURL = "jdbc:oracle:thin:@" + hostName + ":1521:" + sid
  • It provides a natural Java interface for SQL work. To provide a “pure Java” option for application development, JDBC is required.
  • As a Java developer you'll often need to connect to a database. Use this collection of tutorials and resources to learn about ORMs, SQL, and JDBC in Java.