org.hibernate.cache.OptimisticCacheSource |
Known Indirect Subclasses |
Contract for sources of optimistically lockable data sent to the second level cache.
Note currentlyEntityPersister
s are
the only viable source.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get the comparator used to compare two different version values.
| |||||||||||
Is the data to be cached considered versioned?
If true, it is illegal for
getVersionComparator() to return
null. |
Get the comparator used to compare two different version values.
May return null ifisVersioned()
returns false.Is the data to be cached considered versioned?
If true, it is illegal forgetVersionComparator()
to return
null.