1 2 3 | public interface YourDao extends GenericDao<YourEntity, Long> { } |
1 2 3 4 5 6 7 | public class YourDaoHibernate extends GenericDaoHibernate<YourEntity, Long> implements YourDao { public YourDaoHibernate() { super (YourEntity. class ); } } |
<constructor-arg value="com.company.model.YourEntity"/>