javax.persistence
Annotation Type Column
@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface Column
- Version:
- $Rev: 467742 $ $Date: 2006-10-25 12:30:38 -0700 (Wed, 25 Oct 2006) $
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:
- ""
table
public abstract String table
- Default:
- ""
length
public abstract int length
- Default:
- 255
precision
public abstract int precision
- Default:
- 0
scale
public abstract int scale
- Default:
- 0
Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.