AdmMono/src/com/rjconsultores/ventaboletos/dao/hibernate/FiscalImpressoraHibernateDA...

20 lines
723 B
Java

package com.rjconsultores.ventaboletos.dao.hibernate;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;
import com.rjconsultores.ventaboletos.dao.FiscalImpressoraDAO;
import com.rjconsultores.ventaboletos.entidad.FiscalImpressora;
@Repository("fiscalImpressoraDAO")
public class FiscalImpressoraHibernateDAO extends GenericHibernateDAO<FiscalImpressora, Integer> implements FiscalImpressoraDAO {
@Autowired
public FiscalImpressoraHibernateDAO(@Qualifier("sessionFactory") SessionFactory factory) {
setSessionFactory(factory);
}
}