Issue Type: Bug Bug
Affects Versions: 4.3.0.Beta3
Assignee: Unassigned
Attachments: Screen Shot 2013-06-01 at 10.52.27.png, Screen Shot 2013-06-01 at 10.53.02.png
Created: 01/Jun/13 1:55 AM

I'm not sure when this bug was introduced, maybe HHH-8113 was the wrong fix. I might have not seen this for a few weeks.

The JPASchemaGenerator ignores @NotNull constraints. The attached screenshots show the call stacks for the Column#setNullable() method during bootstrap with schema generation enabled.

The first call stack shows that JPASchemaGenerator only uses AnnotationBinder and Ejb3Column to determine whether the column is nullable.

The second call stack is buildSessionFactory() running right after performGeneration(), here the BeanValidationIntegrator is called.

Project: Hibernate ORM
Priority: Major Major
Reporter: Christian Bauer
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: