diff --git a/migration-guide.adoc b/migration-guide.adoc index 5014c70188..d94367df31 100644 --- a/migration-guide.adoc +++ b/migration-guide.adoc @@ -32,6 +32,14 @@ A possible migration could involve the following steps in a migration script: 5. For every result, load the Hibernate entity by primary key and set the deserialized value 6. Finally, drop the old column `alter table tbl drop column array_col_old` +Alternatively, to revert to pre-6.1 behavior, annotate your array property with `@JdbcTypeCode(SqlTypes.VARBINARY)`: + +[source,java] +---- +@Basic +@JdbcTypeCode(SqlTypes.VARBINARY) +double[] myArray; +---- == Enum mapping changes