27 lines
888 B
Java
27 lines
888 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.ReservacionPuntoVentaDAO;
|
|
import com.rjconsultores.ventaboletos.entidad.ReservacionPuntoVenta;
|
|
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("reservacionPuntoVentaDAO")
|
|
public class ReservacionPuntoVentaHibernateDAO extends GenericHibernateDAO<ReservacionPuntoVenta, Integer>
|
|
implements ReservacionPuntoVentaDAO {
|
|
|
|
@Autowired
|
|
public ReservacionPuntoVentaHibernateDAO(@Qualifier("sessionFactory") SessionFactory factory) {
|
|
setSessionFactory(factory);
|
|
}
|
|
}
|