Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problem saving the content of a file to a NClob column

 
Bogdan Boicu
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi,
I'm using jdk 5.0 and i'm trying to save the content of a file to a column of type NCLOB. If the file is smaller than 4 Kb then the content is saved. If the file is bigger than 4Kb then the content is saved compressed or something ... it's not readable.

The code is something like ...



Is there any way that i could make this work? I'm having trouble finding some example ... help
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
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!