Win a copy of Clojure in Action this week in the Clojure forum!
    Bookmark Topic Watch Topic
  • New Topic

Sybase text column insert with Hibernate

 
Balaji VR
Ranch Hand
Posts: 76
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,

I have a Sybase table that has a column of type TEXT.

What I am doing is that, I am reading characters from a file, convert them into String object and then insert into this column.
The value of the String gets into the TEXT column.

The String object (roughly 4K characters) gets inserted successfully into the column and when I do a select, i could see the characters correctly stored in the table's column.

But, when I try to insert a very big String(12MB file read), it gets stored as ??? into the table's column.

Im just using the session.save(wfit); to save my object to database.

Please help me.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64185
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.
 
I agree. Here's the link: http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic