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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inserting Blob Data (Invalid LO argument)

Status
Not open for further replies.

mynwo

Technical User
Jul 12, 2003
75
IN
Dear All,

I have IDS 9.4 on Win 2000. I have installed client sdk 2.81, i have also installed Informix JDBC Driver 2.21.JC5. I have a blob table. I could insert data into the table through java. Now i have installed IDS 9.3 on Sun Solaris and when i try to insert data, i get the foll. error -

java.sql.SQLException: blob_assign: error during processing or invalid LO argument
at com.informix.jdbc.IfxSqli.addException(IfxSqli.java:3124)
at com.informix.jdbc.IfxSqli.receiveError(IfxSqli.java:3435)
at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java:2259)
at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java:2179)
at com.informix.jdbc.IfxSqli.sendStatementExecute(IfxSqli.java:1178)
at com.informix.jdbc.IfxSqli.executeExecute(IfxSqli.java:2105)
at com.informix.jdbc.IfxSqli.executeExecute(IfxSqli.java:2042)
at com.informix.jdbc.IfxResultSet.executeExecute(IfxResultSet.java:394)
at com.informix.jdbc.IfxStatement.executeImpl(IfxStatement.java:924)
at com.informix.jdbc.IfxPreparedStatement.execute(IfxPreparedStatement.java:301)
at InsertBlob.main(InsertBlob.java:57)


What could the problem be. Do i need to set some additional parameters. Please advice.

Thanks & Regards,

Lloyd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top