Make OMOP and OpenMRS translate Hibernate logic the same.