Top Description Methods
org.hibernate.annotations

public @Interface CollectionOfElements

extends Annotation
Annotations
@Target:METHOD, FIELD
@Retention:RUNTIME
@Deprecated
Static Imports
java.lang.annotation.ElementType.FIELD, .ElementType.METHOD, .RetentionPolicy.RUNTIME, javax.persistence.FetchType.LAZY

Deprecated

use @ElementCollection

Annotation used to mark a collection as a collection of elements or a collection of embedded objects
Author
Emmanuel Bernard

Method Summary

Modifier and TypeMethod and Description
public FetchType
public Class<T>
targetElement()

Represent the element class in the collection Only useful if the collection does not use generics

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

fetchback to summary
public FetchType fetch()
targetElementback to summary
public Class<T> targetElement()

Represent the element class in the collection Only useful if the collection does not use generics