org.apache.openjpa.persistence.jdbc
Annotation Type VersionColumn


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface VersionColumn

Surrogate version column.

Since:
0.4.0
Author:
Abe White

Optional Element Summary
 String columnDefinition
           
 boolean insertable
           
 int length
           
 String name
           
 boolean nullable
           
 int precision
           
 int scale
           
 String table
           
 boolean updatable
           
 

name

public abstract String name
Default:
""

nullable

public abstract boolean nullable
Default:
true

insertable

public abstract boolean insertable
Default:
true

updatable

public abstract boolean updatable
Default:
true

columnDefinition

public abstract String columnDefinition
Default:
""

length

public abstract int length
Default:
255

precision

public abstract int precision
Default:
0

scale

public abstract int scale
Default:
0

table

public abstract String table
Default:
""


Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.