-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: mapping String to Clob?
PostPosted: Tue Dec 30, 2003 10:43 pm 
Beginner
Beginner

Joined: Wed Aug 27, 2003 8:53 pm
Posts: 34
Hi,


I am trying to map String to Clob, Clob size is specified as 256k.

The problem is: if my string is less than 256k, and that I pull this Clob
out of DB2 database and display it on one page, I find there is a long
list of ????????(question marks) at the end.

I guess this is because of the whole 256k was saved and certain characters
appended at the end?

I am wondering if there is a fix for this kind of problem?

Happy new year!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 31, 2003 7:22 am 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
Cut the ? of in your application, or use a UserType which does that internally.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.