This content has been marked as final.
Show 3 replies
-
1. Re: Registering Datasources in the TransactionalDriver witho
marklittle Nov 16, 2007 4:45 PM (in response to breako)The dynamic approach is still there but not recommended simply because it relies on specific versions of drivers. You could leverage it again and update the code yourself if necessary.
-
2. Re: Registering Datasources in the TransactionalDriver witho
breako Nov 20, 2007 8:53 AM (in response to breako)"mark.little@jboss.com" wrote:
The dynamic approach is still there but not recommended simply because it relies on specific versions of drivers. You could leverage it again and update the code yourself if necessary.
Thanks. Any chance of more info please?
According to the programmers guide pg 31 using dynamic drivers not recommended.
Also, in this posts you do not recommend using it:
1.
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=96210
2.
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=88103
Note - in this thread it says that support for Oracle 8 has been removed. So I can't see any other way for doing it for Oracle other than JNDI.
I am using Oracle 10, is there any other way of doing it for Oracle 10?
Note when I try using the JBoss App Server, by doing:props.setProperty(TransactionalDriver.dynamicClass, "com.arjuna.ats.internal.jdbc.drivers.oracle_8_1_6");
- I getjava.sql.SQLException: java.sql.SQLException: java.lang.ClassNotFoundException: com.arjuna.ats.internal.jdbc.drivers.sequelink_5_0 at com.arjuna.ats.internal.jdbc.DirectRecoverableConnection.getConnection(DirectRecoverableConnection.java:311) at com.arjuna.ats.internal.jdbc.ConnectionImple.getConnection(ConnectionImple.java:584) at com.arjuna.ats.internal.jdbc.ConnectionImple.registerDatabase(ConnectionImple.java:668) at com.arjuna.ats.internal.jdbc.ConnectionImple.createStatement(ConnectionImple.java:161)
Regards -
3. Re: Registering Datasources in the TransactionalDriver witho
marklittle Nov 21, 2007 3:50 PM (in response to breako)Take a look at the existing dynamic-related code and use that as a template.