Add postgresql config to hibernate