If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Informix ODBC driver

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-10-02, 17:18
bzuborski bzuborski is offline
Registered User
 
Join Date: Jun 2002
Posts: 10
Question Informix ODBC driver

I was testing a C++ ODBC library which access Informix database
via unixODBC open source Driver Manager. Reading from database
works fine but in inserting the data I got error message:

"Exception type: DBException
Method: DBStmt::ParamData()
Error Message: SQLParamData() call failed in statement "INSERT INTO DB_EXAMPLE (DOUBLE_VALUE, EXAMPLE_DATE, EXAMPLE_LONG, INT_VALUE, STRING_VALUE) VALUES ), (?), (?), (?), (?))"!
(You may want to double-check that you have numbered your parameters correctly - depending on the SQL error you are getting.)SQL Errors:
(0) SQL Error! SQLSTATE = 22001 Native err = -1279 msg = [unixODBC][Informix][Informix ODBC Driver][Informix]Value exceeds string column length."

The author of the library suggested that Informix ODBC driver does not
handle well SQLPutData() function which library is using to send data
to driver. He also suggested I get another better driver.

My question is: what is the latest version of Informix ODBC driver on
Solaris platforms if anybody knows?
Is that TypeII or TypeIII ODBC driver?
Does anybody know of any open source TypeIII Informix ODBC driver?
Actually, is it possible that Informix ODBC driver does not handle
correctly SQLPutData() command?
The driver I am using is from Client SDK - v2.70 on Solaris 8

Thanks for your answers
Reply With Quote
  #2 (permalink)  
Old 10-11-02, 08:45
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
Latest version of CSDK is 2.80, they are working on 2.81.
Don't know what type, I think it's a TYPE II.
I didn't see any problems with the SQLPutData() command.
Try it with the latest version. If it doesn't work, call support and report a bug...
__________________
rws
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On