Migrate dialects removed in Hibernate 7.0 to their generic equivalents
MSALHibernate 7.0 removed the remaining version- and storage-specific dialect subclasses that still existed in Hibernate 6.x. The IBM-i (DB2400*) variants map to DB2iDialect, not the generic DB2Dialect; the HANA row/column-store variants and MariaDB 10.6 collapse into the generic HANADialect / MariaDBDialect, which autodetect behavior from the JDBC connection.
org. openrewrite. hibernate. MigrateRemovedDialectsHibernate70mod run . --recipe= org. openrewrite. hibernate. MigrateRemovedDialectsHibernate70Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.
- Change type
DB2400DialecttoDB2iDialect - Change type
DB2400V7R3DialecttoDB2iDialect - Change type
MariaDB106DialecttoMariaDBDialect - Change type
AbstractHANADialecttoHANADialect - Change type
HANAColumnStoreDialecttoHANADialect - Change type
HANACloudColumnStoreDialecttoHANADialect - Change type
HANARowStoreDialecttoHANADialect