Lesson 18. Accessing Databases with JDBC and Derby
Almost all Java programs deal with data in some way. So far you have used primitive types, objects, arrays, hash maps, and other data structures.
During this lesson, you’ll work with data in a more sophisticated way, exploring Java Database Connectivity (JDBC), a set of classes that connects Java programs to relational databases.
Java includes Java DB, a compact relational database that makes it easy to incorporate a database into your applications. Java DB is Oracle’s name for Apache Derby, an open source database maintained by the Apache Software Foundation.
In this lesson you will explore JDBC in the following ways:
Using JDBC drivers to work with different relational databases
Accessing ...
Get Sams Teach Yourself Java in 21 Days (Covers Java 11/12), 8th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.