27 lines
853 B
Java
27 lines
853 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.CancelacionCargoDAO;
|
|
import com.rjconsultores.ventaboletos.entidad.CancelacionCargo;
|
|
import org.hibernate.SessionFactory;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Qualifier;
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
/**
|
|
*
|
|
* @author Rafius
|
|
*/
|
|
@Repository("cancelacionCargoDAO")
|
|
public class CancelacionCargoHibernateDAO extends GenericHibernateDAO<CancelacionCargo, Integer>
|
|
implements CancelacionCargoDAO {
|
|
|
|
@Autowired
|
|
public CancelacionCargoHibernateDAO(@Qualifier("sessionFactory") SessionFactory factory) {
|
|
setSessionFactory(factory);
|
|
}
|
|
}
|