added support for hibernate constraints annotation