org.jboss.jca.adapters.jdbc

## Interface WrappedConnectionFactory

- All Known Implementing Classes:
    WrappedConnectionFactoryJDK7, WrappedConnectionFactoryJDK8

      public interface WrappedConnectionFactory

  WrappedConnectionFactory.
  Author:
    Adrian Brock, Jesper Pedersen

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `CachedCallableStatement` | `createCachedCallableStatement(java.sql.CallableStatement cs)` Create a cached callable statement
    `CachedPreparedStatement` | `createCachedPreparedStatement(java.sql.PreparedStatement ps)` Create a cached prepared statement
    `WrappedConnection` | `createWrappedConnection(BaseWrapperManagedConnection mc, boolean spy, java.lang.String jndiName, boolean doLocking, ClassLoaderPlugin clp)` Create a wrapped connection

- - ### Method Detail

    - #### createWrappedConnection

          WrappedConnection createWrappedConnection(BaseWrapperManagedConnection mc,
                                                    boolean spy,
                                                    java.lang.String jndiName,
                                                    boolean doLocking,
                                                    ClassLoaderPlugin clp)

      Create a wrapped connection
      Parameters:
        `mc` - The managed connection
        `spy` - The spy value
        `jndiName` - The jndi name
        `doLocking` - Do locking
      Returns:
        The wrapped connection

    - #### createCachedPreparedStatement

          CachedPreparedStatement createCachedPreparedStatement(java.sql.PreparedStatement ps)
                                                         throws java.sql.SQLException

      Create a cached prepared statement
      Parameters:
        `ps` - The prepared statement
      Returns:
        The cached prepared statement
      Throws:
        `java.sql.SQLException` - Thrown if an error occurs

    - #### createCachedCallableStatement

          CachedCallableStatement createCachedCallableStatement(java.sql.CallableStatement cs)
                                                         throws java.sql.SQLException

      Create a cached callable statement
      Parameters:
        `cs` - The callable statement
      Returns:
        The cached callable statement
      Throws:
        `java.sql.SQLException` - Thrown if an error occurs

Copyright © 2014 IronJacamar (http://www.ironjacamar.org)