Inserting Clobs In Java

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • msankardas
    New Member
    • Nov 2007
    • 7

    #1

    Inserting Clobs In Java

    Hi,

    I am a new member. My name is MANU. I am currently working on a java application that requires me to insert a zip file as a clob in a database. If anyone could help me on this as soon as possible, would really appreciate it.

    I would really appreciate the sample code...

    I am working on TERADATA DATABASE.. so if anyone is using that and knows the solution would be really helpful.. Else, the solution in Oracle or DB2 will be highly appreciated.

    Thanks in advance
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    You need to read the file and convert that into a character stream before storing into CLOB field.

    Comment

    Working...