Kbase P73993: Connecting from Java client to Progress database via JDBC, getting 'Invalid descriptor index' error
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  2/3/2009 |
|
Status: Verified
SYMPTOM(s):
Connecting from Java client to Progress database via JDBC
Java client connects properly
Issuing any SQL statement results in an error
[JDBC Progress Driver]:Invalid descriptor index
FACT(s) (Environment):
All Supported Operating Systems
Progress 9.x
OpenEdge 10.x
CAUSE:
When walking through the resultset a call to getString(0) was made. Zero (0) is not a proper index value for fetching a column from the resultset.
FIX:
Modify the application source code and use one (1) instead of zero (0) as the minimum index value when fetching a column from the resultset