kodo.jdbc.meta.strats
Class LockGroupTimestampVersionStrategy
java.lang.Object
org.apache.openjpa.jdbc.meta.strats.AbstractStrategy
org.apache.openjpa.jdbc.meta.strats.AbstractVersionStrategy
kodo.jdbc.meta.strats.ColumnPerLockGroupVersionStrategy
kodo.jdbc.meta.strats.LockGroupTimestampVersionStrategy
- All Implemented Interfaces:
- Serializable, Strategy, VersionStrategy
public class LockGroupTimestampVersionStrategy
- extends ColumnPerLockGroupVersionStrategy
Uses a timestamp for optimistic versioning.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALIAS
public static final String ALIAS
- See Also:
- Constant Field Values
LockGroupTimestampVersionStrategy
public LockGroupTimestampVersionStrategy()
getAlias
public String getAlias()
- Specified by:
getAlias
in interface Strategy
- Overrides:
getAlias
in class AbstractStrategy
getJavaType
protected int getJavaType()
- Description copied from class:
ColumnPerLockGroupVersionStrategy
- Return the code from
JavaTypes
for the version values this
strategy uses. This method is only used during mapping installation.
- Specified by:
getJavaType
in class ColumnPerLockGroupVersionStrategy
nextVersion
protected Object nextVersion(Object version)
- Description copied from class:
ColumnPerLockGroupVersionStrategy
- Return the next version given the current one, which may be null.
- Specified by:
nextVersion
in class ColumnPerLockGroupVersionStrategy
Copyright 2015 Oracle, Inc. All Rights Reserved.This documentation is deprecated and will be removed in the next release of WebLogic Server.
Oracle Fusion Middleware Oracle Kodo 4.2.0 API Reference (DEPRECATED)
11g Release 1 (10.3.6)
Part Number E13950-03