Issue #550: Unique Constraint Ignored

Type: Feature RequestPriority: NormalStatus: FixedReplies: 1
#1

If i annotate a getter with:

@Column(unique = true)

it's simply ignored.

If i use

@Unique

it works perfectly.

#2

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

Reply