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:
java.lang.reflect.InvocationHandler

public class JdbcUncachedPreparedStatementHandle
extends BaseProxyHandlerClass


Constructor Summary
JdbcUncachedPreparedStatementHandle(java.sql.PreparedStatement delegate, JdbcPooledConnection pooledConnection)
           
 
Method Summary
 void close()
           
 boolean equals(java.lang.Object object)
           
 java.sql.ResultSet executeQuery()
           
 java.sql.ResultSet executeQuery(java.lang.String sql)
           
 java.sql.ResultSet getGeneratedKeys()
           
 java.lang.Object getProxiedDelegate()
          Must be implemented by the sub-class of this class.
 java.sql.ResultSet getResultSet()
           
 boolean isWrapperFor(java.lang.Class<?> iface)
           
<T> T
unwrap(java.lang.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(java.sql.PreparedStatement delegate,
                                           JdbcPooledConnection pooledConnection)
Method Detail

getProxiedDelegate

public java.lang.Object getProxiedDelegate()
                                    throws java.lang.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:
java.lang.Exception - can throw any exception if desired

isWrapperFor

public boolean isWrapperFor(java.lang.Class<?> iface)
                     throws java.sql.SQLException
Throws:
java.sql.SQLException

unwrap

public <T> T unwrap(java.lang.Class<T> iface)
         throws java.sql.SQLException
Throws:
java.sql.SQLException

close

public void close()
           throws java.sql.SQLException
Throws:
java.sql.SQLException

executeQuery

public java.sql.ResultSet executeQuery(java.lang.String sql)
                                throws java.sql.SQLException
Throws:
java.sql.SQLException

getGeneratedKeys

public java.sql.ResultSet getGeneratedKeys()
                                    throws java.sql.SQLException
Throws:
java.sql.SQLException

getResultSet

public java.sql.ResultSet getResultSet()
                                throws java.sql.SQLException
Throws:
java.sql.SQLException

executeQuery

public java.sql.ResultSet executeQuery()
                                throws java.sql.SQLException
Throws:
java.sql.SQLException

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object


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