If i annotate a getter with:
@Column(unique = true)
it's simply ignored.
If i use
@Unique
it works perfectly.
Type: Feature Request | Priority: Normal | Status: Fixed | Replies: 1 |
If i annotate a getter with:
@Column(unique = true)
it's simply ignored.
If i use
@Unique
it works perfectly.
Usually ObjectDB silently ignores ORM annotations. This is not a bug (it is documented).
However, since this may make switching from other JPA implementations more difficult - setting unique by using the @Column annotation is now supported (starting build 2.3.2_04).