• Post Reply Bookmark Topic Watch Topic
  • New Topic

inserting data in to blob...

 
Ganeshkumar cheekati
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am using the below code to insert data in to blob object...


but getBinaryOutputStream method is deprecated which method i can use to get the same result?
 
Ireneusz Kordal
Ranch Hand
Posts: 423
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check documentation of your version of driver - Oracle® Database JDBC Developer's Guide ver. XXX
here is for version 11g release 2:
http://download.oracle.com/docs/cd/E11882_01/java.112/e10589/oralob.htm#g1070326

The getBytes, getBinaryStream, getString, getCharacterStream, and getAsciiStream methods of ResultSet and CallableStatement are extended to work with BLOB, CLOB, and BFILE columns or OUT parameters.

 
Wink, wink, nudge, nudge, say no more, it's a 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!