public interface YourDao extends GenericDao<YourEntity, Long> { }
public class YourDaoHibernate extends GenericDaoHibernate<YourEntity, Long> implements YourDao { public YourDaoHibernate() { super(YourEntity.class); } }
<constructor-arg value="com.company.model.YourEntity"/>