Enum Class JdbcMetadataOverrides.SupportOverride
java.lang.Object
java.lang.Enum<JdbcMetadataOverrides.SupportOverride>
org.hibernate.dialect.jdbc.spi.JdbcMetadataOverrides.SupportOverride
- All Implemented Interfaces:
Serializable, Comparable<JdbcMetadataOverrides.SupportOverride>, Constable
- Enclosing class:
JdbcMetadataOverrides
public static enum JdbcMetadataOverrides.SupportOverride
extends Enum<JdbcMetadataOverrides.SupportOverride>
Resolution to apply to one raw JDBC support report.
- Since:
- 8.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUse the supplied, defensively interpreted driver report.Force the effective answer totrue.Force the effective answer tofalse. -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanresolve(boolean reported) Resolve the effective answer from the interpreted driver report.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
REPORTED
Use the supplied, defensively interpreted driver report. -
SUPPORTED
Force the effective answer totrue. -
UNSUPPORTED
Force the effective answer tofalse.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
resolve
public abstract boolean resolve(boolean reported) Resolve the effective answer from the interpreted driver report.- Parameters:
reported- the interpreted driver report
-