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: bercikr (24 Feb 2005, 12:37) Replies: 0, Views: 41869
Subject: I finally got Blobs working with Oracle...
Set these properties, make sure you are not using the thin driver 
because it won't work... Your Persistent object should be using a byte
[] to store the file data. Then you can simply call session.save
(object) and it should work...


		<property name="connection.url">jdbc:oracle:oci:@
[ORACLESID]</property>
		<property 
name="hibernate.jdbc.batch_size">0</property>
		<property 
name="hibernate.jdbc.use_streams_for_binary">true</property>
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]