atom feed13 messages in org.codehaus.btm.dev[btm-dev] [jira] Resolved: (BTM-56) B...
FromSent OnAttachments
Damien Raude-Morvan (JIRA)Oct 19, 2009 5:26 am 
Ludovic Orban (JIRA)Oct 20, 2009 6:59 am 
Brett Wooldridge (JIRA)Jan 3, 2010 10:57 pm 
Brett Wooldridge (JIRA)Jan 4, 2010 1:50 am 
Brett Wooldridge (JIRA)Jan 4, 2010 1:55 am 
Ludovic Orban (JIRA)Jan 4, 2010 9:03 am 
Ludovic Orban (JIRA)Jan 4, 2010 10:01 am 
Brett Wooldridge (JIRA)Jan 6, 2010 8:00 pm 
Ludovic Orban (JIRA)Jan 14, 2010 7:17 am 
Brett Wooldridge (JIRA)Jan 14, 2010 7:46 am 
Brett Wooldridge (JIRA)Jan 14, 2010 5:33 pm 
Brett Wooldridge (JIRA)Jan 14, 2010 5:41 pm 
Ludovic Orban (JIRA)Jan 15, 2010 4:08 am 
Subject:[btm-dev] [jira] Resolved: (BTM-56) BTM is not compatible with JDBC 4 API
From:Brett Wooldridge (JIRA) (ji@codehaus.org)
Date:Jan 14, 2010 5:41:37 pm
List:org.codehaus.btm.dev

[
http://jira.codehaus.org/browse/BTM-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brett Wooldridge resolved BTM-56.

---------------------------------

Resolution: Fixed

Checked in code adding new *enableJdbc4ConnectionTest* flag and semantics.

BTM is not compatible with JDBC 4 API

-------------------------------------

Key: BTM-56 URL: http://jira.codehaus.org/browse/BTM-56 Project: BTM Issue Type: Improvement Affects Versions: 1.3.3 Environment: Java 1.6.0_12 + Spring 2.5.6 + Tomcat 6.0.18 + Oracle 10r2 Reporter: Damien Raude-Morvan Assignee: Brett Wooldridge Fix For: 1.3.4

Attachments: patch.txt, patchJDBC4src.txt, patchJDBC4test.txt

Hi, I'm getting the following exception when using BTM 1.3.3-RC2 : java.lang.AbstractMethodError:
bitronix.tm.resource.jdbc.JdbcConnectionHandle.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 : {quote} oPreparedStatement.setLong(1, oObject.getId()); [...] Clob oClob = oConnection.createClob(); oClob.setString(1, p_sContent); oPreparedStatement.setClob(8, oClob); {quote} This work fine with direct Oracle JDBC Datasource. AFAIK, there is missing methods in JdbcConnectionHandle to be uptodate regarding
JDBC 4.0 API (included in Java 6) Regards,