Class ClockHelper
- java.lang.Object
- org.hibernate.type.descriptor.java.ClockHelper
public classClockHelperextendsObject
Helper for determining the correct clock for precision
Constructor Summary
Constructors Constructor Description ClockHelper()
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description staticClockforPrecision(int resolvedPrecision, int maxPrecision)staticClockforPrecision(@NullableClock baseClock, int resolvedPrecision, int maxPrecision)staticClockforPrecision(Integer precision,SharedSessionContractImplementor session)staticClockforPrecision(Integer precision,SharedSessionContractImplementor session, int maxPrecision)
Method Detail
forPrecision
public static Clock forPrecision(Integer precision,SharedSessionContractImplementor session)
forPrecision
public static Clock forPrecision(Integer precision,SharedSessionContractImplementor session, int maxPrecision)
forPrecision
public static Clock forPrecision(int resolvedPrecision, int maxPrecision)