Objectdb ignores not null annotations

#1

I'd like to mark field of an entity not nullable so that when developer tries to persist such entity exception gets thrown...

I've tried @Column(nullable = false) (i even tried @NotNull which is not JPA, anyway I've tried :)

Please specify valid way to mark a field (might be of another Entity type or primitive) not nullable...

Regards

#2

Please see the answer in this forum thread.

ObjectDB Support

Reply