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
|