diff --git a/src/com/rjconsultores/ventaboletos/service/impl/FiscalImpressoraServiceImpl.java b/src/com/rjconsultores/ventaboletos/service/impl/FiscalImpressoraServiceImpl.java index c1fe9fb43..6d6035076 100644 --- a/src/com/rjconsultores/ventaboletos/service/impl/FiscalImpressoraServiceImpl.java +++ b/src/com/rjconsultores/ventaboletos/service/impl/FiscalImpressoraServiceImpl.java @@ -100,6 +100,7 @@ public class FiscalImpressoraServiceImpl implements FiscalImpressoraService { } @Override + @Transactional public void borrarTotnaofiscalEmpresa(FiscalTotnaofiscalEmpresa totnaofiscalEmpresa) { totnaofiscalEmpresa.setActivo(false); totnaofiscalEmpresa.setFecmodif(Calendar.getInstance().getTime()); @@ -109,6 +110,7 @@ public class FiscalImpressoraServiceImpl implements FiscalImpressoraService { } @Override + @Transactional(rollbackFor=BusinessException.class) public FiscalTotnaofiscalEmpresa suscribirActualizarTotnaofiscalEmpresa(FiscalTotnaofiscalEmpresa entidad) throws BusinessException { entidad.setActivo(true); entidad.setFecmodif(Calendar.getInstance().getTime()); @@ -148,6 +150,7 @@ public class FiscalImpressoraServiceImpl implements FiscalImpressoraService { } @Override + @Transactional(rollbackFor=BusinessException.class) public FiscalFormapagoEmpresa suscribirActualizarFormapagoEmpresa(FiscalFormapagoEmpresa entidad) throws BusinessException { FiscalFormapagoEmpresa item = null; @@ -177,6 +180,7 @@ public class FiscalImpressoraServiceImpl implements FiscalImpressoraService { } @Override + @Transactional(rollbackFor=BusinessException.class) public FiscalFormapagoEmpresa borrarFormapagoEmpresa(FiscalFormapagoEmpresa entidad) { entidad.setActivo(false); entidad.setFecmodif(Calendar.getInstance().getTime()); @@ -196,11 +200,13 @@ public class FiscalImpressoraServiceImpl implements FiscalImpressoraService { } @Override + @Transactional public FiscalRelgerencialEmpresa suscribirRelgerencialEmpresa(FiscalRelgerencialEmpresa entidad) { return fiscalImpressoraDAO.suscribirRelgerencialEmpresa(entidad); } @Override + @Transactional public FiscalRelgerencialEmpresa actualizacionRelgerencialEmpresa(FiscalRelgerencialEmpresa entidad) { return fiscalImpressoraDAO.actualizacionRelgerencialEmpresa(entidad); }