• Post Reply Bookmark Topic Watch Topic
  • New Topic

how do i conver String into bytestream and insert in to oracle database?

 
Anantha Reddy.N
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
friends can you share your valuable advises? please help out solve this problem?


Thanks in advance
 
Kia Phia Ben
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Anantha Reddy.N
I hope help you

String s ="abc";

java.io.StringReader reader = new StringReader(s);
 
stu derby
Ranch Hand
Posts: 333
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure exactly what you're trying to do, but Oracle has a lot of example code posted on the web, here:
http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/index.html
 
Anantha Reddy.N
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by stu derby:
I'm not sure exactly what you're trying to do, but Oracle has a lot of example code posted on the web, here:
http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/index.html


thanks friend
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!