Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate : save data as dataType:clob into Sybase

Ivy chen
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

i have a String variable and its length is larger than 60000.
i want to insert this string variable into a column call "result" (dataType is text,DataBase:Sybase,Table call "Log")

in the Log.hbm.xml,i set the "result's type" is

here is the Log.hbm.xml:

here is the Log.class:

here is the Spring's application.xml

hibernate do insert this String variable "result" into the DateBase,but it is not intact,the variable's length is only 2^16(16384).

how can i insert this String variable completely?

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic