This information is currently not available through jOOQ's meta data API.
If you turn on JPA or validation annotation generation, you can derive this
info from there, though:
@javax.persistence.Id
@javax.persistence.Column(name = "ID", unique = true, nullable = false,
precision = 7)
@javax.validation.constraints.NotNull
public java.lang.Integer getId() {
return this.id;
}
This should be added more formally in jOOQ, so I'm registering feature
request #2315 for this:
https://github.com/jOOQ/jOOQ/issues/2315
2013/3/8 <[email protected]>
> Is there any way to find out if a generated Field has the not null
> constraint?
>
> --
> You received this message because you are subscribed to the Google Groups
> "jOOQ User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
You received this message because you are subscribed to the Google Groups "jOOQ
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.