org.hibernate.engine.jdbc.dialect.spi.DialectResolutionInfo
| Modifier and Type | Field and Description |
|---|---|
| public static final int | NO_VERSION
Constant used to indicate that no version is defined |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: The database major version, or -9999 to indicate "no version information"Obtain access to the database major version, as returned from
|
| public default int | Returns: The database minor version, or -9999 to indicate "no version information"Obtain access to the database minor version, as returned from
|
| public int | Returns: The database minor version, or -9999 to indicate "no version information"Obtain access to the database minor version, as returned from
|
| public default int | |
| public default int | |
| public default int | |
| public default boolean | |
| public default boolean | |
| public default boolean | |
| public default boolean | |
| public default boolean | isAfter(int otherMajor, int otherMinor, int otherMicro)
Determine whether this version after the passed one |
| public default boolean | |
| public default boolean | |
| public default boolean | |
| public default boolean | |
| public default boolean | isBefore(int otherMajor, int otherMinor, int otherMicro)
Determine whether this version before the passed one |
| public default boolean | |
| public default boolean | |
| public default boolean | |
| public default boolean | isSame(int otherMajor, int otherMinor, int otherMicro)
Determine if this version matches the passed one. |
| public default boolean | |
| public default boolean | |
| public default boolean | |
| public default boolean | |
| public default boolean | |
| public static DatabaseVersion | |
| public static DatabaseVersion | |
| public static DatabaseVersion | |
| public default DatabaseVersion | |
| public default DatabaseVersion | makeCopy(boolean noVersionAsZero)
Make a copy of this version object, possibly converting |
| NO_VERSION | back to summary |
|---|---|
| public static final int NO_VERSION Constant used to indicate that no version is defined | |
| getDatabaseMajorVersion | back to summary |
|---|---|
| public int getDatabaseMajorVersion() Obtain access to the database major version, as returned from
| |
| getDatabaseMicroVersion | back to summary |
|---|---|
| public default int getDatabaseMicroVersion() Obtain access to the database minor version, as returned from
| |
| getDatabaseMinorVersion | back to summary |
|---|---|
| public int getDatabaseMinorVersion() Obtain access to the database minor version, as returned from
| |
| getMajor | back to summary |
|---|---|
| public default int getMajor() Simpler naming
| |
| getMicro | back to summary |
|---|---|
| public default int getMicro() Simpler naming
| |
| getMinor | back to summary |
|---|---|
| public default int getMinor() Simpler naming
| |
| isAfter | back to summary |
|---|---|
| public default boolean isAfter(DatabaseVersion other) Determine whether this version comes after the passed one | |
| isAfter | back to summary |
|---|---|
| public default boolean isAfter(Integer major, Integer minor) Determine whether this version after the passed one | |
| isAfter | back to summary |
|---|---|
| public default boolean isAfter(int major) Determine whether this version after the passed one | |
| isAfter | back to summary |
|---|---|
| public default boolean isAfter(int major, int minor) Determine whether this version after the passed one | |
| isAfter | back to summary |
|---|---|
| public default boolean isAfter(int otherMajor, int otherMinor, int otherMicro) Determine whether this version after the passed one | |
| isBefore | back to summary |
|---|---|
| public default boolean isBefore(DatabaseVersion other) Determine whether this version comes before the passed one | |
| isBefore | back to summary |
|---|---|
| public default boolean isBefore(int major, int minor) Determine whether this version before the passed one | |
| isBefore | back to summary |
|---|---|
| public default boolean isBefore(int major) Determine whether this version before the passed one | |
| isBefore | back to summary |
|---|---|
| public default boolean isBefore(Integer major, Integer minor) Determine whether this version before the passed one | |
| isBefore | back to summary |
|---|---|
| public default boolean isBefore(int otherMajor, int otherMinor, int otherMicro) Determine whether this version before the passed one | |
| isSame | back to summary |
|---|---|
| public default boolean isSame(DatabaseVersion other) Determine if the versions are the same/equal. | |
| isSame | back to summary |
|---|---|
| public default boolean isSame(int otherMajor) Determine if this version matches the passed one. | |
| isSame | back to summary |
|---|---|
| public default boolean isSame(int otherMajor, int otherMinor) Determine if this version matches the passed one. | |
| isSame | back to summary |
|---|---|
| public default boolean isSame(int otherMajor, int otherMinor, int otherMicro) Determine if this version matches the passed one. | |
| isSameOrAfter | back to summary |
|---|---|
| public default boolean isSameOrAfter(DatabaseVersion other) | |
| isSameOrAfter | back to summary |
|---|---|
| public default boolean isSameOrAfter(Integer otherMajor, Integer otherMinor) | |
| isSameOrAfter | back to summary |
|---|---|
| public default boolean isSameOrAfter(int otherMajor) | |
| isSameOrAfter | back to summary |
|---|---|
| public default boolean isSameOrAfter(int otherMajor, int otherMinor) | |
| isSameOrAfter | back to summary |
|---|---|
| public default boolean isSameOrAfter(int otherMajor, int otherMinor, int otherMicro) | |
| make | back to summary |
|---|---|
| public static DatabaseVersion make(Integer major) Factory for DatabaseVersion based on major version (minor and micro set to zero) | |
| make | back to summary |
|---|---|
| public static DatabaseVersion make(Integer major, Integer minor) Factory for DatabaseVersion based on major and minor version (micro set to zero) | |
| make | back to summary |
|---|---|
| public static DatabaseVersion make(Integer major, Integer minor, Integer micro) Factory for DatabaseVersion based on major, minor and micro | |
| makeCopy | back to summary |
|---|---|
| public default DatabaseVersion makeCopy() Make a simple copy of this version object | |
| makeCopy | back to summary |
|---|---|
| public default DatabaseVersion makeCopy(boolean noVersionAsZero) Make a copy of this version object, possibly converting | |