Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

java.lang.Exception: StatementContainer.setValue: Type not supported

Status
Not open for further replies.

ukraine12

Technical User
Mar 21, 2001
45
US
hi all,

we have script running which executes Java like this :
java -cp ../classes:../classes/ifxjdbc.jar:$CLASSPATH FacturenImportBatch FACT_IMP_L

now we have just moved to a server which has a higher release of java namely :
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)
the server is on solaris 9

and now we get an error in our script which we didn't have on the java version 1.2.

here is a part of the log file :
30-08-2006 05:00:41 INFORMIXSQL: UPDATE borderel SET aanvaard=true,com_status=1\
2,wijziging=30/08/2006 05:00:41,wijziger=-1 WHERE (borderel.volgnummer=138344)
Index: '1' Object class 'class java.lang.Boolean' java.sql.types '16'
java.lang.Exception: StatementContainer.setValue: Type niet ondersteund '16' op\
index '1'
at mvg.gem.databank.StatementContainer.setValue(StatementContainer.java:169)
at mvg.gem.databank.StatementContainer.setValue(StatementContainer.java:95)
at mvg.gem.infoobjecten.Connection.executeUpdate(Connection.java:127)
at mvg.gem.infoobjecten.Connection.executeUpdate(Connection.java:61)

i am not an expert in this matter but i would like to find out what is going on and where do i have to make corrections.

thanks.
 
I'd say the StatementContainer class is the problem, I think there's inside it a call to something that is braking.

Have you updated the jdbc drivers to the new JRE?

Cheers,
Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top