error code [-7402]; rowcast(): create_castfuncstate: arg corrupted cast list



Hello,

my server is IBM Informix Dynamic Server Version 9.40.UC6
and
JDBC Driver : 3.00.JC3

I use Rich Client Platform and connect to database server over JBoss
with Spring framework as WebServer.
With Spring's class BatchSqlUpdate i try to update one or more records
in the database. If it is one record to update then program work fine
else i get error -7402:

error code [-7402]; rowcast(): create_castfuncstate: arg corrupted
cast list;


Hier the essentially part of error stack :

2008-06-05 19:26:17,214 DEBUG
[org.springframework.jdbc.datasource.DataSourceUtils] Registering
transaction synchronization for JDBC Connection
2008-06-05 19:26:17,223 DEBUG
[org.springframework.transaction.support.TransactionSynchronizationManager]
Bound value
[org.springframework.jdbc.datasource.ConnectionHolder@2ddb85] for key
[org.springframework.jdbc.datasource.DriverManagerDataSource@ed2d75]
to thread [http-144.99.111.152-8080-4]
2008-06-05 19:26:17,225 DEBUG
[org.springframework.transaction.support.TransactionSynchronizationManager]
Retrieved value
[org.springframework.jdbc.datasource.ConnectionHolder@2ddb85] for key
[org.springframework.jdbc.datasource.DriverManagerDataSource@ed2d75]
bound to thread [http-144.99.111.152-8080-4]
2008-06-05 19:26:17,227 DEBUG
[org.springframework.jdbc.support.JdbcUtils] JDBC driver supports
batch updates
....
.....
Triggering afterCompletion synchronization
2008-06-05 19:26:17,281 DEBUG
[org.springframework.transaction.support.TransactionSynchronizationManager]
Clearing transaction synchronization
2008-06-05 19:26:17,282 ERROR [STDERR]
sGetStammdaten:updateStammdaten:statement
failed :PreparedStatementCallback; uncategorized SQLException for SQL
[update t_kundenstamm set( ks_kunde, ks_adresse,
ks_koresp_adresse,ks_rechn_adresse,ks_bankverbindung,ks_ansprechpartner,
ks_eingangsdatum, ks_dbuser, ks_status, ks_infotext, ks_einzugserm ) =
(ROW(?,?,?,?,?)::person,ROW(?,?,?,?,?,?,?,?,?)::adresse,ROW(?,?,?,?,?,?,?,?,?)::adresse,ROW(?,?,?,?,?,?,?,?,?)::adresse,ROW(?,?,?,?,?,?)::bankverbindung,ROW(?,?,?,?,?)::person,CURRENT,?,?,?,?)
WHERE ks_kdnr=? AND ks_anwendung = ?]; SQL state [IX000]; error code
[-7402]; rowcast(): create_castfuncstate: arg corrupted cast list;
nested exception is java.sql.BatchUpdateException: rowcast():
create_castfuncstate: arg corrupted cast list
2008-06-05 19:26:17,283 ERROR [STDERR] PreparedStatementCallback;
uncategorized SQLException for SQL [update t_kundenstamm
set( ks_kunde, ks_adresse,
ks_koresp_adresse,ks_rechn_adresse,ks_bankverbindung,ks_ansprechpartner,
ks_eingangsdatum, ks_dbuser, ks_status, ks_infotext, ks_einzugserm ) =
(ROW(?,?,?,?,?)::person,ROW(?,?,?,?,?,?,?,?,?)::adresse,ROW(?,?,?,?,?,?,?,?,?)::adresse,ROW(?,?,?,?,?,?,?,?,?)::adresse,ROW(?,?,?,?,?,?)::bankverbindung,ROW(?,?,?,?,?)::person,CURRENT,?,?,?,?)
WHERE ks_kdnr=? AND ks_anwendung = ?]; SQL state [IX000]; error code
[-7402]; rowcast(): create_castfuncstate: arg corrupted cast list;
nested exception is java.sql.BatchUpdateException: rowcast():
create_castfuncstate: arg corrupted cast list
2008-06-05 19:26:17,283 DEBUG
[org.springframework.web.servlet.DispatcherServlet] Cleared thread-
bound request context:
org.apache.catalina.connector.RequestFacade@fdbc27
2008-06-05 19:26:17,283 DEBUG
[org.springframework.web.servlet.DispatcherServlet] Could not complete
request
org.springframework.jdbc.UncategorizedSQLException:
PreparedStatementCallback; uncategorized SQLException for SQL [update
t_kundenstamm set( ks_kunde, ks_adresse,
ks_koresp_adresse,ks_rechn_adresse,ks_bankverbindung,ks_ansprechpartner,
ks_eingangsdatum, ks_dbuser, ks_status, ks_infotext, ks_einzugserm ) =
(ROW(?,?,?,?,?)::person,ROW(?,?,?,?,?,?,?,?,?)::adresse,ROW(?,?,?,?,?,?,?,?,?)::adresse,ROW(?,?,?,?,?,?,?,?,?)::adresse,ROW(?,?,?,?,?,?)::bankverbindung,ROW(?,?,?,?,?)::person,CURRENT,?,?,?,?)
WHERE ks_kdnr=? AND ks_anwendung = ?]; SQL state [IX000]; error code
[-7402]; rowcast(): create_castfuncstate: arg corrupted cast list;
nested exception is java.sql.BatchUpdateException: rowcast():
create_castfuncstate: arg corrupted cast list
Caused by:
java.sql.BatchUpdateException: rowcast(): create_castfuncstate: arg
corrupted cast list
at
com.informix.jdbc.IfxPreparedStatement.executeBatch(IfxPreparedStatement.java:
3134)
at org.springframework.jdbc.core.JdbcTemplate
$4.doInPreparedStatement(JdbcTemplate.java:825)
at
org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:
527)
at
org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:
556)
at
org.springframework.jdbc.core.JdbcTemplate.batchUpdate(JdbcTemplate.java:
808)
at
org.springframework.jdbc.object.BatchSqlUpdate.flush(BatchSqlUpdate.java:
183)
at
ch.bza.elzahl.server.sGetStammdaten.updateStammdaten(sGetStammdaten.java:
1313)

.



Relevant Pages

  • Re: ER question
    ... backup to set up another test environment. ... How do I get CDR to stop ... remove onconfig [-c server] OnconfigText ... step depends on the database server you are using. ...
    (comp.databases.informix)
  • Re: SQL Timeout problem
    ... > your server. ... > If you do not see any blocking spids you should look at system resources. ... >> affected webserver, restart the database server, restart the database ... >> database server or service my gut feeling is that the problem must lie ...
    (microsoft.public.sqlserver.server)
  • Re: Trouble connecting to IDS 11.5 development server using SQuirrel SQL with IDS JDBC driver.
    ... Connection closed by foreign host. ... -908 Attempt to connect to database server failed. ... see the IBM Informix Guide to SQL: ...
    (comp.databases.informix)
  • Re: Possible Type Conversion Defect
    ... I'm developing a large application using SAP Web Application Server ... with JDBC Driver Beta 2 for SQL Server 2005 and I'm getting the SAME ... There's any solution or I must change my strategy to don't choice SQL ... a JDBC driver attempts to convert the underlying data to the Java ...
    (microsoft.public.sqlserver.jdbcdriver)
  • Re: Possible Type Conversion Defect
    ... Thank you for your feedback, we have received OVERWHELMING feedback on our ... "purist" coercion story and have reconsidered this feature for the final ... > with JDBC Driver Beta 2 for SQL Server 2005 and I'm getting the SAME ...
    (microsoft.public.sqlserver.jdbcdriver)