Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

oracle protocol violation

 
fengkui tan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why are you using the getUnicodeStream() method? This method is deprecated in java 1.2.2.
Try using the getLong() method.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic