ObjectDB ObjectDB

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

edit
delete
#2

Please see the answer in this forum thread.

ObjectDB Support
edit
delete

Reply

To post on this website please sign in.