Skip to content

Batch Completed Successfully after second run but did not pay all the taxes #2

@rdehuyss

Description

@rdehuyss
2014-06-04 22:31:32,320 INFO   [SimpleJobLauncher] Job: [SimpleJob: [name=employeeJob]] launched with the following parameters: [{month=1, year=2014}] 
2014-06-04 22:31:32,435 INFO   [SimpleStepHandler] Executing step: [taxCalculationStep] 
Hibernate: select employee0_.id as id1_0_, employee0_.email as email2_0_, employee0_.firstName as firstNam3_0_, employee0_.income as income4_0_, employee0_.lastName as lastName5_0_ from Employee employee0_ where  not (exists (select taxcalcula1_.id from TaxCalculation taxcalcula1_ where taxcalcula1_.month=? and taxcalcula1_.year=? and taxcalcula1_.employee_id=employee0_.id and taxcalcula1_.jobExecutionId<>?)) limit ?
2014-06-04 22:31:33,102 INFO   [SimpleStepHandler] Executing step: [wsCallAndGenerateAndSendPaycheckStep] 
2014-06-04 22:31:33,164 WARN   [ChunkMonitor] No ItemReader set (must be concurrent step), so ignoring offset data. 
Hibernate: select taxcalcula0_.id as id1_4_, taxcalcula0_.calculationDate as calculat2_4_, taxcalcula0_.employee_id as employee7_4_, taxcalcula0_.jobExecutionId as jobExecu3_4_, taxcalcula0_.month as month4_4_, taxcalcula0_.tax as tax5_4_, taxcalcula0_.year as year6_4_ from TaxCalculation taxcalcula0_ where taxcalcula0_.month=? and taxcalcula0_.year=? and  not (exists (select paycheck1_.id from PayCheck paycheck1_ where paycheck1_.taxCalculation_id=taxcalcula0_.id and paycheck1_.jobExecutionId<>?)) limit ?, ?
2014-06-04 22:31:33,203 WARN   [ChunkMonitor] ItemStream was opened in a different thread.  Restart data could be compromised. 
2014-06-04 22:31:33,270 WARN   [ChunkMonitor] ItemStream was opened in a different thread.  Restart data could be compromised. 
2014-06-04 22:31:33,336 WARN   [ChunkMonitor] ItemStream was opened in a different thread.  Restart data could be compromised. 
2014-06-04 22:31:33,403 WARN   [ChunkMonitor] ItemStream was opened in a different thread.  Restart data could be compromised. 
2014-06-04 22:31:33,469 WARN   [ChunkMonitor] ItemStream was opened in a different thread.  Restart data could be compromised. 
2014-06-04 22:31:33,702 INFO   [SimpleStepHandler] Executing step: [JOB_RESULTS_PDF] 
Hibernate: select sum(taxcalcula0_.tax) as col_0_0_ from TaxCalculation taxcalcula0_ where taxcalcula0_.month=? and taxcalcula0_.year=? and (exists (select paycheck1_.id from PayCheck paycheck1_ where paycheck1_.taxCalculation_id=taxcalcula0_.id))
Hibernate: select sum(taxcalcula0_.tax) as col_0_0_ from TaxCalculation taxcalcula0_ where taxcalcula0_.month=? and taxcalcula0_.year=? and  not (exists (select paycheck1_.id from PayCheck paycheck1_ where paycheck1_.taxCalculation_id=taxcalcula0_.id))
Hibernate: insert into MonthlyReport (calculationDate, month, montlyReportPdf, year, id) values (?, ?, ?, ?, ?)
2014-06-04 22:31:34,444 INFO   [SimpleJobLauncher] Job: [SimpleJob: [name=employeeJob]] completed with the following parameters: [{month=1, year=2014}] and the following status: [COMPLETED] 
Hibernate: select monthlyrep0_.id as id1_1_, monthlyrep0_.calculationDate as calculat2_1_, monthlyrep0_.month as month3_1_, monthlyrep0_.montlyReportPdf as montlyRe4_1_, monthlyrep0_.year as year5_1_ from MonthlyReport monthlyrep0_ where monthlyrep0_.id=?
Hibernate: select monthlyrep0_.id as id1_1_, monthlyrep0_.calculationDate as calculat2_1_, monthlyrep0_.month as month3_1_, monthlyrep0_.montlyReportPdf as montlyRe4_1_, monthlyrep0_.year as year5_1_ from MonthlyReport monthlyrep0_ where monthlyrep0_.id=?
Hibernate: select monthlyrep0_.id as id1_1_, monthlyrep0_.calculationDate as calculat2_1_, monthlyrep0_.month as month3_1_, monthlyrep0_.montlyReportPdf as montlyRe4_1_, monthlyrep0_.year as year5_1_ from MonthlyReport monthlyrep0_ where monthlyrep0_.id=?

bug-2

bug-3

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions