From create table statement:
`id` int unsigned NOT NULL AUTO_INCREMENT,
id is Java primitive int and in table is of type integer and this is OK for validator. Validation is ignoring columnDefinition which may or may not be correct. And for unsigned … Java does not have OOTB unsigned typesand I did not found single occurence of word “unsigned” in Hibernate documentation. Again, it is question if columnDefinition can be ignore or not. |