27 lines
862 B
Java
27 lines
862 B
Java
/*
|
|
* To change this template, choose Tools | Templates
|
|
* and open the template in the editor.
|
|
*/
|
|
package com.rjconsultores.ventaboletos.dao.hibernate;
|
|
|
|
import com.rjconsultores.ventaboletos.dao.ParamRecoleccionDAO;
|
|
import com.rjconsultores.ventaboletos.entidad.ParamRecoleccion;
|
|
import org.hibernate.SessionFactory;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Qualifier;
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
/**
|
|
*
|
|
* @author Desenvolvimento
|
|
*/
|
|
@Repository("paramRecoleccionDAO")
|
|
public class ParamRecoleccionHibernateDAO extends GenericHibernateDAO<ParamRecoleccion, Integer>
|
|
implements ParamRecoleccionDAO {
|
|
|
|
@Autowired
|
|
public ParamRecoleccionHibernateDAO(@Qualifier("sessionFactory") SessionFactory factory) {
|
|
setSessionFactory(factory);
|
|
}
|
|
}
|