Consultor Eletrônico



Kbase P91339: Inconsistent descriptor information executing JDBC PreparedStatement with a long instruction
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   9/26/2004
Status: Unverified

FACT(s) (Environment):

Progress 9.1D

SYMPTOM(s):

JDBC PreparedStatement with a long instruction failed

java.sql.SQLException: [JDBC Progress Driver]:Inconsistent descriptor information

at com.progress.sql.jdbc.JdbcProgressPreparedStatement.executeUpdate()

CAUSE:

When adapting the use of setXXX in the PreparedStatement, the relational-object mapping routine was not assigning a value in the appearing order in the SQL statement.

FIX:

Assign a value in the appearing order accordingly using the setXXX method in the PreparedStatement.