diff --git a/src/com/rjconsultores/ventaboletos/dao/PuntoVentaDAO.java b/src/com/rjconsultores/ventaboletos/dao/PuntoVentaDAO.java index 5a1a6f986..3e39c1549 100644 --- a/src/com/rjconsultores/ventaboletos/dao/PuntoVentaDAO.java +++ b/src/com/rjconsultores/ventaboletos/dao/PuntoVentaDAO.java @@ -4,15 +4,12 @@ */ package com.rjconsultores.ventaboletos.dao; +import java.util.List; + import com.rjconsultores.ventaboletos.entidad.Empresa; import com.rjconsultores.ventaboletos.entidad.Parada; import com.rjconsultores.ventaboletos.entidad.PtovtaTipoEstoque; import com.rjconsultores.ventaboletos.entidad.PuntoVenta; -import com.rjconsultores.ventaboletos.entidad.Usuario; - -import java.util.List; - -import org.hibernate.Session; /** * @@ -20,7 +17,6 @@ import org.hibernate.Session; */ public interface PuntoVentaDAO extends GenericDAO { - public Session getDBSession(); public List buscaLike(String strEstacion); diff --git a/src/com/rjconsultores/ventaboletos/dao/hibernate/PuntoVentaHibernateDAO.java b/src/com/rjconsultores/ventaboletos/dao/hibernate/PuntoVentaHibernateDAO.java index 8ee142f8a..8bff21384 100644 --- a/src/com/rjconsultores/ventaboletos/dao/hibernate/PuntoVentaHibernateDAO.java +++ b/src/com/rjconsultores/ventaboletos/dao/hibernate/PuntoVentaHibernateDAO.java @@ -42,10 +42,6 @@ public class PuntoVentaHibernateDAO extends GenericHibernateDAO obtenerTodos() { diff --git a/src/com/rjconsultores/ventaboletos/service/PuntoVentaService.java b/src/com/rjconsultores/ventaboletos/service/PuntoVentaService.java index 52da71067..9f2e253bf 100644 --- a/src/com/rjconsultores/ventaboletos/service/PuntoVentaService.java +++ b/src/com/rjconsultores/ventaboletos/service/PuntoVentaService.java @@ -20,8 +20,6 @@ import com.rjconsultores.ventaboletos.exception.ValidacionCampoException; * @author Administrador */ public interface PuntoVentaService { - - public Session getDBSession(); public List obtenerTodos(); diff --git a/src/com/rjconsultores/ventaboletos/service/impl/PuntoVentaServiceImpl.java b/src/com/rjconsultores/ventaboletos/service/impl/PuntoVentaServiceImpl.java index aa82996ec..8b1cc0a15 100644 --- a/src/com/rjconsultores/ventaboletos/service/impl/PuntoVentaServiceImpl.java +++ b/src/com/rjconsultores/ventaboletos/service/impl/PuntoVentaServiceImpl.java @@ -73,10 +73,6 @@ public class PuntoVentaServiceImpl implements PuntoVentaService { public PuntoVenta obtenerID(Integer id) { return puntoVentaDAO.obtenerID(id); } - - public Session getDBSession(){ - return puntoVentaDAO.getDBSession(); - } @Transactional(noRollbackFor = { IntegracionException.class }) public PuntoVenta suscribir(PuntoVenta entidad) throws IntegracionException, ValidacionCampoException {