Package edu.spbstu.hoteldb.sql

Examples of edu.spbstu.hoteldb.sql.PersonnelSearchQuery


  public void handle(ActionEvent arg0) {
    List<Object> arg = new LinkedList<Object>();
    arg.add(((TextField) args.get(0)).getText());
    arg.add(((TextField) args.get(1)).getText());
    try {
      SQLQuery query = new PersonnelSearchQuery(results, connect);
      query.prepareQuery(arg);
      query.doQuery();
      query.close();
    } catch (SQLException e) {
      results.appendText("invalid query\n");
      e.printStackTrace();
    }
  }
View Full Code Here

TOP

Related Classes of edu.spbstu.hoteldb.sql.PersonnelSearchQuery

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.