Can somebody tell me if the following JBoss Data Source code will translate to Tomcat 5.5.12:

DataSource ds = (DataSource) jndiContext.lookup("java:comp/env/jdbc/myds");

WrappedConnection wc = (WrappedConnection) ds.getConnection();
                
AS400JDBCConnection ajc = (AS400JDBCConnection) wc.getUnderlyingConnection();


I need to get acces to "com.ibm.as400.access.AS400JDBCConnection", in JBoss I was able to with the above code. Does tomcat have an equalivant class to JBoss' "org.jboss.resource.adapter.jdbc.WrappedConnection"?

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

Reply via email to