add hibernate dependencies when hibernate daos are selected.