This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages 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