public class org.apache.ibatis.executor.statement.PreparedStatementHandler extends org.apache.ibatis.executor.statement.BaseStatementHandler
{
public void <init>(org.apache.ibatis.executor.Executor, org.apache.ibatis.mapping.MappedStatement, java.lang.Object, org.apache.ibatis.session.RowBounds, org.apache.ibatis.session.ResultHandler, org.apache.ibatis.mapping.BoundSql)
{
org.apache.ibatis.executor.statement.PreparedStatementHandler v;
org.apache.ibatis.mapping.BoundSql v;
org.apache.ibatis.executor.Executor v;
org.apache.ibatis.mapping.MappedStatement v;
java.lang.Object v;
org.apache.ibatis.session.ResultHandler v;
org.apache.ibatis.session.RowBounds v;
v := @this: org.apache.ibatis.executor.statement.PreparedStatementHandler;
v := @parameter: org.apache.ibatis.executor.Executor;
v := @parameter: org.apache.ibatis.mapping.MappedStatement;
v := @parameter: java.lang.Object;
v := @parameter: org.apache.ibatis.session.RowBounds;
v := @parameter: org.apache.ibatis.session.ResultHandler;
v := @parameter: org.apache.ibatis.mapping.BoundSql;
specialinvoke v.<org.apache.ibatis.executor.statement.BaseStatementHandler: void <init>(org.apache.ibatis.executor.Executor,org.apache.ibatis.mapping.MappedStatement,java.lang.Object,org.apache.ibatis.session.RowBounds,org.apache.ibatis.session.ResultHandler,org.apache.ibatis.mapping.BoundSql)>(v, v, v, v, v, v);
return;
}
public int update(java.sql.Statement) throws java.sql.SQLException
{
org.apache.ibatis.executor.statement.PreparedStatementHandler v;
org.apache.ibatis.executor.Executor v;
org.apache.ibatis.executor.keygen.KeyGenerator v;
org.apache.ibatis.mapping.BoundSql v;
org.apache.ibatis.mapping.MappedStatement v, v;
int v;
java.sql.Statement v;
java.lang.Object v;
v := @this: org.apache.ibatis.executor.statement.PreparedStatementHandler;
v := @parameter: java.sql.Statement;
interfaceinvoke v.<java.sql.PreparedStatement: boolean execute()>();
v = interfaceinvoke v.<java.sql.PreparedStatement: int getUpdateCount()>();
v = v.<org.apache.ibatis.executor.statement.PreparedStatementHandler: org.apache.ibatis.mapping.BoundSql boundSql>;
v = virtualinvoke v.<org.apache.ibatis.mapping.BoundSql: java.lang.Object getParameterObject()>();
v = v.<org.apache.ibatis.executor.statement.PreparedStatementHandler: org.apache.ibatis.mapping.MappedStatement mappedStatement>;
v = virtualinvoke v.<org.apache.ibatis.mapping.MappedStatement: org.apache.ibatis.executor.keygen.KeyGenerator getKeyGenerator()>();
v = v.<org.apache.ibatis.executor.statement.PreparedStatementHandler: org.apache.ibatis.executor.Executor executor>;
v = v.<org.apache.ibatis.executor.statement.PreparedStatementHandler: org.apache.ibatis.mapping.MappedStatement mappedStatement>;
interfaceinvoke v.<org.apache.ibatis.executor.keygen.KeyGenerator: void processAfter(org.apache.ibatis.executor.Executor,org.apache.ibatis.mapping.MappedStatement,java.sql.Statement,java.lang.Object)>(v, v, v, v);
return v;
}
public void batch(java.sql.Statement) throws java.sql.SQLException
{
java.sql.Statement v;
org.apache.ibatis.executor.statement.PreparedStatementHandler v;
v := @this: org.apache.ibatis.executor.statement.PreparedStatementHandler;
v := @parameter: java.sql.Statement;
interfaceinvoke v.<java.sql.PreparedStatement: void addBatch()>();
return;
}
public java.util.List query(java.sql.Statement, org.apache.ibatis.session.ResultHandler) throws java.sql.SQLException
{
java.util.List v;
org.apache.ibatis.executor.statement.PreparedStatementHandler v;
java.sql.Statement v;
org.apache.ibatis.executor.resultset.ResultSetHandler v;
org.apache.ibatis.session.ResultHandler v;
v := @this: org.apache.ibatis.executor.statement.PreparedStatementHandler;
v := @parameter: java.sql.Statement;
v := @parameter: org.apache.ibatis.session.ResultHandler;
interfaceinvoke v.<java.sql.PreparedStatement: boolean execute()>();
v = v.<org.apache.ibatis.executor.statement.PreparedStatementHandler: org.apache.ibatis.executor.resultset.ResultSetHandler resultSetHandler>;
v = interfaceinvoke v.<org.apache.ibatis.executor.resultset.ResultSetHandler: java.util.List handleResultSets(java.sql.Statement)>(v);
return v;
}
public org.apache.ibatis.cursor.Cursor queryCursor(java.sql.Statement) throws java.sql.SQLException
{
org.apache.ibatis.executor.statement.PreparedStatementHandler v;
java.sql.Statement v;
org.apache.ibatis.cursor.Cursor v;
org.apache.ibatis.executor.resultset.ResultSetHandler v;
v := @this: org.apache.ibatis.executor.statement.PreparedStatementHandler;
v := @parameter: java.sql.Statement;
interfaceinvoke v.<java.sql.PreparedStatement: boolean execute()>();
v = v.<org.apache.ibatis.executor.statement.PreparedStatementHandler: org.apache.ibatis.executor.resultset.ResultSetHandler resultSetHandler>;
v = interfaceinvoke v.<org.apache.ibatis.executor.resultset.ResultSetHandler: org.apache.ibatis.cursor.Cursor handleCursorResultSets(java.sql.Statement)>(v);
return v;
}
protected java.sql.Statement instantiateStatement(java.sql.Connection) throws java.sql.SQLException
{
org.apache.ibatis.executor.statement.PreparedStatementHandler v;
java.sql.Connection v;
java.lang.String[] v;
org.apache.ibatis.executor.keygen.KeyGenerator v;
org.apache.ibatis.mapping.BoundSql v;
int v;
java.lang.String v;
boolean v;
org.apache.ibatis.mapping.ResultSetType v, v, v;
java.sql.PreparedStatement v, v, v, v;
org.apache.ibatis.mapping.MappedStatement v, v, v, v;
v := @this: org.apache.ibatis.executor.statement.PreparedStatementHandler;
v := @parameter: java.sql.Connection;
v = v.<org.apache.ibatis.executor.statement.PreparedStatementHandler: org.apache.ibatis.mapping.BoundSql boundSql>;
v = virtualinvoke v.<org.apache.ibatis.mapping.BoundSql: java.lang.String getSql()>();
v = v.<org.apache.ibatis.executor.statement.PreparedStatementHandler: org.apache.ibatis.mapping.MappedStatement mappedStatement>;
v = virtualinvoke v.<org.apache.ibatis.mapping.MappedStatement: org.apache.ibatis.executor.keygen.KeyGenerator getKeyGenerator()>();
v = v instanceof org.apache.ibatis.executor.keygen.Jdbc3KeyGenerator;
if v == 0 goto label;
v = v.<org.apache.ibatis.executor.statement.PreparedStatementHandler: org.apache.ibatis.mapping.MappedStatement mappedStatement>;
v = virtualinvoke v.<org.apache.ibatis.mapping.MappedStatement: java.lang.String[] getKeyColumns()>();
if v != null goto label;
v = interfaceinvoke v.<java.sql.Connection: java.sql.PreparedStatement prepareStatement(java.lang.String,int)>(v, 1);
return v;
label:
v = interfaceinvoke v.<java.sql.Connection: java.sql.PreparedStatement prepareStatement(java.lang.String,java.lang.String[])>(v, v);
return v;
label:
v = v.<org.apache.ibatis.executor.statement.PreparedStatementHandler: org.apache.ibatis.mapping.MappedStatement mappedStatement>;
v = virtualinvoke v.<org.apache.ibatis.mapping.MappedStatement: org.apache.ibatis.mapping.ResultSetType getResultSetType()>();
v = <org.apache.ibatis.mapping.ResultSetType: org.apache.ibatis.mapping.ResultSetType DEFAULT>;
if v != v goto label;
v = interfaceinvoke v.<java.sql.Connection: java.sql.PreparedStatement prepareStatement(java.lang.String)>(v);
return v;
label:
v = v.<org.apache.ibatis.executor.statement.PreparedStatementHandler: org.apache.ibatis.mapping.MappedStatement mappedStatement>;
v = virtualinvoke v.<org.apache.ibatis.mapping.MappedStatement: org.apache.ibatis.mapping.ResultSetType getResultSetType()>();
v = virtualinvoke v.<org.apache.ibatis.mapping.ResultSetType: int getValue()>();
v = interfaceinvoke v.<java.sql.Connection: java.sql.PreparedStatement prepareStatement(java.lang.String,int,int)>(v, v, 1007);
return v;
}
public void parameterize(java.sql.Statement) throws java.sql.SQLException
{
java.sql.Statement v;
org.apache.ibatis.executor.statement.PreparedStatementHandler v;
org.apache.ibatis.executor.parameter.ParameterHandler v;
v := @this: org.apache.ibatis.executor.statement.PreparedStatementHandler;
v := @parameter: java.sql.Statement;
v = v.<org.apache.ibatis.executor.statement.PreparedStatementHandler: org.apache.ibatis.executor.parameter.ParameterHandler parameterHandler>;
interfaceinvoke v.<org.apache.ibatis.executor.parameter.ParameterHandler: void setParameters(java.sql.PreparedStatement)>(v);
return;
}
}