Consultor Eletrônico



Kbase P45642: The executeBatch method always returns 'No data found' excep
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   02/10/2003
Status: Unverified

FACT(s) (Environment):

Progress 9.1D

FACT(s) (Environment):

Windows

SYMPTOM(s):

The executeBatch method always returns 'No data found' exception when updating or accessing an integer and / or a string field.

No data found

The record does exist in the database.

com.progress.sql.jdbc.JdbcProgressBatchUpdateException: No data found
at com.progress.sql.jdbc.JdbcProgressPreparedStatement.executeBatchUpdate(JdbcProgressPreparedStatement.java:1624)
at com.progress.sql.jdbc.JdbcProgressStatement.executeBatch(JdbcProgressStatement.java:976)

CAUSE:

The wrong procli92.dll, JdbcProgress.dll and jdbc.jar are being used. Most probably from a previous Progress installation.

FIX:

Make sure you are referring to %DLC%\bin in your PATH environment variable. Also make sure you are referring to the %DLC%\jdbc.jar file in your CLASSPATH environment variable.