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


@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface KeyColumn

Map key column.

Since:
0.4.0, 1.1.0
Author:
Abe White

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

name

public abstract String name
Default:
""

unique

public abstract boolean unique
Default:
false

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


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