From: Jon L. <jon...@xe...> - 2002-06-07 06:53:14
|
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... |