Skip to content
Guillaume Le Cousin edited this page Apr 9, 2022 · 3 revisions

lc-spring-data-r2dbc Wiki - Table of contents

Installation and configuration steps can be found on the README.

Basics

How to create entity classes mapped to a database table, and access it using a Spring Data repository.

Ids

How to specify a primary key or a composite id, how to generate primary key using auto-increment or a database sequence.

Relationships

How to link entities using foreign keys and join tables, to implement one-to-one, one-to-many and many-to-many relationships.

Lazy loading

How linked entities can be loaded from database on demand.

Joins

How to make a single SELECT query with joins and fetch linked entities in relationships.

Schema generation

How to generate the database schema corresponding to your entities.