HHH-12399 Re-introduce Environment#jvmHasTimestampBug as deprecated method

This commit is contained in:
Sanne Grinovero 2018-03-16 23:25:25 +00:00
parent c8bd656461
commit c6ea7fd359
1 changed files with 11 additions and 0 deletions

View File

@ -238,6 +238,17 @@ public final class Environment implements AvailableSettings {
BYTECODE_PROVIDER_INSTANCE = buildBytecodeProvider( GLOBAL_PROPERTIES );
}
/**
* This will be removed soon; currently just returns false as no known JVM exibits this bug
* and is also able to run this version of Hibernate ORM.
* @deprecated removed as unneccessary
* @return false
*/
@Deprecated
public static boolean jvmHasTimestampBug() {
return false;
}
/**
* Should we use streams to bind binary types to JDBC IN parameters?
*