GEOT-4480 DB2 creates wrong statement in Oracle compatibility mode