When you are using JDBC outside of an application server, theĭriverManager class manages the establishment of Connections. The following online tutorials that are more in-depth than theġ.1.1. Connecting to MySQL using the DriverManager Interface Need more information about using JDBC you might be interested in This section is not designed to be a complete JDBC tutorial. Lifting that is sometimes required with JDBC. Maps to do the majority of repetitive work and heavier Trivial problems and consider using one of the popular persistence Manual, that you would avoid using 'naked' JDBC for all but the most While JDBC is useful by itself, we would hope that if you are notįamiliar with JDBC that after reading the first few sections of this If you areĪlready experienced with using JDBC, you might consider starting
This document is arranged for a beginning JDBC developer. Is pure Java, implements version 3.0 of the JDBC specification, andĬommunicates directly with the MySQL server using the MySQL MySQL Connector/J is a JDBC-3.0 'Type 4' driver, which means that is Java programming language via a JDBC driver, which is called MySQL MySQL provides connectivity for client applications developed in the Using Connector/J with J2EE and Other Java Frameworks 1.5.