Package com.ipc.oce.query

Examples of com.ipc.oce.query.OCQueryResult.unload()


  @Test
  public void getResultAndUnload() throws JIException {
    QueryTemplate qt = new QueryTemplate(app);
    OCQueryResultSelection selection = qt.queryForSelection("SELECT * FROM Catalog.Валюты");
    OCQueryResult result = selection.getOwner();
    OCValueTable vt = result.unload();
    assertTrue(vt.size() > 0);
    OCValueTableColumnCollection vtCC = vt.getColumns();
    int vtCCSZ = vtCC.size();
    assertTrue(vtCCSZ > 0);
    System.out.println(vt.size());
View Full Code Here


    OCCatalogRef orgRef = catSel.getRef();
   
    query.setParameter("Организация", new OCVariant(orgRef));
   
    OCQueryResult result = query.execute();
    OCValueTable table = result.unload();
    System.out.println(table.listColumns());
   
    OCStructure structure = app.newStructure();
    structure.insert("ТаблицаДанных", table);
   
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.