[Zope] [OT] Example of Forcing Type coercion on a DCOracle2 column?

Matthew T. Kromer matt@zope.com
Thu, 20 Mar 2003 09:55:22 -0500


John Ziniti wrote:

>> I have to admit ignorance on what XMLTYPE is for Oracle 9i.
>> However, DCOracle2 shouldn't ever segfault regardless of what data it 
>> gets back, so if you have an example I can replicate I'll be happy to 
>> look at why DCOracle2 choked on it.
>
>
>* 1048113998.953,  33, OCIDefineByPos, 2, 0x08211c48, 2000, 108, 0, *
>  
>

As I thought it might be, XMLTYPE is an Oracle Named Type.  DCOracle2 
doesn't support named types.  It may in the future (I'd like to do it) 
but it doesn't right now.

The code "108" is SQLT_NTY.

-- 
Matt Kromer
Zope Corporation  http://www.zope.com/