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.MerchantBancarioDAO;
|
|
import com.rjconsultores.ventaboletos.entidad.MerchantBancario;
|
|
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("merchantBancarioDAO")
|
|
public class MerchantBancarioHibernateDAO extends GenericHibernateDAO<MerchantBancario, Integer>
|
|
implements MerchantBancarioDAO {
|
|
|
|
@Autowired
|
|
public MerchantBancarioHibernateDAO(@Qualifier("sessionFactory") SessionFactory factory) {
|
|
setSessionFactory(factory);
|
|
}
|
|
}
|