• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ODBC Driver Manager Function sequence error

 
asheet anand
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 396
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65126
92
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Changed title from "please help" to something more meaningful.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic