public interface Seed<T>
Modifier and Type | Method and Description |
---|---|
T |
getNextTimestamp(T current,
org.hibernate.engine.spi.SharedSessionContractImplementor session)
Increment the version value.
|
T |
getTimestamp(org.hibernate.engine.spi.SharedSessionContractImplementor session)
Generate an initial version value.
|
T getTimestamp(org.hibernate.engine.spi.SharedSessionContractImplementor session)
session
- The session from which this request originates.T getNextTimestamp(T current, org.hibernate.engine.spi.SharedSessionContractImplementor session)
session
- The session from which this request originates.current
- the current version valueCopyright © 2010–2018 Jadira Systems. All rights reserved.