it's feasible jpa 2.x
persist list-typed field below,
@elementcollection private list<string> list;
does jpa 2.x
further prescribe retain order of elements in persisted list after queried?
how returned dependent on database unless there order field in table. see http://en.wikibooks.org/wiki/java_persistence/relationships#order_column_.28jpa_2.0.29 on ordercolumn annotation
Comments
Post a Comment