Skip to content
Snippets Groups Projects
Commit 393dd5d4 authored by Falucho's avatar Falucho
Browse files

If you like piña colada!!

If you like piña colada!!
parent 42015161
No related branches found
No related tags found
No related merge requests found
Pipeline #6642 passed with warnings
......@@ -26,7 +26,7 @@
<!-- ESTA CONFIGURACION ES PARA EL POSTGRE DE MI NUBE -->
<datasource jndi-name="java:jboss/datasources/nubeDS" pool-name="nube" enabled="true" use-java-context="true">
<connection-url>jdbc:postgresql://nube.faller.com.uy:5432/feiknius</connection-url>
<connection-url>jdbc:postgresql://localhost:5432/feiknius</connection-url>
<driver>postgresql_java8</driver>
<security>
<user-name>postgres</user-name>
......
......@@ -320,7 +320,8 @@ public class BusinessBean implements BusinessLocal, BusinessRemote {
fact.setActualState(state);
fact.addHistory(sh);
updateHecho(fact);
notificationBean.notifyFactEvent(fact.getId());
// Pablo no quiere que se notifiquen todos los cambios de estado
// notificationBean.notifyFactEvent(fact.getId());
}
@Override
......
......@@ -9,14 +9,13 @@ import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import javax.ejb.EJB;
import javax.ejb.Singleton;
import javax.ejb.Startup;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Random;
@Singleton
@Startup
//@Startup
public class Config {
@EJB
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment