@ElementCollection(fetch = FetchType.EAGER)
@JoinTable(name = "TABLE_EC")
@Column(length = Identity.name_LENGTH)
private List<String> readerIdentityList = new ArrayList<String>();

it will create table named "TABLE_EC" contains two column,
@Column annotation will defined TABLE_EC the second column(value);

how to defined the length of TABLE_EC the first column(id).

thank's a lot.



--
View this message in context: 
http://openjpa.208410.n2.nabble.com/how-to-defined-ElementCollection-id-column-length-tp7585508.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to