XE-1288: Debian packages fail to configure for postgres
* fix wrong order in hibernate configuration
(cherry picked from commit 078d109041d5f09ffab1bfa9febf1ef10aacd0ba)