Package io.ebean.annotation
Annotation Type DbArray
-
@Retention(RUNTIME) @Target(FIELD) public @interface DbArray
Specify a collection property that will be stored into a DB ARRAY type.If the target database does not support ARRAY type (so not Postgres) then the collection will be stored in JSON format into a VARCHAR column.
Example:
{@code // Store as ARRAY of UUID on Postgres