I thought Oracle has a pooled connection datasource. Would it be possible to use oracle's datasource via JNDI? I would think that their implementation would provide what you need.
Brandon On 4/19/05, Richard Osbaldeston <[EMAIL PROTECTED]> wrote: > I've tried doing: > > Connection conn = > com.ibatis.common.jdbc.SimpleDataSource.unwrapConnection(connection); > oracle.sql.ArrayDescriptor desc = > oracle.sql.ArrayDescriptor.createDescriptor(getSchemaPrefix(schema) + > "TY_STR_VARRAY", conn); > oracle.sql.ARRAY array = new oracle.sql.ARRAY(desc, conn, > relationshipTypes); > > But it still throws ClassCastExceptions as the connection object is a > dynamic proxy and not an instance of SimplePooledConnection. Should I > just abandon IBatis altogether now? and go with raw jdbc. > > - Richard > >