Package javapart

Source Code of javapart.JavaPart

/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package javapart;

import fr.androlibjson.DBQueryHelper;
import java.util.ArrayList;
import org.omg.PortableInterceptor.SYSTEM_EXCEPTION;

/**
*
* @author virus
*/
public class JavaPart {

   /**
    * @param args the command line arguments
    */
   public static void main(String[] args) {
      DBQueryHelper db = new DBQueryHelper("http","localhost/androlibjson/index.php");
      String SQL = "SELECT * FROM test";
      ArrayList ar = db.rawRequest("", SQL);
      for (int i=0;i<ar.size();i++){
         System.out.println(ar.get(i).toString());
      }
   }
}
TOP

Related Classes of javapart.JavaPart

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.