Module org.jooq
Package org.jooq

Interface EmbeddableRecord<R extends EmbeddableRecord<R>>

Type Parameters:
R - The embeddable record type
All Superinterfaces:
Attachable, Comparable<Record>, Fields, Formattable, Record, Serializable
All Known Implementing Classes:

public interface EmbeddableRecord<R extends EmbeddableRecord<R>> extends Record
An embeddable record.

Embeddable records are implemented purely as a code generation feature where columns in a Table should be grouped to form a synthetic UDTRecord type. Examples of common embeddable types are:

  • Keys (composite or not)
  • Amount / currency

Embeddable records are not strictly tied to individual tables that reference them, but can be shared among tables, and even appear multiple times in the same table.

Lukas Eder