Top Description Methods
org.hibernate.annotations

public @Interface CollectionId

extends Annotation
Annotations
@Target:METHOD, FIELD
@Retention:RUNTIME
Imports
java.lang.annotation.Target, .Retention, javax.persistence.Column

Describe an identifier column for a bag (ie an idbag) EXPERIMENTAL: the structure of this annotation might slightly change (generator() mix strategy and generator
Author
Emmanuel Bernard

Method Summary

Modifier and TypeMethod and Description
public Column[]
columns()

Collection id column(s)

public String
generator()

generator name: 'identity' or a defined generator name

public Type
type()

id type, type.type() must be set

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

columnsback to summary
public Column[] columns()

Collection id column(s)

generatorback to summary
public String generator()

generator name: 'identity' or a defined generator name

typeback to summary
public Type type()

id type, type.type() must be set