-->
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: Blob + Hashmap
PostPosted: Mon Feb 23, 2004 9:33 am 
Newbie

Joined: Mon Feb 23, 2004 9:11 am
Posts: 1
Hi All,

I am relatively new to hibernate(1 week old geek) and want to know how to save a hashmap in the blob column of the database.

We are using oracle9i with OCI Driver, Hibernate ver 2.0.1 17 .

From what all i have read, I have come to know that in the mapping file i have use :-

1) <property name="AdapterProperties" type="binary">
<column name="ADAPTERPROPERTIES" sql-type="BLOB" not-null="false"/>
</property>

2) Add the following two properties in the hibernate configuration file
<property name="use_streams_for_binary">true</property>
<property name="jdbc.batch_size">0</property>

All i know is that normal fetching is not happening properly.

If anybody can tell me how to save and retrieve the hashmap that would be of great help.

Thanks in Advance
orbitegeek


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 23, 2004 10:31 am 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
What do you mean by "is not happening properly"?


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.