April 2018
Intermediate to advanced
202 pages
4h 48m
English
Connecting to an RDBMS from a Java application is done through a JDBC driver. Most (if not all) database vendors include JDBC drivers for their RDBMS. A JDBC driver, in practice, is just a Java dependency (a JAR) in your project. If, for example, you need to connect your application to a PostgreSQL database, you will need to add the postgresql-x.x.x.jar file to your classpath. This, of course, can also be done with Maven. It's through this JDBC driver that your Java application communicates with the RDBMS, and it does so by establishing connections and executing SQL statements to retrieve data.
Read now
Unlock full access