This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to insert CLOB object into DB?

 
Gurumurthy Ramamurthy
Ranch Hand
Posts: 273
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

I have a huge string which I want to insert into DB as CLOB object using setClob.

I am struggling to creating a java.sql.Clob object with this huge string.

Can anyone help me?

Guru
 
Joe Nguyen
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This oracle document would help you to get the job done (You may need to create userid/pwd to access the page).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic