[ http://issues.apache.org/jira/browse/OJB-101?page=comments#action_12370822 ]
Eric Westfall commented on OJB-101: ----------------------------------- Thanks for doing this patch. When I get some free time I will verify it and if it looks like it's not fixed, I'll reopen. Thanks! > 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]
