public class TimestampVersionStrategy extends ColumnVersionStrategy
Modifier and Type | Field and Description |
---|---|
static String |
ALIAS |
vers
Constructor and Description |
---|
TimestampVersionStrategy() |
Modifier and Type | Method and Description |
---|---|
String |
getAlias()
Return the alias of this strategy.
|
Map |
getBulkUpdateValues() |
protected int |
getJavaType()
Return the code from
JavaTypes for the version values this
strategy uses. |
protected Object |
nextVersion(Object version)
Return the next version given the current one, which may be null.
|
checkVersion, compare, compare, compareVersion, delete, getJavaType, insert, load, load, map, select, update
afterLoad, setVersion
customDelete, customInsert, customUpdate, initialize, isCustomDelete, isCustomInsert, isCustomUpdate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
customDelete, customInsert, customUpdate, initialize, isCustomDelete, isCustomInsert, isCustomUpdate
public static final String ALIAS
public String getAlias()
Strategy
getAlias
in interface Strategy
getAlias
in class AbstractStrategy
protected int getJavaType()
ColumnVersionStrategy
JavaTypes
for the version values this
strategy uses. This method is only used during mapping installation.getJavaType
in class ColumnVersionStrategy
protected Object nextVersion(Object version)
ColumnVersionStrategy
nextVersion
in class ColumnVersionStrategy
public Map getBulkUpdateValues()
getBulkUpdateValues
in interface VersionStrategy
getBulkUpdateValues
in class AbstractVersionStrategy
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.