liveBook · Manning

Relational database management system

As explained in Java Persistence with Spring Data and Hibernate epub

A relational database management system (RDBMS) stores and manages structured data in related tables and provides relational query and transaction processing.

A relational database management system (RDBMS) stores persistent data and exposes an SQL-based interface to applications. Relational data is not tied to Java or to one application: a data-entry application and a reporting application can share it, and the data may outlive either program. The relational model also provides a foundation for protecting data integrity. section 1.1.1

For a Java application, using an SQL database directly means doing low-level work through JDBC: binding query parameters, executing queries, moving through results, and retrieving values. Hand-written SQL must also account for differences between database dialects. Object/relational mapping (ORM), including Hibernate, addresses the desire to save and retrieve class instances without writing all that access code by hand; Spring Data provides another way to access persistence stores. section 1.0 section 1.1.3

Distinguish the relational model from products marketed as relational. An SQL interface alone does not make a system fully relational in the original sense, so shortcomings of SQL should not automatically be attributed to the model. section 1.1.1

Choose a persistence approach against the application's requirements:

  • An SQL database is a robust, widely used choice when shared data and integrity matter; it is not specific to a Java application. section 1.1.1
  • Do not assume it is universally suitable. Some internet-scale systems can tolerate a period of weak consistency after an update, while specialized scientific datasets may call for custom persistence solutions rather than generic transactional SQL tools. section 1.1.3

How Java Persistence with Spring Data and Hibernate epub covers it

How deep it goes
Explains SQL interfaces, data independence, integrity, and JDBC chores, but stops short of schema design or database configuration.
Examples
Uses data-entry and reporting applications sharing data, plus JDBC parameter binding, query execution, and result retrieval.
What it assumes
Assumes familiarity with SQL and relational databases; introduces their role in Java persistence rather than teaching SQL from zero.
What you can do after
Evaluate/understand when an SQL database fits Java persistence needs and when scale or specialized data may justify another approach.
How it connects
Connects relational databases to SQL, JDBC, object/relational mapping, Hibernate, Spring Data, and transactional consistency.

Also explained in

Compare how 6 books explain relational database management system →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Java Persistence with Spring Data and Hibernate epub. The section links point to the parts of the book it draws on.