Package com.vaadin.addon.sqlcontainer.query

Examples of com.vaadin.addon.sqlcontainer.query.FreeformQuery


    try {
     
      pool = new SimpleJDBCConnectionPool("com.mysql.jdbc.Driver",
          "jdbc:mysql://localhost:3306/pl", "root", "0");
      //tableQuery = new TableQuery("myActions", pool);
      query = new FreeformQuery(sQuery, pool, "id");
      //query.setDelegate(new _FreeFormDelegate());
      //container = new SQLContainer(tableQuery);
      container = new SQLContainer(query);
    } catch (SQLException e) {
      // TODO Auto-generated catch block
View Full Code Here


   
    String sQuery = "SELECT service,theme,action,validation FROM myActions WHERE validation='EN COURS' AND idAeroport='"+airport+"'";
   
    try {
      pool = new SimpleJDBCConnectionPool("com.mysql.jdbc.Driver","jdbc:mysql://localhost:3306/pl", "root", "0");
      query = new FreeformQuery(sQuery, pool, "id");
      container = new SQLContainer(query);
    } catch (SQLException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }
View Full Code Here

TOP

Related Classes of com.vaadin.addon.sqlcontainer.query.FreeformQuery

Copyright © 2018 www.massapicom. 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.