File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes oracle protocol violation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "oracle protocol violation " Watch "oracle protocol violation " New topic

oracle protocol violation

fengkui tan

Joined: Oct 18, 2001
Posts: 1
Hi all,
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
tan fengkui
Joe Paolangeli
Ranch Hand

Joined: Apr 05, 2000
Posts: 73
Why are you using the getUnicodeStream() method? This method is deprecated in java 1.2.2.
Try using the getLong() method.
I agree. Here's the link:
subject: oracle protocol violation
It's not a secret anymore!