[xwiki/xwiki-platform] 8d8c5b: XWIKI-25211: The migration increasing the columns ...
Branch: refs/heads/XWIKI-25211 Home: https://github.com/xwiki/xwiki-platform Commit: 8d8c5bc75327000c181ec17331223a16904c6196 https://github.com/xwiki/xwiki-platform/commit/8d8c5bc75327000c181ec17331223... Author: Simon Urli <[email protected]> Date: 2026-10-08 (Thu, 08 Oct 2026) Changed paths: M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/internal/store/hibernate/HibernateStore.java A xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/store/migration/hibernate/R180900001XWIKI25211DataMigration.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/store/hibernate/HibernateAdapter.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/store/hibernate/internal/HSQLDBHibernateAdapter.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/store/hibernate/internal/OracleHibernateAdapter.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/store/hibernate/internal/PostgreSQLHibernateAdapter.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/resources/META-INF/components.txt M xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/store/HibernateStoreTest.java A xwiki-platform-core/xwiki-platform-oldcore/src/test/java/org/xwiki/store/hibernate/internal/HSQLDBHibernateAdapterTest.java A xwiki-platform-core/xwiki-platform-oldcore/src/test/java/org/xwiki/store/hibernate/internal/OracleHibernateAdapterTest.java A xwiki-platform-core/xwiki-platform-oldcore/src/test/java/org/xwiki/store/hibernate/internal/PostgreSQLHibernateAdapterTest.java Log Message: ----------- XWIKI-25211: The migration increasing the columns size to 768 skips the columns declared in lowercase on HSQLDB and Oracle * Add HibernateAdapter#getColumnName to get a column name in the case used by the database: upper case for HSQLDB and Oracle, lower case for PostgreSQL * Use it in HibernateStore#getConfiguredColumnName so that the column lookups in the database metadata find the columns declared in lowercase in the Hibernate mapping * Add a new resize migration to increase the size of the columns which were skipped by R140200010XWIKI19207DataMigration (legacy activity stream and notification filter preferences tables) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications