-->
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: Handling CLOBs - Hibernate 3.2.6
PostPosted: Thu Aug 07, 2008 4:52 pm 
Senior
Senior

Joined: Fri Jun 01, 2007 12:41 pm
Posts: 121
I have referred to http://www.hibernate.org/56.html to know more about handling CLOBs with Hibernate. When I used the code posted, it gives compilation error that implementation doesn't implement other methods UserType interface.

My database is Oracle 9i.

Is there any straightforward working code to write/update and read the CLOB property.

Is it mandatory to set following properties to work with CLOB types:


<property name="hibernate.jdbc.batch_size">0</property>
<property name="hibernate.jdbc.use_streams_for_binary"> true</property>


Hibernate version: 3.2.6

In the forum http://forum.hibernate.org/viewtopic.ph ... t=multiple, I read "we are using CLOBs successfully with the Oracle 10 driver supplied by Oracle. It works fine on Oracle 9i databases, too. No special UserType required. We just set the property types to "text". Although we do have to disable batching."

Can we use 10g driver with 9i database?

Thanks


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.