Different versions of same database platform behave differently, database-platform is not enough to choose the most precise dialect, it should combines with major-version and minor-version, we should migrate to standard JPA properties:
jakarta.persistence.database-product-name
jakarta.persistence.database-major-version
jakarta.persistence.database-minor-version