[xwiki/xwiki-platform] 801c92: XWIKI-24634: The Oracle table compression is check...
Branch: refs/heads/XWIKI-24634 Home: https://github.com/xwiki/xwiki-platform Commit: 801c92add8169a3efe7d4634fcd22e1aaddc3656 https://github.com/xwiki/xwiki-platform/commit/801c92add8169a3efe7d4634fcd22... Author: Vincent Massol <[email protected]> Date: 2026-10-12 (Mon, 12 Oct 2026) Changed paths: M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/store/hibernate/internal/OracleHibernateAdapter.java A xwiki-platform-core/xwiki-platform-oldcore/src/test/java/org/xwiki/store/hibernate/internal/OracleHibernateAdapterTest.java Log Message: ----------- XWIKI-24634: The Oracle table compression is checked and updated in the wrong schema * Qualify the ALTER TABLE ... COMPRESS/NOCOMPRESS statement with the schema of the current wiki, so that it no longer depends on the schema currently selected in the pooled JDBC connection * Read the current compression status from ALL_TABLES restricted to that same schema, instead of from USER_TABLES which only lists the tables owned by the connected user * Add unit tests for the two generated statements Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Commit: 2308ada18139ef60dd7b1313427db6c86784e396 https://github.com/xwiki/xwiki-platform/commit/2308ada18139ef60dd7b1313427db... Author: Vincent Massol <[email protected]> Date: 2026-10-12 (Mon, 12 Oct 2026) Changed paths: 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/test/java/org/xwiki/store/hibernate/internal/OracleHibernateAdapterTest.java Log Message: ----------- XWIKI-24634: The Oracle table compression is checked and updated in the wrong schema * Pass the schema of the compressed tables lookup as a bind parameter instead of concatenating it in the statement * Log the compression statement before executing it, like the MySQL adapter does for the row format Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Compare: https://github.com/xwiki/xwiki-platform/compare/d61cd9c3577b...2308ada18139 To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications