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: EdCoulter (14 Jan 2005, 17:24) Replies: 2, Views: 47760
Subject: Use Oracle 10g driver (even for 9i databases)
http://forum.hibernate.org/viewtopic.php?t=935274&highlight=multiple

I stumbled over this in the message boards.  We did the same thing a 
couple of weeks ago.  Download the Oracle 10g driver (from the Oracle 
site) and use that instead of building these adapters.  It does work 
with 9i databases and functions over the 4k barrier (we tested up to 
50k).  This is MUCH simpler than trying most of these other solutions 
since all you need is an updated classes12.jar file.

Not sure if both of these were needed, but we also add the following 
in the hibernate.cfg.xml:

        <property name="SetBigStringTryClob">true</property>
        <property name="batch_size">0</property>

I still can't figure out why Oracle never fixed the 9i driver, but as 
long as the 10g driver works I'll take it. :)
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]