[hibernate-dev] Programmatic API for constraint definitions