Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NOT_NULL_INCONSISTENCY should skip primitives #1

Open
blabno opened this issue Dec 9, 2013 · 0 comments
Open

NOT_NULL_INCONSISTENCY should skip primitives #1

blabno opened this issue Dec 9, 2013 · 0 comments
Labels

Comments

@blabno
Copy link
Contributor

blabno commented Dec 9, 2013

If primitive column has @column(nullabe=false) then it is not necessary to add @NotNull, because it is always non nullable.

@Column(name = "ACTIVE", nullable = false)
private boolean active;

Right now it is being reported as an error.

@ghost ghost assigned blabno Dec 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant