aspose file tools*
The moose likes JDBC 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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
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