This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "oracle protocol violation " Watch "oracle protocol violation " New topic
Author

oracle protocol violation

fengkui tan
Greenhorn

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: http://aspose.com/file-tools
 
subject: oracle protocol violation
 
It's not a secret anymore!