adding specifications for hibernate