JavaScript is disabled on your browser.
Skip navigation links
Overview
Class
Tree
Deprecated
Index
Search
Help
com.codename1.annotations.db
ElementCollection
Contents
Description
Optional Element Summary
Element Details
fetch
column
Hide sidebar
Show sidebar
Annotation Type ElementCollection
@Retention
(
CLASS
)
@Target
(
FIELD
)
public @interface
ElementCollection
Mapping for an owned collection of scalar values.
Optional Element Summary
Optional Elements
Modifier and Type
Optional Element
Description
String
column
Names the scalar value column in the collection table.
FetchType
fetch
Controls relationship initialization.
Element Details
fetch
FetchType
fetch
Controls relationship initialization.
Returns:
fetch policy; EAGER for to-one and LAZY for collections by default
Default:
LAZY
column
String
column
Names the scalar value column in the collection table.
Returns:
column name; element_value by default
Default:
"element_value"