Thread:
 Use Oracle 10g driver (even for 9i databases) 
 EdCoulter   14 Jan 2005, 17:24 
 I finally got Blobs working with Oracle... 
 bercikr   24 Feb 2005, 12:37 
 Re: Use Oracle 10g driver (even for 9i database... 
 woodchen   21 Jul 2005, 23:25 

Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
From: woodchen (21 Jul 2005, 23:25) Replies: 0, Views: 40944
Subject: Re: Use Oracle 10g driver (even for 9i databases)
We have tested 'thin' jdbc driver in Oracle Instant Client 10 
(http://www.oracle.com/technology/tech/oci/instantclient/instantclient.
html), and it works very well with Hibernate and clobs.
Our test application use a oracle database table with clobs in it and 
use 'text' in the hibernate map file, 'String' in POJO class. with 
this jdbc we need not change any code, just use set() method to set 
the Strings (clobs) then use session.save() to save the object. With 
this driver, we can even use hibernate.jdbc.batch_size=20. I think 
it's the best solution for clobs in Hibernate.
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]