Issue #550: Unique Constraint Ignored

Type: Feature requestPriority: NormalStatus: FixedReplies: 1

If i annotate a getter with:

@Column(unique = true)

it's simply ignored.

If i use


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).

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)

Post Reply

To post a reply and/or subscribe to update notifications - please login