@Retention(value=RUNTIME) @Target(value=METHOD) public @interface Unique
Marks a method such that the corresponding database field will have a UNIQUE constraint. This constraint is implemented within the underlying database and is not enforced by ActiveObjects itself.
This annotation is only relevant to migrations. It has no effect upon "runtime" entity usage.
Copyright © 2007–2019 Atlassian. All rights reserved.