Tag:Set element

  • Simple implementation of JDBC paging query

    Time:2019-12-20

    JDBC paging query source code /** *Paging query * *@ param SQL paging query statement *@ param page (minimum 1) *@ param PageSize */ public void pageQuery(String sql,int pageSize, int page) { Connection conn = null; Statement st = null; ResultSet rs = null; RowSetFactory factory = null; try { //Get connection to database conn […]