Hi, I just checked in a change to add support for using streams when setting binary types. I don't know about other databases, but Oracle has a limitation on the number of bytes you can set when you use setBytes to update a LONG RAW column. If you want to store more data than this limit, then you need to use streams, otherwise you will get an Oracle exception.
I added a new hibernate property that allows you to toggle this functionality on and off since other databases don't have this limitation. The system property that I added is: hibernate.use_streams_for_binary By setting this to true, it will use streams to both get and set the binary types. Cheers, Jon... _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel