Class Helper
java.lang.Object
org.hibernate.dialect.lock.internal.Helper
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Timeout
getLockTimeout
(String sql, Helper.TimeoutExtractor extractor, Connection connection, SessionFactoryImplementor factory) static void
setLockTimeout
(Timeout timeout, Function<Timeout, Integer> valueStrategy, String sqlFormat, Connection connection, SessionFactoryImplementor factory)
-
Constructor Details
-
Helper
public Helper()
-
-
Method Details
-
getLockTimeout
public static Timeout getLockTimeout(String sql, Helper.TimeoutExtractor extractor, Connection connection, SessionFactoryImplementor factory) -
setLockTimeout
public static void setLockTimeout(Timeout timeout, Function<Timeout, Integer> valueStrategy, String sqlFormat, Connection connection, SessionFactoryImplementor factory)
-