butler.sql.util
Class JPreparedStatement
java.lang.Object
butler.sql.util.JPreparedStatement
public class JPreparedStatement
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
JPreparedStatement
public JPreparedStatement(java.sql.Connection conn,
java.lang.String sql)
throws java.lang.Exception
- Throws:
java.lang.Exception
executeQuery
public java.sql.ResultSet executeQuery()
throws java.lang.Exception
- Throws:
java.lang.Exception
executeUpdate
public int executeUpdate()
throws java.lang.Exception
- Throws:
java.lang.Exception
executeBatch
public int[] executeBatch()
throws java.lang.Exception
- Throws:
java.lang.Exception
setObject
public void setObject(int parameterIndex,
java.lang.Object x)
throws java.lang.Exception
- Throws:
java.lang.Exception
setString
public void setString(int parameterIndex,
java.lang.String x)
throws java.lang.Exception
- Throws:
java.lang.Exception
setDate
public void setDate(int parameterIndex,
java.sql.Date x)
throws java.lang.Exception
- Throws:
java.lang.Exception
setTimestamp
public void setTimestamp(int parameterIndex,
java.sql.Timestamp x)
throws java.lang.Exception
- Throws:
java.lang.Exception
setNull
public void setNull(int index,
int sqlType)
throws java.lang.Exception
- Throws:
java.lang.Exception
setCharacterStream
public void setCharacterStream(int parameterIndex,
java.io.Reader reader,
int length)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
close
public void close()
throws java.lang.Exception
- Throws:
java.lang.Exception
addBatch
public void addBatch()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getParams
public java.util.List getParams()
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
addBatch
public void addBatch(java.lang.String sql)
throws java.sql.SQLException
- Throws:
java.sql.SQLException