Upon upgrading from 6.1.7 to 6.2.0, I get this error message during schema validation: Caused by: org.hibernate.tool.schema.spi.SchemaManagementException: Schema-validation: wrong column type encountered in column [receiving_status] in table [buddies_anonymized]; found int (Types#INTEGER), but expecting tinyint (Types#TINYINT) The full class BuddyAnonymized can be found here. The attribute receivingStatus is declared as follows (no annotations applied): private Status receivingStatus = Status.NOT_REQUESTED; The type Status is an enum, defined as follows:
public enum Status
{
NOT_REQUESTED, REQUESTED, ACCEPTED, REJECTED
}
|