@Retention(value=RUNTIME) @Target(value=FIELD) public @interface NotEmpty
In DB the column will be marked as NOT NULL.
NOT NULL
Copyright © 2019. All rights reserved.