[jOOQ/jOOQ#17787] Regression when enabling <jpaAnnotation> for NOT NULL
DEFAULT columns, which should continue to be marked as @Column(nullable = true)
This commit is contained in:
parent
02e997e01f
commit
84df2232c8
@ -10105,7 +10105,7 @@ public class JavaGenerator extends AbstractGenerator {
|
||||
}
|
||||
|
||||
String nullable = "";
|
||||
if (effectivelyNotNull(out, column))
|
||||
if (!column.getType(resolver(out)).isNullable())
|
||||
nullable = ", nullable = false";
|
||||
|
||||
String length = "";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user