-->
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.  [ 1 post ] 
Author Message
 Post subject: characters appended when mapping string to clob
PostPosted: Tue Aug 23, 2005 3:55 pm 
Newbie

Joined: Tue Aug 23, 2005 12:10 pm
Posts: 1
Hibernate version:3.0

Name and version of the database you are using:Oracle 10g

I am using annotations to map a string field to clob using @Lob(type=LobType.CLOB), in my code I am doing the following steps.
reading the object, setting fields (but not touching the clob)

then i am calling saveOrUpdate on the object and it sets again the clob field and appends a sequence of the following characters:?@ which are retrieved on the next read of the object.

it happens on selected records which clobs are not even longer than the ones that works OK.

I am seeing a select for the record and then update, i am using one trascation (with a couple of nested ones) to wrap the select and update.

sorry for the lack of more information but I am almost 100% sure the problem is on the store of a clob, I just couldnt find the difference between the correct and corrupted clobs


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

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.