Examples of queryBySql()


Examples of com.xrb.mysql.data.impl.FetchDataImpl.queryBySql()

   */
  public static void main(String[] args) throws SQLException {
    // TODO Auto-generated method stub
    FetchDataImpl data = new FetchDataImpl();
    String sql = "SELECT * FROM USER";
    ResultSet result = data.queryBySql(sql);
    while(result.next()){
      System.out.println(result.getString(1)+" "+result.getString(2)+" "+result.getString(3)+" "+result.getString(4)+" "+result.getString(5));
      count = result.getRow();
    }
    System.out.println(count);
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.