org.hibernate.annotations
Annotation Type IndexColumn


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

Describe an index column of a List Prefer the standard OrderColumn annotation


Required Element Summary
 String name
          column name
 
Optional Element Summary
 int base
          index in DB start from base
 String columnDefinition
          column definition, default to an appropriate integer
 boolean nullable
          is the index nullable
 

Element Detail

name

public abstract String name
column name

base

public abstract int base
index in DB start from base

Default:
0

nullable

public abstract boolean nullable
is the index nullable

Default:
true

columnDefinition

public abstract String columnDefinition
column definition, default to an appropriate integer

Default:
""


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.