Package easyJ.database.dao.command

Examples of easyJ.database.dao.command.SelectCommand.execute()


        }
        scmd.setFilter(filter);
        String sql = scmd.getSQL();
        // EasyJLog.debug(scmd.getExecutableSQL());

        ArrayList result = (ArrayList) scmd.execute(conn);
        accurateProperties = null;
        return result;
    }

    public ArrayList query(SelectCommand scmd, Connection conn)
View Full Code Here


            for (int i = 0; i < orderRules.length; i++)
                scmd.addOrderRule(orderRules[i]);
        }
        scmd.setFilter(filter);
        // EasyJLog.debug(scmd.getExecutableSQL());
        ArrayList result = (ArrayList) scmd.execute(conn);
        accurateProperties = null;
        return result;
    }

    /*
 
View Full Code Here

                        .nextToken());
                OrderRule orderRule = new OrderRule(propertyName, direction);
                scmd.addOrderRule(orderRule);
            }
        }
        ArrayList list = (ArrayList) scmd.execute(conn);
        page.setPageData(list);
        return page;
    }

    public Page query(Object o, int currentPageNo, Connection conn)
View Full Code Here

                * Page.pageSize);
        // 因为sql的语句中条件出现了两次,所以参数也要两次。
        paramList.addAll(paramList);
        String sql = scmd.getSQL();
        // EasyJLog.debug(scmd.getExecutableSQL());
        ArrayList list = (ArrayList) scmd.execute(conn);
        page.setPageData(list);
        accurateProperties = null;
        return page;
    }

View Full Code Here

        scmd.setLimits((currentPageNo - 1) * Page.pageSize, currentPageNo
                * Page.pageSize);
        // 因为sql的语句中条件出现了两次,所以参数也要两次。
        paramList.addAll(paramList);
        // EasyJLog.debug(scmd.getExecutableSQL());
        ArrayList list = (ArrayList) scmd.execute(conn);
        page.setPageData(list);
        accurateProperties = null;
        return page;
    }

View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.