Chapter 10. Database programming with Groovy


As far as the laws of mathematics refer to reality, they are not certain, and as far as they are certain, they do not refer to reality.

 --Albert Einstein

Relational[1] databases are data stores that are based on a relational model. It is this model that makes them so powerful. Its mathematical foundation allows us to reason about the results of operations and lets database engines perform appropriate optimizations.

Database access is also highly standardized, allowing multiple applications to coordinate by sharing their data even if these applications are built with different technologies. The standard that incorporates the relational algebra is the Structured Query Language (SQL).

Because using SQL ...

Get Groovy in Action now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.