• Post Reply Bookmark Topic Watch Topic
  • New Topic

tomcat connection pool - oracle blob

 
satish
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It seems java.sql.Blob can handle blob size of < 4k.
Any size more gives SQLException: No more data to read from socket
That is why we need to use oracle.sql.BLOB and typecast resultset to OracleResultSet .
But TOMCAT connection pool gives classcast exception with OracleResultSet.

Any work around ?
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!