Here's the second revision of my LOB patch.  This allows LOB locator 
refs to be bound to PL/SQL input placeholders, and auto-converts strings

to and from LOBs when ora_auto_lob is set. 

When an output parameter is bound as a LOB, the max_len argument is not
used. Since I borrowed the field-fetching code, the data is limited
by the LongReadLen attribute.    

There is a possibility of leaking temporary lobs when using IN OUT 
parameters. The only time I've had this happen is when binding a 
non-empty value to a placeholder, then assigning to or selecting into
the placeholder without ever using the original value.

I think temporary lobs are supported under 8.1.5, but I only have 10.1
to 
work with.  This really needs testing under other version and with
Unicode databases.

-Jeff
 

** ** **  PRIVILEGED AND CONFIDENTIAL  ** ** **
This email transmission contains privileged and confidential information 
intended only for the use of the individual or entity named above.  Any 
unauthorized review, use, disclosure or distribution is prohibited and may be a 
violation of law.  If you are not the intended recipient or a person 
responsible for delivering this message to an intended recipient, please delete 
the email and immediately notify the sender via the email return address or 
mailto:[EMAIL PROTECTED]  Thank you.

- end -

Attachment: templob.patch
Description: templob.patch

Reply via email to