public String executeCallableForXML(Connection con,RowHandler rowhandler) throws java.sql.SQLException { executeCallable(con,XMLMark.class,rowhandler); if(this.callableResult != null) return (String)callableResult.getCommonresult(); return null; }
public Object executeCallableForObject(Connection con,Class objectClass,RowHandler rowHandler) throws java.sql.SQLException { executeCallable(con,objectClass,rowHandler); if(callableResult != null) return this.callableResult.getCommonresult(); return null; }
rowHandler, ResultMap.type_maparray); return (Record[])resultMap.getCommonresult();
public String executeSelectForXML(String dbname,String sql,long offset,int pagesize,boolean robotquery , Connection con,RowHandler rowhandler) throws SQLException { StatementInfo stmtInfo = new StatementInfo(dbname, new NewSQLInfo(sql), // Connection con, false, offset, pagesize, robotquery, con,oraclerownum); ResultMap resultMap = innerExecutePagineJDBC(stmtInfo, XMLMark.class, rowhandler, ResultMap.type_xml); return (String)resultMap.getCommonresult(); }
public List executeSelectForList(String dbname, String sql, long offset, int pagesize, boolean robotquery,Connection con,Class objectType,RowHandler rowhandler) throws SQLException { StatementInfo stmtInfo = new StatementInfo(dbname, new NewSQLInfo(sql), // Connection con, false, offset, pagesize, robotquery, con,oraclerownum); ResultMap resultMap = this.innerExecutePagineJDBC(stmtInfo, objectType, rowhandler, ResultMap.type_list); return (List)resultMap.getCommonresult(); } public List executeSelectForList(String dbname, String sql, long offset, int pagesize,Connection con,Class objectType,RowHandler rowhandler) throws SQLException
public List executeSelectForOracleList(String dbname, String sql, long offset, int pagesize, String oraclerownum,Connection con,Class objectType,RowHandler rowhandler) throws SQLException { StatementInfo stmtInfo = new StatementInfo(dbname, new NewSQLInfo(sql), // Connection con, false, offset, pagesize, isRobotQuery(dbname), con,oraclerownum); ResultMap resultMap = this.innerExecutePagineJDBC(stmtInfo, objectType, rowhandler, ResultMap.type_list); return (List)resultMap.getCommonresult(); }
public Object[] executeSelectForObjectArray(String dbname,String sql,long offset,int pagesize,Class objectType,Connection con,RowHandler rowhandler) throws SQLException { StatementInfo stmtInfo = new StatementInfo(dbname, new NewSQLInfo(sql), // Connection con, false, offset, pagesize, isRobotQuery(dbname), con,oraclerownum); ResultMap resultMap = innerExecutePagineJDBC(stmtInfo, objectType, rowhandler, ResultMap.type_objectarray); return (Object[])resultMap.getCommonresult(); }
public List executeSelectForList(String dbname, String sql, Connection con,Class objectType,RowHandler rowhandler) throws SQLException { StatementInfo stmtInfo = null; try { stmtInfo = new StatementInfo(dbname, new NewSQLInfo(sql), false,con,false); ResultMap resultMap = innerExecuteJDBC(stmtInfo, objectType,rowhandler,ResultMap.type_list); return (List)resultMap.getCommonresult(); } finally { if(stmtInfo != null) { stmtInfo.dofinally(); stmtInfo = null; } } }
/*************************************************************************** * for xml ***************************************************************************/ public String executeSelectForXML(String dbname, String sql, Connection con,RowHandler rowhandler) throws SQLException { StatementInfo stmtInfo = null; try{ stmtInfo = new StatementInfo(dbname, new NewSQLInfo(sql), false,con,false); ResultMap resultMap = innerExecuteJDBC(stmtInfo, XMLMark.class,rowhandler,ResultMap.type_xml); return (String)resultMap.getCommonresult(); } finally { if(stmtInfo != null) { stmtInfo.dofinally(); stmtInfo = null; } } }
public Object[] executeSelectForObjectArray(String dbname,String sql, Class objectType,Connection con, RowHandler rowhandler) throws SQLException { StatementInfo stmtInfo = null; try{ stmtInfo = new StatementInfo(dbname, new NewSQLInfo(sql), false,con,false); ResultMap resultMap = innerExecuteJDBC(stmtInfo, objectType,rowhandler,ResultMap.type_objectarray); return (Object[])resultMap.getCommonresult(); } finally { if(stmtInfo != null) { stmtInfo.dofinally(); stmtInfo = null; } } }
public Object executeSelectForObject(String dbname, String sql, Connection con,Class objectType, RowHandler rowhandler) throws SQLException { StatementInfo stmtInfo = null; try { stmtInfo = new StatementInfo(dbname, new NewSQLInfo(sql), false,con,false); ResultMap resultMap = innerExecuteJDBC(stmtInfo, objectType,rowhandler,ResultMap.type_objcet); return (Object)resultMap.getCommonresult(); } finally { if(stmtInfo != null) { stmtInfo.dofinally(); stmtInfo = null; } } }
this.allResults = (Record[])resultMap.getCommonresult(); this.size = allResults == null ? 0 : allResults.length; resultMap = null; return resultMap.getCommonresult(); this.allResults = (Record[])resultMap.getCommonresult(); this.size = allResults == null ? 0 : allResults.length; return null; return resultMap.getCommonresult();
ResultMap resultMap = innerExecuteJDBC(stmtInfo, null,null,ResultMap.type_maparray); return (Record[])resultMap.getCommonresult();