bitronix.tm.resource.jdbc
Class JdbcUncachedPreparedStatementHandle

java.lang.Object
  extended by bitronix.tm.resource.jdbc.BaseProxyHandlerClass
      extended by bitronix.tm.resource.jdbc.JdbcUncachedPreparedStatementHandle
All Implemented Interfaces:
InvocationHandler

public class JdbcUncachedPreparedStatementHandle
extends BaseProxyHandlerClass


Constructor Summary
JdbcUncachedPreparedStatementHandle(PreparedStatement delegate, JdbcPooledConnection pooledConnection)
           
 
Method Summary
 void close()
           
 boolean equals(Object object)
           
 ResultSet executeQuery()
           
 ResultSet executeQuery(String sql)
           
 ResultSet getGeneratedKeys()
           
 Object getProxiedDelegate()
          Must be implemented by the sub-class of this class.
 ResultSet getResultSet()
           
 boolean isWrapperFor(Class<?> iface)
           
<T> T
unwrap(Class<T> iface)
           
 
Methods inherited from class bitronix.tm.resource.jdbc.BaseProxyHandlerClass
invoke
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcUncachedPreparedStatementHandle

public JdbcUncachedPreparedStatementHandle(PreparedStatement delegate,
                                           JdbcPooledConnection pooledConnection)
Method Detail

getProxiedDelegate

public Object getProxiedDelegate()
                          throws Exception
Description copied from class: BaseProxyHandlerClass
Must be implemented by the sub-class of this class. This method should return the "true" object to be delegated to in the case that the method is not overridden by the sub-class.

Specified by:
getProxiedDelegate in class BaseProxyHandlerClass
Returns:
the true delegate object
Throws:
Exception - can throw any exception if desired

isWrapperFor

public boolean isWrapperFor(Class<?> iface)
                     throws SQLException
Throws:
SQLException

unwrap

public <T> T unwrap(Class<T> iface)
         throws SQLException
Throws:
SQLException

close

public void close()
           throws SQLException
Throws:
SQLException

executeQuery

public ResultSet executeQuery(String sql)
                       throws SQLException
Throws:
SQLException

getGeneratedKeys

public ResultSet getGeneratedKeys()
                           throws SQLException
Throws:
SQLException

getResultSet

public ResultSet getResultSet()
                       throws SQLException
Throws:
SQLException

executeQuery

public ResultSet executeQuery()
                       throws SQLException
Throws:
SQLException

equals

public boolean equals(Object object)
Overrides:
equals in class Object


Copyright © 2006-2013 Bitronix Software. All Rights Reserved.