I could reproduce the issue also on XWiki 16.3.0 RC1 with PostgreSQL 16, so it's not related to Oracle.