org.jboss.jca.adapters.jdbc
Interface WrappedConnectionFactory

All Known Implementing Classes:
WrappedConnectionFactoryJDK6

public interface WrappedConnectionFactory

WrappedConnectionFactory.

Version:
$Revision: 85945 $
Author:
Adrian Brock

Method Summary
 CachedCallableStatement createCachedCallableStatement(CallableStatement cs)
          Create a cached callable statement
 CachedPreparedStatement createCachedPreparedStatement(PreparedStatement ps)
          Create a cached prepared statement
 WrappedConnection createWrappedConnection(BaseWrapperManagedConnection mc)
          Create a wrapped connection
 

Method Detail

createWrappedConnection

WrappedConnection createWrappedConnection(BaseWrapperManagedConnection mc)
Create a wrapped connection

Parameters:
mc - The managed connection
Returns:
The wrapped connection

createCachedPreparedStatement

CachedPreparedStatement createCachedPreparedStatement(PreparedStatement ps)
                                                      throws SQLException
Create a cached prepared statement

Parameters:
ps - The prepared statement
Returns:
The cached prepared statement
Throws:
SQLException - Thrown if an error occurs

createCachedCallableStatement

CachedCallableStatement createCachedCallableStatement(CallableStatement cs)
                                                      throws SQLException
Create a cached callable statement

Parameters:
cs - The callable statement
Returns:
The cached callable statement
Throws:
SQLException - Thrown if an error occurs


Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)