×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
String sql = (
"UPDATE "+lib+".RTGI SET RIRT=?, RIDRV=?, RITL=?, RIX7=? where TELEX = " +
"(select min(telex) from "+lib+".RTGIR where RIURG=? and (RISPR3='' or
RISPR3 is null) and (RIRT is null or RIRT='' or
(RIX7='Cld"+MessageStatus.RETRYING.getCode()+"' and
RIRT='"+MessageStatus.RETRYING.getCode()+"')) "+
whereClause+")");
stmt = StatementManager.prepareStatement(conn, sql);
for (int xPriority=0; xPriority <
DriverConfig.getDriverConfig().getMinimumPriority()+1; xPriority++) {
stmt.setString (1, MessageStatus.WAITING_FOR_RESOURCE.getCode());
stmt.setString (2, CloudQ.getDriverId());
stmt.setString (3, ritsFormat.format(checkingTime));
stmt.setString (4, MessageStatus.WAITING_FOR_RESOURCE.getRIX7Code());
stmt.setInt (5, xPriority);
int records = stmt.executeUpdate();
stmt.clearParameters();
if (records == 1) {
break;
}
}
Highlighted line is the one that breaks - but this is a constant so can't
be null.
Any thoughts?
Many thanks for any input and hope you all have a great weekend.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.