liveBook · Manning

Database driver

As explained in Quarkus in Action

The MySQL JDBC driver is a Java database-connectivity implementation that enables applications to connect to MySQL and execute database operations.

A JDBC database driver connects a Quarkus application’s ORM layer to its chosen relational database. Hibernate Panache requires both its ORM extension and a database-specific driver, such as quarkus-jdbc-postgresql or quarkus-jdbc-mysql. section 7.1.2

Configure the driver as part of the application’s database setup:

  • Use the same driver-based setup with traditional Hibernate ORM/JPA and inject EntityManager when required. section 7.3

How Quarkus in Action covers it

How deep it goes
Explains extension selection and connection configuration, but stops short of driver internals or JDBC API details.
Examples
Uses quarkus-jdbc-postgresql commands, Maven dependencies, PostgreSQL connection properties, and an EntityManager persistence example.
What it assumes
Assumes a Quarkus application and database choice, while introducing the required extensions and connection properties.
What you can do after
Operate/configure a Quarkus application with the database-specific driver required by Panache or Hibernate ORM/JPA.
How it connects
Connects database drivers with Quarkus extensions, Hibernate Panache, Hibernate ORM, JPA, EntityManager, and Dev Services.

Also explained in

Compare how 4 books explain database driver →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Quarkus in Action. The section links point to the parts of the book it draws on.