Project

General

Profile

Actions

Bug #85

closed

ECos Batch - Between STARTRANGE and ENDRANGE

Added by Chooi-Mey over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Chee-Hoong
Category:
offline batches
Target version:
Start date:
02/17/2011
Due date:
% Done:

100%

Estimated time:
Resolution:
Fixed

Description

For those Sql query with "Between ? and ?" that if using preparedstatment, the set In parameter value do not require single quote (') anymore for the value. For example:

DailyReportECos.java:

private static final String STARTRANGE = "'400000000'";
private static final String ENDRANGE = "'419999999'";

The single quote defined above has been interpreted as part of the value in the SetString(1, STARTRANGE) case. Therefore no records is being found.

SO do not need single quote in this case.

Fix for all impacted program, and perform testing by compare the result with output of before migrated version.

Actions

Also available in: Atom PDF