Class GeneratedValuesSupport

java.lang.Object
org.hibernate.dialect.generated.spi.GeneratedValuesSupport

@SPI({USE,SUPPLY}) public final class GeneratedValuesSupport extends Object

Immutable description of the mechanisms a Dialect supports for retrieving arbitrary database-generated values during mutation execution.

Providers supply a stable profile through Dialect.getGeneratedValuesSupport(). Native mutation returning and JDBC generated keys are independent mechanisms. Identity-only generated-key behavior belongs to IdentityColumnSupport, while an ordinary select after a mutation is a Hibernate fallback determined from mapping and execution state rather than a Dialect capability.

Since:
8.0
See Also:
  • Field Details

    • STANDARD

      public static final GeneratedValuesSupport STANDARD
      The base-Dialect profile, which advertises no immediate generated-value retrieval mechanism.
  • Method Details