Examples of executeQuery()


Examples of KFramework30.Communication.dbTransactionClientClass.executeQuery()

              
               
                // STATUS COMBO
                dbTransactionClientClass query = new dbTransactionClientClass(configuration, log);
                query.prepare( " select FACSTATUS_STATUS from SAMPLE_FACTURA_STATUS " );
                query.executeQuery( 0 , 999 );                 
                Vector< String > options = new Vector< String >();
                while( query.fetch() ) options.add( (String )query.getField( "FACSTATUS_STATUS" ) );               
               
                setColumnEditor("STATUS", new ComboCellEditorClass( options,  tableModel, log, true ) );
                setColumnRenderer("STATUS", new ComboCellRendererClass( options, tableModel, log) );
View Full Code Here

Examples of ar.com.restba.DefaultRestBAClient.executeQuery()

  public static void main(String[] args) {

    RestBAClient dataBairesClient = new DefaultRestBAClient();
    String query = "gcba/metadata/_search?&from=0";

    JsonObject q = dataBairesClient.executeQuery(query, JsonObject.class);
   
    System.out.println("JSON object: " + q.toString());
  }

}
View Full Code Here

Examples of ar.com.restba.RestBAClient.executeQuery()

  public static void main(String[] args) {

    RestBAClient dataBairesClient = new DefaultRestBAClient();
    String query = "gcba/metadata/_search?&from=0";

    JsonObject q = dataBairesClient.executeQuery(query, JsonObject.class);
   
    System.out.println("JSON object: " + q.toString());
  }

}
View Full Code Here

Examples of ariba.ui.meta.persistence.ObjectContext.executeQuery()

    }

    public static User find (String email)
    {
        ObjectContext context = ObjectContext.get();
        List<User> results = context.executeQuery(User.class, AWUtil.map("email", email));
        return ListUtil.nullOrEmptyList(results) ? null : results.get(0);
    }

    public static User create (String email, String fullName)
    {
View Full Code Here

Examples of br.gov.serpro.ouvidoria.util.freechart.data.EnhancedJDBCPieDataset.executeQuery()

        EnhancedJDBCPieDataset pds = (EnhancedJDBCPieDataset) ds;
        pds.getColumnHelper().setCustomMapping(new int[] { 1, 3 });
        TotalQueryFilter tqf = new TotalQueryFilter("COUNT");
        pds.setFilter(tqf);
        pds.setLabelGenerator(tqf);
        pds.executeQuery(query, true);
        return ds;
      }

      JDBCFlatCategoryDataset dataSet = (JDBCFlatCategoryDataset) ds;
      // TIME LOCAL RESPONDIDOS AVALIADOS SATISFATORIOS
View Full Code Here

Examples of br.gov.serpro.ouvidoria.util.freechart.data.JDBCFlatCategoryDataset.executeQuery()

    TotalQueryFilter tqf = new TotalQueryFilter();
    dataSet.setFilter(tqf);
    dataSet.setLabelGenerator(tqf);

    dataSet.executeQuery(query, true);
    dataSet.fillGaps();
    return dataSet;

  }
View Full Code Here

Examples of br.net.woodstock.rockframework.core.jdbc.Client.executeQuery()

  @Override
  public <T> T getSingle(final JDBCFilter filter, final JDBCMapper<T> mapper) {
    try {
      Client client = new CommonCallableClient(this.getConnection());
      ResultSet rs = client.executeQuery(filter.getFilter(), this.toParameterList(filter.getParameters()));
      if (rs.next()) {
        return mapper.map(rs);
      }
      return null;
    } catch (SQLException e) {
View Full Code Here

Examples of br.net.woodstock.rockframework.core.jdbc.impl.CommonCallableClient.executeQuery()

  @Override
  public <T> T getSingle(final JDBCFilter filter, final JDBCMapper<T> mapper) {
    try {
      Client client = new CommonCallableClient(this.getConnection());
      ResultSet rs = client.executeQuery(filter.getFilter(), this.toParameterList(filter.getParameters()));
      if (rs.next()) {
        return mapper.map(rs);
      }
      return null;
    } catch (SQLException e) {
View Full Code Here

Examples of ch.ethz.vs.rowa.Middleware.executeQuery()

    } catch (MiddlewareException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }
   
    mware.executeQuery(c1, null, "do some query");
    mware.executeQuery(c2, null, "do some query");
    mware.executeQuery(c2, null, "query 2");
    mware.executeQuery(c1, null, "query 2");
    mware.commitTransaction(c1);
   
View Full Code Here

Examples of com.adito.jdbc.JDBCPreparedStatement.executeQuery()

       
        if (type == WebForward.TYPE_PATH_BASED_REVERSE_PROXY || type == WebForward.TYPE_HOST_BASED_REVERSE_PROXY) {
            JDBCPreparedStatement ps2 = db.getStatement("getWebForward.reverseProxy.selectById");
            try {
                ps2.setInt(1, id);
                ResultSet rs2 = ps2.executeQuery();
                try {
                    StringBuffer paths = new StringBuffer();
                    String hostHeader = "";
                    while (rs2.next()) {
                        if (paths.length() > 0) {
View Full Code Here
TOP
Copyright © 2015 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.