| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openjpa.jdbc.meta.strats.AbstractStrategy
org.apache.openjpa.jdbc.meta.strats.AbstractVersionStrategy
org.apache.openjpa.jdbc.meta.strats.ColumnVersionStrategy
org.apache.openjpa.jdbc.meta.strats.TimestampVersionStrategy
org.apache.openjpa.jdbc.meta.strats.NanoPrecisionTimestampVersionStrategy
public class NanoPrecisionTimestampVersionStrategy
Uses a timestamp for optimistic versioning with nanosecond precision.
| Field Summary | |
|---|---|
| static java.lang.String | ALIAS | 
| Fields inherited from class org.apache.openjpa.jdbc.meta.strats.AbstractVersionStrategy | 
|---|
| vers | 
| Constructor Summary | |
|---|---|
| NanoPrecisionTimestampVersionStrategy() | |
| Method Summary | |
|---|---|
|  java.lang.String | getAlias()Return the alias of this strategy. | 
| protected  java.lang.Object | nextVersion(java.lang.Object version)Return the next version given the current one, which may be null. | 
| Methods inherited from class org.apache.openjpa.jdbc.meta.strats.TimestampVersionStrategy | 
|---|
| getBulkUpdateValues, getJavaType | 
| Methods inherited from class org.apache.openjpa.jdbc.meta.strats.ColumnVersionStrategy | 
|---|
| checkVersion, compare, compareVersion, delete, insert, load, map, select, update | 
| Methods inherited from class org.apache.openjpa.jdbc.meta.strats.AbstractVersionStrategy | 
|---|
| afterLoad, setVersion | 
| Methods inherited from class org.apache.openjpa.jdbc.meta.strats.AbstractStrategy | 
|---|
| customDelete, customInsert, customUpdate, initialize, isCustomDelete, isCustomInsert, isCustomUpdate | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface org.apache.openjpa.jdbc.meta.Strategy | 
|---|
| customDelete, customInsert, customUpdate, initialize, isCustomDelete, isCustomInsert, isCustomUpdate | 
| Field Detail | 
|---|
public static final java.lang.String ALIAS
| Constructor Detail | 
|---|
public NanoPrecisionTimestampVersionStrategy()
| Method Detail | 
|---|
public java.lang.String getAlias()
Strategy
getAlias in interface StrategygetAlias in class TimestampVersionStrategyprotected java.lang.Object nextVersion(java.lang.Object version)
ColumnVersionStrategy
nextVersion in class TimestampVersionStrategy| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||