XE-1301: hibernate.cfg.xml is not properly generated for pgsql
(cherry picked from commit 0c9968f6beb64fd08f87dfac261933bb32b2eaa3)