Class NoneVersionStrategy
java.lang.Object
org.apache.openjpa.jdbc.meta.strats.AbstractStrategy
org.apache.openjpa.jdbc.meta.strats.AbstractVersionStrategy
org.apache.openjpa.jdbc.meta.strats.NoneVersionStrategy
- All Implemented Interfaces:
Serializable,Strategy,VersionStrategy
No-op version strategy.
- Author:
- Abe White
- See Also:
-
Field Summary
FieldsFields inherited from class org.apache.openjpa.jdbc.meta.strats.AbstractVersionStrategy
vers -
Method Summary
Modifier and TypeMethodDescriptiongetAlias()Return the alias of this strategy.static NoneVersionStrategyReturn singleton instance.voidsetVersion(Version owner) Set the version that uses this strategy.Methods inherited from class org.apache.openjpa.jdbc.meta.strats.AbstractVersionStrategy
afterLoad, checkVersion, compareVersion, getBulkUpdateValues, load, load, selectMethods inherited from class org.apache.openjpa.jdbc.meta.strats.AbstractStrategy
customDelete, customInsert, customUpdate, delete, initialize, insert, isCustomDelete, isCustomInsert, isCustomUpdate, map, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.openjpa.jdbc.meta.Strategy
customDelete, customInsert, customUpdate, delete, initialize, insert, isCustomDelete, isCustomInsert, isCustomUpdate, map, update
-
Field Details
-
ALIAS
- See Also:
-
-
Method Details
-
getInstance
Return singleton instance. -
getAlias
Description copied from interface:StrategyReturn the alias of this strategy. For custom strategies, return the full class name.- Specified by:
getAliasin interfaceStrategy- Overrides:
getAliasin classAbstractStrategy
-
setVersion
Description copied from interface:VersionStrategySet the version that uses this strategy. This will be called before use.- Specified by:
setVersionin interfaceVersionStrategy- Overrides:
setVersionin classAbstractVersionStrategy
-