|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.alibaba.druid.proxy.jdbc.WrapperProxyImpl
com.alibaba.druid.proxy.jdbc.StatementProxyImpl
com.alibaba.druid.proxy.jdbc.PreparedStatementProxyImpl
com.alibaba.druid.pool.ha.MultiDataSourcePreparedStatement
public class MultiDataSourcePreparedStatement
| Field Summary |
|---|
| Fields inherited from interface java.sql.Statement |
|---|
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO |
| Constructor Summary | |
|---|---|
MultiDataSourcePreparedStatement(MultiDataSourceConnection connection,
PreparedStatement statement,
String sql,
long id)
|
|
| Method Summary | |
|---|---|
boolean |
execute()
|
ResultSet |
executeQuery()
|
int |
executeUpdate()
|
MultiDataSourceConnection |
getConnection()
|
| Methods inherited from class com.alibaba.druid.proxy.jdbc.PreparedStatementProxyImpl |
|---|
addBatch, clearParameters, getBatchSql, getLastExecuteSql, getMetaData, getParameterMetaData, getParameters, getRawObject, getSql, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setNull, setNull, setObject, setObject, setObject, setParameter, setRef, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL, unwrap |
| Methods inherited from class com.alibaba.druid.proxy.jdbc.WrapperProxyImpl |
|---|
getAttributes, getId, isWrapperFor |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.alibaba.druid.proxy.jdbc.StatementProxy |
|---|
getBatchSqlList, getConnectionProxy, getLastExecuteTimeNano, getLastExecuteType, getSqlStat, isFirstResultSet, setLastExecuteTimeNano, setSqlStat |
| Methods inherited from interface com.alibaba.druid.proxy.jdbc.WrapperProxy |
|---|
getAttributes, getId |
| Methods inherited from interface java.sql.Wrapper |
|---|
isWrapperFor |
| Constructor Detail |
|---|
public MultiDataSourcePreparedStatement(MultiDataSourceConnection connection,
PreparedStatement statement,
String sql,
long id)
| Method Detail |
|---|
public MultiDataSourceConnection getConnection()
getConnection in interface StatementgetConnection in class StatementProxyImpl
public boolean execute()
throws SQLException
execute in interface PreparedStatementexecute in class PreparedStatementProxyImplSQLException
public ResultSet executeQuery()
throws SQLException
executeQuery in interface PreparedStatementexecuteQuery in class PreparedStatementProxyImplSQLException
public int executeUpdate()
throws SQLException
executeUpdate in interface PreparedStatementexecuteUpdate in class PreparedStatementProxyImplSQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||