org.hibernate.annotations
Annotation Type CollectionOfElements


Deprecated. use @ElementCollection

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

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

Author:
Emmanuel Bernard

Optional Element Summary
 javax.persistence.FetchType fetch
          Deprecated.  
 java.lang.Class targetElement
          Deprecated. Represent the element class in the collection Only useful if the collection does not use generics
 

targetElement

public abstract java.lang.Class targetElement
Deprecated. 
Represent the element class in the collection Only useful if the collection does not use generics

Default:
void.class

fetch

public abstract javax.persistence.FetchType fetch
Deprecated. 
Default:
javax.persistence.FetchType.LAZY


Copyright © 2013. All Rights Reserved.