This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Similar Threads
Protocol Violation Error
'Protocol Violation' error while connecting to the DB using Tomcat 4
Writing many records to an Oracle table
Unpredictable protocol violation error
Protocol Violation