support hibernate and postgresql