Skip to content

Commit

Permalink
BugID: 593
Browse files Browse the repository at this point in the history
  • Loading branch information
mspasiano committed Jul 7, 2011
1 parent fd4c93b commit 32f7df4
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
3 changes: 1 addition & 2 deletions SIGLA/.settings/org.maven.ide.eclipse.prefs
@@ -1,8 +1,7 @@
#Wed Sep 08 13:27:42 CEST 2010
#Wed Jul 06 20:32:31 CEST 2011
activeProfiles=
eclipse.preferences.version=1
fullBuildGoals=process-test-resources
includeModules=false
resolveWorkspaceProjects=true
resourceFilterGoals=process-resources resources\:testResources
skipCompilerPlugin=true
Expand Down
2 changes: 1 addition & 1 deletion sigla-ejb/.settings/org.maven.ide.eclipse.prefs
@@ -1,4 +1,4 @@
#Tue Apr 05 12:17:35 CEST 2011
#Wed Jul 06 20:32:31 CEST 2011
activeProfiles=
eclipse.preferences.version=1
fullBuildGoals=process-test-resources
Expand Down
Expand Up @@ -6302,12 +6302,15 @@ public void avvisoDiPagamentoMandatiRiscontrati(UserContext userContext) throws
sql.addClause(FindClause.AND, "fl_invia_avviso_pagamento", SQLBuilder.EQUALS, Boolean.TRUE);
List<MandatoBulk> mandati = mandatoHome.fetchAll(sql);
for (MandatoBulk mandato : mandati) {
Utility.createMandatoComponentSession().avvisoDiPagamentoMandatoRiscontrato(userContext, mandato);
try{
Utility.createMandatoComponentSession().avvisoDiPagamentoMandatoRiscontrato(userContext, mandato);
}catch(Throwable _th){
//TODO
_th.printStackTrace();
}
}
} catch (PersistencyException e) {
throw handleException(e);
} catch (RemoteException e) {
throw handleException(e);
} catch (EJBException e) {
throw handleException(e);
}
Expand All @@ -6322,7 +6325,7 @@ public void avvisoDiPagamentoMandatoRiscontrato(UserContext userContext, Mandato
mandatoHome.sendAvvisoDiPagamentoPerBonifico(userContext, mandato);
mandato.setFl_invia_avviso_pagamento(Boolean.FALSE);
mandato.setToBeUpdated();
super.modificaConBulk(userContext, mandato);
mandatoHome.update(mandato, userContext);
} catch (PersistencyException e) {
handleException(e);
} catch (OutdatedResourceException e) {
Expand Down
Expand Up @@ -450,6 +450,7 @@ public Boolean archiviaStampa(UserContext userContext, MandatoBulk mandato, IDoc
*/
docAmmCMISService.addAnotherParentToNode(mandato, docAmm, uidMail[0], node, beanName);
}catch (CmisConstraintException e) {
e.printStackTrace();
}catch (Exception e) {
throw new PersistencyException(e);
}
Expand Down
Expand Up @@ -31,10 +31,8 @@
</bean>
<bean id="avvisoDiPagamentoJob"
class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail" ref="avvisoDiPagamentoJobDetail" />
<!-- run every hour -->
<!-- <property name="cronExpression" value="0 0/60 * * * ?" /> -->
<property name="cronExpression" value="0/5 * * * * ?" />
<property name="jobDetail" ref="avvisoDiPagamentoJobDetail" />
<property name="cronExpression" value="0/5 * * * * ?" />
</bean>
<bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
Expand Down
3 changes: 1 addition & 2 deletions sigla-web/.settings/org.maven.ide.eclipse.prefs
@@ -1,8 +1,7 @@
#Wed Sep 08 13:28:39 CEST 2010
#Wed Jul 06 20:30:18 CEST 2011
activeProfiles=
eclipse.preferences.version=1
fullBuildGoals=process-test-resources
includeModules=false
resolveWorkspaceProjects=true
resourceFilterGoals=process-resources resources\:testResources
skipCompilerPlugin=true
Expand Down

0 comments on commit 32f7df4

Please sign in to comment.