aspose file tools*
The moose likes JDBC and the fly likes ODBC Driver Manager Function sequence error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "ODBC Driver Manager Function sequence error" Watch "ODBC Driver Manager Function sequence error" New topic
Author

ODBC Driver Manager Function sequence error

asheet anand
Ranch Hand

Joined: Nov 15, 2000
Posts: 83
hi ,
i am getting java.sql.SQLException: [Microsoft][ODBC Driver Manager] Function sequence error

could any one explain me what's its all about.

i am retrieving the values from a table in a infinite loop
in a thread's run method.

thanks
asheet
[ October 26, 2004: Message edited by: Bear Bibeault ]
Gopi Krishna
Greenhorn

Joined: Jan 25, 2001
Posts: 10
It would be useful if you write piece of code that is giving this problem. But just a wild guess, sometimes you might get problems if you try to read data in different order than you the order it is presented to you.
Like trying to read last column first and then some middle column after. This problem is predominent if you have long type fields at end.
Originally posted by asheet anand:
hi ,
i am getting java.sql.SQLException: [Microsoft][ODBC Driver Manager] Function sequence error
could any one explain me what's its all about.
i am retrieving the values from a table in a infinite loop
in a thread's run method.
thanks
asheet

deekasha gunwant
Ranch Hand

Joined: May 06, 2000
Posts: 396
Hi Aseet,
we also got the same error in our project.later on we found out that this error was occuring on only few machines.
search on sun's bug list pointed to these two links.
http://developer.java.sun.com/developer/bugParade/bugs/4247124.html http://developer.java.sun.com/developer/bugParade/bugs/4281444.html
after going through these two we tried to run our program on jdk1.3 . and it ran perfectly.so i'd suggest u try to run your program in jdk1.3 and see if the error vanishes.
regards
deeksha
[This message has been edited by deekasha gunwant (edited February 05, 2001).]
Pratap Reddy
Ranch Hand

Joined: Jan 05, 2001
Posts: 36
Even I got this problem but when I removed close() method It solved. But not sure down the stream. Check this might help you.
Ross Mills
Greenhorn

Joined: Oct 03, 2003
Posts: 2
I know this is an old thread, but there really is not too much useful information about this error out there. I got this error when I attempted to update dBase V through an ODBC/JDBC bridge.

The problem occurred when I tried to update a large text field with an empty string. When I updated with field with either a NULL or some text, the problem did not occur.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61066
    
  66

Changed title from "please help" to something more meaningful.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ODBC Driver Manager Function sequence error