public class SuperclassVersionStrategy extends AbstractVersionStrategy
vers| Constructor and Description |
|---|
SuperclassVersionStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterLoad(OpenJPAStateManager sm,
JDBCStore store)
This method is called after data is loaded into the instance, in
case the version indicator works off of a state image.
|
boolean |
checkVersion(OpenJPAStateManager sm,
JDBCStore store,
boolean updateVersion)
Checks the version of the given state manager with the version
stored in memory.
|
int |
compareVersion(Object v1,
Object v2) |
Map |
getBulkUpdateValues() |
load, load, select, setVersioncustomDelete, customInsert, customUpdate, delete, getAlias, initialize, insert, isCustomDelete, isCustomInsert, isCustomUpdate, map, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcustomDelete, customInsert, customUpdate, delete, getAlias, initialize, insert, isCustomDelete, isCustomInsert, isCustomUpdate, map, updatepublic void afterLoad(OpenJPAStateManager sm, JDBCStore store)
VersionStrategyafterLoad in interface VersionStrategyafterLoad in class AbstractVersionStrategypublic boolean checkVersion(OpenJPAStateManager sm, JDBCStore store, boolean updateVersion) throws SQLException
VersionStrategycheckVersion in interface VersionStrategycheckVersion in class AbstractVersionStrategySQLExceptionpublic int compareVersion(Object v1, Object v2)
compareVersion in interface VersionStrategycompareVersion in class AbstractVersionStrategyStoreManager.compareVersion(org.apache.openjpa.kernel.OpenJPAStateManager, java.lang.Object, java.lang.Object)public Map getBulkUpdateValues()
getBulkUpdateValues in interface VersionStrategygetBulkUpdateValues in class AbstractVersionStrategyCopyright © 2006–2022 Apache Software Foundation. All rights reserved.