detail.php
OW2 Forge: Detail: 314395 Missing support for JDBC 4.0 API (XAPool)

Advanced - Powered by Google


   
Log In
New Account
  
 
Home
My Page
Project Tree
Project Openings
JOTM
          
 
 
Summary
Tracker
Lists
Tasks
News
CVS
Files
SVN
                
 

Tracker: Bugs

Submit New | Browse | Admin | ExportToXml

[ #314395 ] Missing support for JDBC 4.0 API (XAPool)

Date:
2009-10-19 14:54
Priority:
3
Submitted By:
Damien Raude-Morvan (drazzib)
Assigned To:
Philippe Durieux (durieuxp)
Category:
JOTM
State:
Open
Summary:
Missing support for JDBC 4.0 API (XAPool)

Detailed description:
Hi, I'm trying to use JOTM as a JTA provider for my application, but I'm getting the following error java.lang.AbstractMethodError: org.enhydra.jdbc.standard.StandardXAConnectionHandle.createClob()Ljava/sql/Clob; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy$TransactionAwareInvocationHandler.invoke(TransactionAwareDataSourceProxy.java:225) at $Proxy16.createClob(Unknown Source) at com.a2a.movalys.fwk.transaction.Connection.createClob(Connection.java:459) at com.adeuza.movalys.fwk.data.dao.AbstractDao.createClob(AbstractDao.java:132) My application code looks like this : oPreparedStatement.setLong(1, oObject.getId()); [...] Clob oClob = oConnection.createClob(); oClob.setString(1, p_sContent); oPreparedStatement.setClob(8, oClob); This work fine with direct Oracle JDBC Datasource. AFAIK, there is no support for JDBC 4.0 in XAPool (last release in 2005!). Maybe JOTM should switch to another DataSource pool provider ? Version information : JOTM 2.0.11.MR3 Spring 2.5.6 Oracle Drivers 11.2.0.1.0 (11gR2) Best regards,

Add A Comment:

Please login

Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
resolution_idNone2009-11-19 14:36durieuxp
priority52009-11-19 14:36durieuxp
assigned_tonone2009-11-19 14:36durieuxp

Copyright © 1999-2008, OW2 Consortium | contact | You have a difficulty, a problem ? Please report an issue using your OW2 forge account credentials