Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.

@Retention(CLASS) @Target({FIELD})

public @interface OrderColumn

Persists the positions of elements in an owning List.

Methods

public abstract String name() default "list_position"Stores positions for an owning List in its join table.

Method details

name

public abstract String name() default "list_position"
Stores positions for an owning List in its join table. Cannot be combined with OrderBy or used on an inverse association.

Returns

column name; list_position by default