if (pStatement == null)
{
List params = new Vector();
params.add(name);
throw new XException(Constants.LOCATION_EXTERN,
Constants.LAYER_TECHNICAL,
Constants.PACKAGE_TECHNICAL_DATABASE, "7", params);
}
int maxRows = Configuration.getInstance().getValueAsInt(
mConfigChapter, mConfigSection, "MaxRows");
if (maxRows >= 0)
{
pStatement.setMaxRows(maxRows);
}
result = pStatement.executeQuery();
}
catch (SQLException e)
{
throw new XException(Constants.LOCATION_EXTERN,
Constants.LAYER_TECHNICAL,
Constants.PACKAGE_TECHNICAL_DATABASE, "0", e);
}
return result;
}