com.ibatis.db.sqlmap
Class StatementFactory.StatementWrapper
java.lang.Object
com.ibatis.db.sqlmap.StatementFactory.StatementWrapper
- Enclosing class:
- StatementFactory
- private static class StatementFactory.StatementWrapper
- extends java.lang.Object
This class is used for managing pooled PreparedStatements while
they are in use.
It is not fully encapsulated to increase performance, however
being a private inner class, it should be relatively safe.
Field Summary |
java.sql.Connection |
connection
|
java.sql.PreparedStatement |
ps
|
java.lang.String |
sql
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
connection
public java.sql.Connection connection
sql
public java.lang.String sql
ps
public java.sql.PreparedStatement ps
StatementFactory.StatementWrapper
public StatementFactory.StatementWrapper(java.sql.Connection conn,
java.lang.String sql,
java.sql.PreparedStatement ps)
throws java.sql.SQLException
equals
public boolean equals(java.lang.Object o)
hashCode
public int hashCode()
toString
public java.lang.String toString()