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: Problem with hibernate when using large data
PostPosted: Wed Nov 03, 2010 9:43 am 
Newbie

Joined: Thu Feb 04, 2010 11:12 am
Posts: 2
Hi All,

I'm experiencing a strange problem with hibernate when inserting huge data. I have mappings for 3 properties in hbm file as:

Code:
<property name="priceIntro" type="text" column="PRICE_INTRODUCTION" />
<property name="priceDesc" type="text" column="PRICE_DESC" />
<property name="priceNote" type="text" column="PRICE_NOTE" />


I'm connecting to Oracle db and all these 3 fields are of CLOB data type. When saving the object with small data for these fields, hibernate saves it properly. But when i enter large data (eg: 25,000 charactors per field), hibernate swaps the fields when saving the data... So i price introduction and price note values are swapped when saving. This doesnt happen for small data. I dont have any clue on why this is happening... Do i need to do any configuration when saving big data through hibernate?? Please share your ideas on this matter......

Thanks in advance.


Top
 Profile  
 
 Post subject: Re: Problem with hibernate when using large data
PostPosted: Thu Nov 04, 2010 6:46 pm 
Senior
Senior

Joined: Fri Oct 08, 2010 8:44 am
Posts: 130
Post code.


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.