File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JDBC and Relational Databases
oracle protocol violation
Joined: Oct 18, 2001
Oct 18, 2001 05:17:00
I am getting the protocol violation error when I am trying to read long field from a oracle table with getunicodestream method. the error corrupt the connction and finally exhaused all connction.thanks
Joined: Apr 05, 2000
Oct 18, 2001 20:02:00
Why are you using the getUnicodeStream() method? This method is deprecated in
Try using the getLong() method.
I agree. Here's the link:
subject: oracle protocol violation
Unpredictable protocol violation error
Protocol Violation Error
Writing many records to an Oracle table
'Protocol Violation' error while connecting to the DB using Tomcat 4
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015