[ http://issues.apache.org/jira/browse/OJB-101?page=all ]
     
Armin Waibel resolved OJB-101:
------------------------------

    Fix Version: 1.0.5
     Resolution: Fixed

I can't verify the patch (don't use XAPool), so for the present I suppose it's 
fixed.

> Add support CLOB support in PlatformOracle9iImpl for XAPool prepared 
> statements.
> --------------------------------------------------------------------------------
>
>          Key: OJB-101
>          URL: http://issues.apache.org/jira/browse/OJB-101
>      Project: OJB
>         Type: Improvement
>   Components: RDBMS platform-specific support
>     Versions: 1.0.4
>     Reporter: Eric Westfall
>      Fix For: 1.0.5
>  Attachments: PlatformOracle9iImpl.java
>
> The implementation of PlatformOracle9iImpl attempts to unwrap the actual 
> oracle.jdbc.OraclePreparedStatement from a wrapped PreparedStatement from 
> various managed or pooling technologies.  Currently, it is only configured to 
> unwrap these from JBoss, DBCP or P6Spy wrapped prepared statements.  The 
> XAPool library is not represented in this list, so in order to make this work 
> we had to modify the source code and rebuild the jar.  I doubt that XAPool is 
> as common as the other mentioned libraries but it would still be good to add 
> support for it..
> I've attached the modified source code to PlatformOracle9iImpl.  The relevent 
> changes are in the UNWRAP_PS_METHOD_NAMES String array and in the 
> genericUnwrap method.  Incidentally, XAPool uses a public field to allow 
> access to the underlying PreparedStatement so I had to modify genericUnwrap 
> slightly so that it could handle unwrapping values from fields and not just 
> method invocations.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to