Interface JdbcTypeIndicators

    • Method Detail

      • isNationalized

        default boolean isNationalized()
        Was nationalized character datatype requested for the given Java type?
        Returns:
        true if nationalized character datatype should be used; false otherwise.
      • isLob

        default boolean isLob()
        Was LOB datatype requested for the given Java type?
        Returns:
        true if LOB datatype should be used; false otherwise.
      • getEnumeratedType

        default jakarta.persistence.EnumType getEnumeratedType()
        For enum mappings, what style of storage was requested (name vs. ordinal)?
        Returns:
        The enum type.
      • getTemporalPrecision

        default jakarta.persistence.TemporalType getTemporalPrecision()
        For temporal type mappings, what precision was requested?
      • getPreferredSqlTypeCodeForBoolean

        default int getPreferredSqlTypeCodeForBoolean()
        When mapping a boolean type to the database what is the preferred SQL type code to use?

        Specifically names the key into the JdbcTypeRegistry.

      • getPreferredSqlTypeCodeForDuration

        default int getPreferredSqlTypeCodeForDuration()
        When mapping a duration type to the database what is the preferred SQL type code to use?

        Specifically names the key into the JdbcTypeRegistry.

      • getPreferredSqlTypeCodeForUuid

        default int getPreferredSqlTypeCodeForUuid()
        When mapping an uuid type to the database what is the preferred SQL type code to use?

        Specifically names the key into the JdbcTypeRegistry.

      • getPreferredSqlTypeCodeForInstant

        default int getPreferredSqlTypeCodeForInstant()
        When mapping an instant type to the database what is the preferred SQL type code to use?

        Specifically names the key into the JdbcTypeRegistry.

      • getColumnLength

        default long getColumnLength()
        Useful for resolutions based on column length. E.g. choosing between a VARCHAR (String) and a CHAR(1) (Character/char)
      • getColumnPrecision

        default int getColumnPrecision()
        Useful for resolutions based on column precision.
      • getColumnScale

        default int getColumnScale()
        Useful for resolutions based on column scale. E.g. choosing between a NUMERIC or INTERVAL
      • getTypeConfiguration

        TypeConfiguration getTypeConfiguration()
        Provides access to the TypeConfiguration for access to various type-system registries.