Qustion regarding Query Builder.

Hi All,
We need to write a query to get the information like " User having access to all the his report"
and "List of all the user having access to their reports".
Thanks.

I don't think that Query Builder is going to let you query for such questions. This can be done using the BOE SDK, which comes in Java and .NET flavor. The QB only lets you query the CMS DB for certain information related to objects but what you are trying to do will be considered more complex for simple SQL queries via the QB.
You can post on the SDK Forum for better help on code/samples to do what you are trying to accomplish.

Similar Messages

  • Regarding query builder api

    Hi,
       i am able to create image reference but not able to create image path from dam i am putting like this
       map.put("type", "dam:Asset"); is this correct or is there any other way to getpath of image from dam .please let me know
    code------------
    Map<String, String> map = new HashMap<String, String>();
            map.put("path", "/content/dam");
            map.put("type", "dam:Asset");
            map.put("group.p.or", "true"); // combine this group with OR
            map.put("group.1_fulltext", fulltextSearchTerm);
            map.put("group.1_fulltext.relPath", "jcr:content");
            map.put("group.2_fulltext", fulltextSearchTerm);
            map.put("group.2_fulltext.relPath", "jcr:content/@cq:tags");
           log.info("======mapout======"+map);
            Query query = builder.createQuery(PredicateGroup.create(map),session);
            log.info("======query======"+query);
            SearchResult result = query.getResult();
             // log.info("======result======"+result);
                   // iterating over the results
            for (Hit hit : result.getHits()) {
                String path = hit.getPath();
              // ValueMap props = hit.getProperties();
               response.getWriter().write(path);
               //response.getWriter().write(props);
                 log.info("======result======"+result);

    Regarding this:
    map.put("group.2_fulltext.relPath", "jcr:content/@cq:tags");
    Note that it's "jcr:content/metadata/@cq:tags" for assets, and note that full text searching the cq:tags property is not a good idea, since these are IDs, not the tag titles that you see in the UI and when the titles change or a tag is moved/merged, the IDs are not changed. You want to first search in the tags tree to find matching tags and then search for them, using the tagid predicate.

  • Queries regarding Query Builder.

    How to write a query to get the information of a Group.That information should have the number of users , sub groups and sub group users.
    Thanks.

    SELECT SI_NAME, SI_DESCRIPTION, SI_ID, SI_ALIASES, SI_GROUP_MEMBERS
    FROM
    CI_SYSTEMOBJECTS
    WHERE
    SI_KIND = 'usergroup'
    The query above will return all the groups within the system specifying the following information:
    SI_NAME: Group Name
    SI_DESCRIPTION: Group Description
    SI_ID: The Unique ID of object within BOE system.  This ID is added to SI_USERGROUP property for each User in BOE system that is part of the group. 
    SI_ALIASES: Specifies if the group is an Enterprise, Active Directory, LDAP, or Windows NT group.
    SI_GROUP_MEMBERS: Lists all the unique user SI_IDu2019s that belong to the group.
    Using that you can dig up the rest of the information you need.

  • How to add a new field in Query Builder or Report

    Hi,
    I am writing a report using Oracle 6i query builder and report.
    example:
    QTY_1 QTY_2 QTY_3
    QTY_1 and QTY_2 are table fields and QTY_3 Is not. I need to show the value of (QTY_2-QTY_1) in QTY_3.
    I need to create a field QTY_3 which is not in the database table. How do I do that?
    Jun

    Hi,
    Try using formula to return the qty_1 - qty2.
    or
    select qty_1, qty_2, (qty_1 - qty_2) qty_3
    from table;
    regards,
    CB

  • Query Builder in Crystal Report Server 2008?

    I am running CRS2008 V1 on Windows Server 2003 as single server install. I am using IIS as the web application server. Query Builder doesn't show up as an option anywhere I can find. How do I get to Query Builder?
    How do I install Query Builder if it is not already available?
    Is Tomcat required?
    Can I continue to use IIS but have Query Builder available as well?
    Can I go ahead and install Tomcat without crashing my BOE installation and IIS?
    How do I install Tomcat on this server?

    Well I've never installed CRS 2008 so I'm not sure. If the installer allows you should be able to go to add/remnove programs and modify the install, adding tomcat/java. If that is not allowed the installer may require IIS or tomcat only and a full reinstall (I hope not).
    I work with BOE 3.1 mostly and we can add/remove it with that installer.
    Regards,
    Tim

  • Problem of Query Builder

    Hi ,
    I am using SQL Developer 1.1.0.23. In this I was trying to use Query Builder. In this I am facing one problem. In our company, we are provided with the view_only schema which are having access to all the objects.
    Now while using Query Builder, I want to use the table of the other schema. But Query builder allow only tables owned by the schema with which we are logged in. This is making it virtually useless if we need to create the query like
    Select a.col1,
    b.co1
    from schema1.table_name1 a,
    schema2.table_name2 b;
    Can we created such query with Query Builder, or do we have any work around for this ???
    Regards
    Martand Joshi

    This is correct. There is a bug logged for this, but at this stage the query builder does not support read only access.
    Sue

  • Internal errors during Query Builder

    Please help me to correct a problem. Database user has a very simple cube: a measure with two dimensions. User (named "warehouse") owns it, the fact table, the dimension tables etc.; client application connects using warehouse account too.
    While QueryBuilder makes a data source, one dimension (providers) fails at the some selections; for example, selections "top 10" and "last 3" works, but selection "measure value &gt; 10000" fails; the other dimension (services) works great with all selections tried.
    "Fails" means that selection step can be selected (moved from "available" to "selected" box), but cannot be configured (edited) at any manner, both in the left and right boxes - for example, I cannot edit value "10000". This selection cannot be applied too. Visually query builder does nothing, but prints exception trace (see below).
    My configuration:
    BI Beans Diagnostics(v1.0.0.0) 04.03.04
    ===============================================================================
    JDEV_ORACLE_HOME ............................. = C:\JDeveloper
    JAVA_HOME .................................... = C:\JDeveloper\jdk
    JDeveloper version ........................... = 9.0.3.1.1107
    BI Beans version ............................. = 9.0.3.6.0
    BI Beans internal version .................... = 2.7.0.14
    Connect to database .......................... = Successful
    JDBC driver version .......................... = 9.2.0.3.0
    JDBC JAR file location ....................... = C:\JDeveloper\jdbc\lib
    Database version ............................. = 9.2.0.4.0
    OLAP Catalog version ......................... = 9.2.0.4.1
    OLAP AW Engine version ....................... = 9.2.0.4.1
    OLAP API Server version ...................... = 9.2.0.4.1
    BI Beans Catalog version ..................... = N/A; not installed in warehouse
    OLAP API JAR file version .................... = 9.2
    OLAP API JAR file location ................... = C:\JDeveloper\jdev\lib\ext
    Load OLAP API metadata ....................... = Successful
    Number of metadata folders ................... = 3
    Number of metadata measures .................. = 1
    Number of metadata dimensions ................ = 2
    Metadata output location ..................... = C:\JDeveloper\bibeans\bin\bi_metadata.txt
    Exception:
    Thu Mar 04 11:08:21 MSK 2004 In oracle.dss.queryBuilder.QueryBuilderQueryAccessUtils::getDimMembers
    Sorry, these lines are re-translated from localized version
    oracle.express.ExpressServerException Error class: OLAPI
    Server errors description:
    DPR: Unable to create server cursor, Universal at TxsOqDefinitionManagerSince9202::crtCurMgrWthInputTypes
    OES: ORA-01722: invalid number
    , Universal at TxsRdbSelectStatement:execute()
         oracle.express.idl.ExpressOlapiDataCursorModule.CursorManagerInterface oracle.express.olapi.data.full.DefinitionManagerSince9202.createCursorManagerInterface(oracle.olapi.data.source.CursorManagerSpecification, oracle.olapi.data.source.SourceDefinition, oracle.olapi.data.source.Source[], long)
              DefinitionManagerSince9202.java:260
         oracle.express.olapi.data.full.ExpressSpecifiedCursorManager oracle.express.olapi.data.full.DefinitionManager.createCursorManager(oracle.olapi.data.source.CursorManagerSpecification, oracle.olapi.data.source.Source[], long)
              DefinitionManager.java:132
         oracle.olapi.data.source.SpecifiedCursorManager oracle.express.olapi.data.full.ExpressDataProvider.createCursorManagerSince9202(oracle.olapi.data.source.CursorManagerSpecification, oracle.olapi.data.source.Source[], long)
              ExpressDataProvider.java:729
         oracle.olapi.data.source.SpecifiedCursorManager oracle.express.olapi.data.full.ExpressDataProvider.internalCreateCursorManager(oracle.olapi.data.source.CursorManagerSpecification, oracle.olapi.data.source.Source[], long)
              ExpressDataProvider.java:624
         oracle.olapi.data.source.SpecifiedCursorManager oracle.express.olapi.data.full.ExpressDataProvider.createCursorManager(oracle.olapi.data.source.CursorManagerSpecification, oracle.olapi.data.source.Source[])
              ExpressDataProvider.java:555
         oracle.olapi.data.source.SpecifiedCursorManager oracle.olapi.data.source.DataProvider.createCursorManager(oracle.olapi.data.source.CursorManagerSpecification)
              DataProvider.java:269
         oracle.express.olapi.data.full.ExpressSpecifiedCursorManager[] oracle.dss.dataSource.QueryUtilities.setUpCursors(oracle.dss.dataSource.SourceTemplate[], oracle.dss.dataSource.common.CubeCursor[], oracle.olapi.data.source.Source[], oracle.express.olapi.data.full.ExpressSpecifiedCursorManager[], boolean, boolean, boolean, boolean)
              QueryUtilities.java:558
         oracle.express.olapi.data.full.ExpressSpecifiedCursorManager[] oracle.dss.dataSource.QueryServer._setUpCursorsForMainQuery(oracle.dss.dataSource.SourceTemplate[], oracle.dss.dataSource.common.CubeCursor[], boolean, boolean, boolean, boolean)
              QueryServer.java:7036
         void oracle.dss.dataSource.QueryServer._getCursorForCube(oracle.dss.dataSource.common.DimTree, boolean, boolean, boolean, boolean, boolean)
              QueryServer.java:4096
         void oracle.dss.dataSource.QueryServer._createCubeAndCursor(boolean, boolean, boolean)
              QueryServer.java:4251
         void oracle.dss.dataSource.QueryServer._createCommonQuery(java.lang.String[][], java.lang.String[], oracle.dss.util.Operation, oracle.dss.dataSource.common.QueryState)
              QueryServer.java:3894
         void oracle.dss.dataSource.QueryServer._initQuery(java.lang.String[][], java.lang.String[], oracle.dss.util.Operation, oracle.dss.dataSource.common.QueryState)
              QueryServer.java:3841
         java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[])
              native code
         java.lang.Object oracle.dss.util.Operation.execute(java.lang.Object)
              Operation.java:69
         java.lang.Object oracle.dss.dataSource.OperationQueue.update()
              OperationQueue.java:68
         java.lang.Object oracle.dss.dataSource.common.BaseOperationQueue.addOperation(oracle.dss.util.Operation, int)
              BaseOperationQueue.java:176
         java.lang.Object oracle.dss.dataSource.common.BaseOperationQueue.addOperation(oracle.dss.util.Operation)
              BaseOperationQueue.java:146
         java.lang.Object oracle.dss.dataSource.QueryServer.queueOperation(java.lang.String, oracle.dss.util.Parameter[], boolean, oracle.dss.dataSource.common.QueryEvent, java.lang.String, oracle.dss.util.Parameter[], oracle.dss.dataSource.common.QueryState)
              QueryServer.java:7073
         void oracle.dss.dataSource.QueryServer.initQuery(java.lang.String[][], java.lang.String[])
              QueryServer.java:3803
         java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[])
              native code
         java.lang.Object oracle.dss.util.Operation.execute(java.lang.Object)
              Operation.java:69
         java.lang.Object oracle.dss.dataSource.QueryManagerServer.sendQueue(oracle.dss.dataSource.common.BaseOperationQueue)
              QueryManagerServer.java:1548
         java.lang.Object oracle.dss.dataSource.common.OperationQueue.update()
              OperationQueue.java:198
         java.lang.Object oracle.dss.dataSource.common.BaseOperationQueue.addOperation(oracle.dss.util.Operation, int)
              BaseOperationQueue.java:176
         java.lang.Object oracle.dss.dataSource.common.BaseOperationQueue.addOperation(oracle.dss.util.Operation)
              BaseOperationQueue.java:146
         void oracle.dss.dataSource.client.QueryClient.initQuery(java.lang.String[][], java.lang.String[])
              QueryClient.java:1581
         oracle.dss.util.DataAccess oracle.dss.dataSource.common.QueryQueryAccess$SelCursor.getDataAccess(boolean)
              QueryQueryAccess.java:1099
         oracle.dss.util.DataAccess oracle.dss.dataSource.common.QueryQueryAccess.getDataAccess(java.lang.String)
              QueryQueryAccess.java:278
         java.util.Vector oracle.dss.queryBuilder.QueryBuilderQueryAccessUtils.getDimMembers(oracle.dss.datautil.QueryAccessUtilities, java.lang.String, java.lang.String, java.util.Vector, java.lang.String)
              QueryBuilderQueryAccessUtils.java:220
         oracle.dss.datautil.DimensionMember oracle.dss.queryBuilder.QueryBuilderQueryAccessUtils.getDimMember(oracle.dss.datautil.QueryAccessUtilities, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
              QueryBuilderQueryAccessUtils.java:156
         java.util.Vector oracle.dss.queryBuilder.stepView.ConditionStepView.getQDRMemberNames(java.lang.String, oracle.dss.selection.OlapQDR)
              ConditionStepView.java:230
         void oracle.dss.queryBuilder.stepView.ConditionStepView.updateQDRControls()
              ConditionStepView.java:606
         void oracle.dss.queryBuilder.stepView.MeasConditionStepView.updateQDR()
              MeasConditionStepView.java:451
         void oracle.dss.queryBuilder.stepView.MeasConditionStepView.updateMeasureEditorSelection()
              MeasConditionStepView.java:208
         void oracle.dss.queryBuilder.stepView.MeasConditionStepView.updateMeasureEditorContents()
              MeasConditionStepView.java:271
         void oracle.dss.queryBuilder.stepView.MeasConditionStepView.updateMeasureEditorSelection()
              MeasConditionStepView.java:161
         void oracle.dss.queryBuilder.stepView.MeasConditionStepView.updateControls()
              MeasConditionStepView.java:148
         void oracle.dss.queryBuilder.stepView.StepView.updateStepEditor(oracle.dss.selection.step.Step, boolean, boolean, int)
              StepView.java:562
         javax.swing.JPanel oracle.dss.queryBuilder.stepView.StepView.getStepEditor(oracle.dss.selection.step.Step, boolean, boolean, int, int)
              StepView.java:522
         void oracle.dss.queryBuilder.StepsPanelEditor.startEdit(java.awt.Component, java.lang.String, int, java.awt.Rectangle)
              StepsPanelEditor.java:93
         boolean oracle.dss.util.dimensionList.DimensionList.doEdit(int)
              DimensionList.java:525
         void oracle.dss.queryBuilder.StepsPanel$MyDimensionListAdapter.startEditingNewSelection()
              StepsPanel.java:404
         void oracle.dss.queryBuilder.StepsPanel$MyDimensionListAdapter.dimensionSelected(oracle.dss.util.dimensionList.DimensionListEvent)
              StepsPanel.java:374
         void oracle.dss.util.dimensionList.DimensionList.notifyDimensionListListener(oracle.dss.util.dimensionList.DimensionListEvent)
              DimensionList.java:2074
         void oracle.dss.util.dimensionList.DimensionList.valueChanged(javax.swing.event.ListSelectionEvent)
              DimensionList.java:1772
         void javax.swing.JList.fireSelectionValueChanged(int, int, boolean)
              JList.java:946
         void javax.swing.JList$ListSelectionHandler.valueChanged(javax.swing.event.ListSelectionEvent)
              JList.java:960
         void javax.swing.DefaultListSelectionModel.fireValueChanged(int, int, boolean)
              DefaultListSelectionModel.java:170
         void javax.swing.DefaultListSelectionModel.fireValueChanged(boolean)
              DefaultListSelectionModel.java:140
         void javax.swing.DefaultListSelectionModel.setValueIsAdjusting(boolean)
              DefaultListSelectionModel.java:507
         void javax.swing.JList.setValueIsAdjusting(boolean)
              JList.java:1261
         void javax.swing.plaf.basic.BasicListUI$MouseInputHandler.mouseReleased(java.awt.event.MouseEvent)
              BasicListUI.java:831
         void java.awt.AWTEventMulticaster.mouseReleased(java.awt.event.MouseEvent)
              AWTEventMulticaster.java:231
         void java.awt.AWTEventMulticaster.mouseReleased(java.awt.event.MouseEvent)
              AWTEventMulticaster.java:230
         void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent)
              Component.java:3715
         void oracle.dss.util.dimensionList.DragList.processMouseEvent(java.awt.event.MouseEvent)
              DragList.java:202
         void oracle.dss.util.dimensionList.DimensionList.processMouseEvent(java.awt.event.MouseEvent)
              DimensionList.java:2167
         void java.awt.Component.processEvent(java.awt.AWTEvent)
              Component.java:3544
         void java.awt.Container.processEvent(java.awt.AWTEvent)
              Container.java:1164
         void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
              Component.java:2593
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
              Container.java:1213
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
              Component.java:2497
         void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent)
              Container.java:2451
         boolean java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent)
              Container.java:2216
         boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
              Container.java:2125
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
              Container.java:1200
         void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
              Window.java:922
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
              Component.java:2497
         void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
              EventQueue.java:339
         boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
              EventDispatchThread.java:131
         void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
              EventDispatchThread.java:98
         void java.awt.Dialog.show()
              Dialog.java:380
         void java.awt.Component.show(boolean)
              Component.java:946
         void java.awt.Component.setVisible(boolean)
              Component.java:903
         boolean oracle.bali.ewt.wizard.WizardDialog.runDialog()
         boolean oracle.dss.datautil.gui.DefaultBuilderDialog.runDialog()
              DefaultBuilderDialog.java:481
         boolean oracle.dss.datautil.gui.DefaultBuilderDialog.run()
              DefaultBuilderDialog.java:466
         boolean oracle.dss.queryBuilder.QueryBuilder.run()
              QueryBuilder.java:2401
         void borlas.oa.Actions.actionEditQuery.doAction()
              actionEditQuery.java:44
         boolean borlas.oa.Actions.Action.fire()
              Action.java:88
         void borlas.oa.Forms.FormModule.editQuery()
              FormModule.java:132
         void borlas.oa.Forms.FormModule.access$6000071(borlas.oa.Forms.FormModule)
              FormModule.java:42
         void borlas.oa.Forms.FormModule$1.actionPerformed(java.awt.event.ActionEvent)
              FormModule.java:113
         void javax.swing.AbstractButton.fireActionPerformed(java.awt.event.ActionEvent)
              AbstractButton.java:1450
         void javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(java.awt.event.ActionEvent)
              AbstractButton.java:1504
         void javax.swing.DefaultButtonModel.fireActionPerformed(java.awt.event.ActionEvent)
              DefaultButtonModel.java:378
         void javax.swing.DefaultButtonModel.setPressed(boolean)
              DefaultButtonModel.java:250
         void javax.swing.AbstractButton.doClick(int)
              AbstractButton.java:279
         void javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(java.awt.event.MouseEvent)
              BasicMenuItemUI.java:886
         void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent)
              Component.java:3715
         void java.awt.Component.processEvent(java.awt.AWTEvent)
              Component.java:3544
         void java.awt.Container.processEvent(java.awt.AWTEvent)
              Container.java:1164
         void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
              Component.java:2593
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
              Container.java:1213
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
              Component.java:2497
         void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent)
              Container.java:2451
         boolean java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent)
              Container.java:2216
         boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
              Container.java:2125
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
              Container.java:1200
         void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
              Window.java:922
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
              Component.java:2497
         void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
              EventQueue.java:339
         boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
              EventDispatchThread.java:131
         void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
              EventDispatchThread.java:98
         void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
              EventDispatchThread.java:93
         void java.awt.EventDispatchThread.run()
              EventDispatchThread.java:85
    Exception occurred during event dispatching:
    java.lang.NullPointerException
         java.util.Vector oracle.dss.queryBuilder.stepView.ConditionStepView.getQDRMemberNames(java.lang.String, oracle.dss.selection.OlapQDR)
              ConditionStepView.java:230
         void oracle.dss.queryBuilder.stepView.ConditionStepView.updateQDRControls()
              ConditionStepView.java:606
         void oracle.dss.queryBuilder.stepView.MeasConditionStepView.updateQDR()
              MeasConditionStepView.java:451
         void oracle.dss.queryBuilder.stepView.MeasConditionStepView.updateMeasureEditorSelection()
              MeasConditionStepView.java:208
         void oracle.dss.queryBuilder.stepView.MeasConditionStepView.updateMeasureEditorContents()
              MeasConditionStepView.java:271
         void oracle.dss.queryBuilder.stepView.MeasConditionStepView.updateMeasureEditorSelection()
              MeasConditionStepView.java:161
         void oracle.dss.queryBuilder.stepView.MeasConditionStepView.updateControls()
              MeasConditionStepView.java:148
         void oracle.dss.queryBuilder.stepView.StepView.updateStepEditor(oracle.dss.selection.step.Step, boolean, boolean, int)
              StepView.java:562
         javax.swing.JPanel oracle.dss.queryBuilder.stepView.StepView.getStepEditor(oracle.dss.selection.step.Step, boolean, boolean, int, int)
              StepView.java:522
         void oracle.dss.queryBuilder.StepsPanelEditor.startEdit(java.awt.Component, java.lang.String, int, java.awt.Rectangle)
              StepsPanelEditor.java:93
         boolean oracle.dss.util.dimensionList.DimensionList.doEdit(int)
              DimensionList.java:525
         void oracle.dss.queryBuilder.StepsPanel$MyDimensionListAdapter.startEditingNewSelection()
              StepsPanel.java:404
         void oracle.dss.queryBuilder.StepsPanel$MyDimensionListAdapter.dimensionSelected(oracle.dss.util.dimensionList.DimensionListEvent)
              StepsPanel.java:374
         void oracle.dss.util.dimensionList.DimensionList.notifyDimensionListListener(oracle.dss.util.dimensionList.DimensionListEvent)
              DimensionList.java:2074
         void oracle.dss.util.dimensionList.DimensionList.valueChanged(javax.swing.event.ListSelectionEvent)
              DimensionList.java:1772
         void javax.swing.JList.fireSelectionValueChanged(int, int, boolean)
              JList.java:946
         void javax.swing.JList$ListSelectionHandler.valueChanged(javax.swing.event.ListSelectionEvent)
              JList.java:960
         void javax.swing.DefaultListSelectionModel.fireValueChanged(int, int, boolean)
              DefaultListSelectionModel.java:170
         void javax.swing.DefaultListSelectionModel.fireValueChanged(boolean)
              DefaultListSelectionModel.java:140
         void javax.swing.DefaultListSelectionModel.setValueIsAdjusting(boolean)
              DefaultListSelectionModel.java:507
         void javax.swing.JList.setValueIsAdjusting(boolean)
              JList.java:1261
         void javax.swing.plaf.basic.BasicListUI$MouseInputHandler.mouseReleased(java.awt.event.MouseEvent)
              BasicListUI.java:831
         void java.awt.AWTEventMulticaster.mouseReleased(java.awt.event.MouseEvent)
              AWTEventMulticaster.java:231
         void java.awt.AWTEventMulticaster.mouseReleased(java.awt.event.MouseEvent)
              AWTEventMulticaster.java:230
         void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent)
              Component.java:3715
         void oracle.dss.util.dimensionList.DragList.processMouseEvent(java.awt.event.MouseEvent)
              DragList.java:202
         void oracle.dss.util.dimensionList.DimensionList.processMouseEvent(java.awt.event.MouseEvent)
              DimensionList.java:2167
         void java.awt.Component.processEvent(java.awt.AWTEvent)
              Component.java:3544
         void java.awt.Container.processEvent(java.awt.AWTEvent)
              Container.java:1164
         void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
              Component.java:2593
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
              Container.java:1213
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
              Component.java:2497
         void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent)
              Container.java:2451
         boolean java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent)
              Container.java:2216
         boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
              Container.java:2125
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
              Container.java:1200
         void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
              Window.java:922
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
              Component.java:2497
         void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
              EventQueue.java:339
         boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
              EventDispatchThread.java:131
         void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
              EventDispatchThread.java:98
         void java.awt.Dialog.show()
              Dialog.java:380
         void java.awt.Component.show(boolean)
              Component.java:946
         void java.awt.Component.setVisible(boolean)
              Component.java:903
         boolean oracle.bali.ewt.wizard.WizardDialog.runDialog()
         boolean oracle.dss.datautil.gui.DefaultBuilderDialog.runDialog()
              DefaultBuilderDialog.java:481
         boolean oracle.dss.datautil.gui.DefaultBuilderDialog.run()
              DefaultBuilderDialog.java:466
         boolean oracle.dss.queryBuilder.QueryBuilder.run()
              QueryBuilder.java:2401
         void borlas.oa.Actions.actionEditQuery.doAction()
              actionEditQuery.java:44
         boolean borlas.oa.Actions.Action.fire()
              Action.java:88
         void borlas.oa.Forms.FormModule.editQuery()
              FormModule.java:132
         void borlas.oa.Forms.FormModule.access$6000071(borlas.oa.Forms.FormModule)
              FormModule.java:42
         void borlas.oa.Forms.FormModule$1.actionPerformed(java.awt.event.ActionEvent)
              FormModule.java:113
         void javax.swing.AbstractButton.fireActionPerformed(java.awt.event.ActionEvent)
              AbstractButton.java:1450
         void javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(java.awt.event.ActionEvent)
              AbstractButton.java:1504
         void javax.swing.DefaultButtonModel.fireActionPerformed(java.awt.event.ActionEvent)
              DefaultButtonModel.java:378
         void javax.swing.DefaultButtonModel.setPressed(boolean)
              DefaultButtonModel.java:250
         void javax.swing.AbstractButton.doClick(int)
              AbstractButton.java:279
         void javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(java.awt.event.MouseEvent)
              BasicMenuItemUI.java:886
         void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent)
              Component.java:3715
         void java.awt.Component.processEvent(java.awt.AWTEvent)
              Component.java:3544
         void java.awt.Container.processEvent(java.awt.AWTEvent)
              Container.java:1164
         void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
              Component.java:2593
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
              Container.java:1213
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
              Component.java:2497
         void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent)
              Container.java:2451
         boolean java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent)
              Container.java:2216
         boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
              Container.java:2125
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
              Container.java:1200
         void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
              Window.java:922
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
              Component.java:2497
         void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
              EventQueue.java:339
         boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
              EventDispatchThread.java:131
         void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
              EventDispatchThread.java:98
         void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
              EventDispatchThread.java:93
         void java.awt.EventDispatchThread.run()
              EventDispatchThread.java:85

    Also read this great article
    http://sqlblog.com/blogs/alexander_kuznetsov/archive/2009/05/13/your-try-block-may-fail-and-your-catch-block-may-be-bypassed.aspx
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Query Builder problem - query results from previous query

    Hi.
    I have a 100% repeatable problem in Oracle Query Builder (Version 6.0.7.1.0) where some rows from the results of a previous query appear in the results for the current query. The queries being run are saved in *.brw files. If I close down Query Builder completely between queries, there is no problem. If I run one query, export the results to a CSV file, close that query and then open a second query, when I run the second query there are rows in the results that shouldn't be there (they are remnants of the first query). Interestingly the total number of rows for the second query is correct, so the same number of rows are missing as shouldn't be there. Anyone come across this before? Problem is repeatable for different database users and on different computers.
    regards,
    Martin

    as i posted earlier .. queryBuilder as a stand alone product is neither supported nor available anymore. it is only available as part of the report data wizard.
    thanks,
    ph.

  • Automating Query Builder Functionality?

    Hi,
    My project requires up to date information on the currently live File Repository Server.  I know this information can be found by manually entering a SQL statement into the Query Builder Tool.  However, I have been asked to create a script that performs this task automatically and repeatedly.  When the details of the FRS change, the up to date information must be logged to the Windows Event log from which the information will be lifted by our company's internal log monitoring tool.
    If anyone can give me an idea of how I might do this I would certainly appreciate the help.  I would also be thankful for any suggestions for alternative solutions to the one outlined above.  For instance is there a given pattern I can search any of the BOE log files for to gather the required info?
    I'm a total newbie, so apologies if any of the above sounds a bit naiave or just down right stupid...
    Best Regards
    David

    BOE provides SDK to access the CMS. Please look at http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm for more info on the SDK. You have the option from choosing from Java/webservice or .NET SDK.

  • Group by clause using query builder

    Hi,
    I have some event pages (pages created using a template called event) which are tagged with event types and I have 5 event types in total. In the event listing page, i want to show the events grouped by event types.
    Is there a facility in query builder to use "group by" which returns be results in different buckets?
    Is thats not the case, i have to run 1 query per event type which means i have to run 5 queries. (or i get the event type as facets -> get the buckets -> get the predicate for each bucket -> run one query per bucket which again is nothing buket one query per event type). I dont want to do that.  
    Hence using the query builder or any other form of querying, is there a way to group the results?
    Regards,
    yadhu

    Perfect... thats answers the query...
    Basically the summary is I cannot use aggregate functions like group by. Once i get the search results, i can either use facets, get the bucket predicates and drill down the search OR get all the results, do look up on property (using Node.getProperty) of each node in the result and build my UI based on mere coding. Am I right?

  • SQL developer 3.0 - Few Query Builder issues

    Hi All,
    I have just started using SQL Developer 3.0 so have not fully browsed thru all of the available options in SQL Developer. I have been trying to work on creating and editing sql statements using Worksheet and Query Builder.
    I am working on to test this tool so I can give it to the users for them to try and use it - they used to work on the old Query Builder 6.0.7....since it is already de-supported long back to work against 11g database, I am hoping to tell them to use SQL developer 3.0 instead.
    Hence, if an user doesn't know how to write a sql statement, he/she would try to do the same using Query Builder.
    So, the following questions are more aligned towards a normal user who would try to create a query in the Query Builder window, instead of directly typing a sql statement in the Worksheet window.
    1) How to establish/create a relationship between tables after you have dragged down the tables into the Query Builder window? - i tried but couldn't get any options!.
    2) Sometimes I see 'Connection closed' error when i try to run a query. How to refresh the connection without opening a new Connection tab?
    - I tried this but evertytime it opens up a new connection tab, while the old tab is still present.
    3) Columns in the Expression field in Query Builder window can ONLY be displayed in the result set, if the 'output' box on the extreme left of the 2nd section in Query Builder window is checked.
    Now when i try to check the output box for an expression (with few aggregate functions), the 'Grouping' check box automatically gets checked, which when run throws an ORA-00934 error: group function is not allowed here...but when I de-select the 'Grouping' check box, the 'output' box also gets un-checked!.
    How to solve this out?
    Please let me know the resolutions of the above - much appreciated.
    With Regards,
    Pamir
    Edited by: user651047 on 11-Aug-2011 07:53

    Hi,
    As Raghu noted above, and you also saw in rp0428's following reply,
    Re: Problem with displaying sdo_geometry objects
    drilling down to the cell edit details is your only recourse for now. Apparently there will be further work done in this area, but it is not clear exactly what or when it will be. For those with access to it, here is a bug reference:
    Bug 13680849 - RC1: NOT DISPLAYING THE DATA OF MDSYS.SDO_GEOMETRY
    Regards,
    Gary

  • Results in Query Builder Differ From Report Results

    I've got a report I built in SSRS using an SSAS dataset. The problem is that the results differ between the query builder result set and the actual report. For some reason, when running the actual report, certain rows are being filtered out, but yet those
    same rows appear in the result set when validating the query in the query builder.
    Here's the result set as it appears in query builder:
    ...and here are the results of the actual report:
    As you can see, 3M and Angie's popcorn are not returned in the report. I have no filters defined on the report at all.
    This appears to be happening with other result sets for the same report.
    No idea why the results are accurate in query builder and then off in the actual report.
    Any help would be appreciated!
    A. M. Robinson

    Hi A. M. Robinson,
    The issue may be caused by the data cache. When we preview a report, the report processor runs all the queries for datasets in the report using the current parameter defaults, and saves the results as a local data cache (.rdl.data) file. We can continue
    to design our report without incurring the overhead of retrieving this data again if we make no changes to either the report dataset queries or the report parameters. Please to delete the cache (.rdl.data) file try to solve the issue.
    Reference: http://technet.microsoft.com/en-us/library/ms157366.aspx
    Alternative, you can create a similar report to check if the issue is persist.
    If the issue is persist, could you please post more detail information about your report design?  It is benefit for us to do further analysis.
    Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

  • Query builder in Reports

    In the reports when I use query builder available in the reports for the same user/owner it works fine. If I will select/use any table from other schema it creates query for it but when I again try to go to query builder it shows me blank. This behaviour is same in reports 3 and 6i. Is this a bug or there is some configuration issue?
    e.g.
    Currently I am working in the scott login and opened the query builder to build the query. I have select table EMP and the its fields I have to select. Now the DEPT table is in another schema and scott has select privs of this table. I have select the DEPT table from that schema and pressed OK and the query is now in the query window but now if I want to modify the query and want to open query builder again and it is not possible at my machine. So I have to modify the query in the query window manually.
    I hope the above detail will help u in understanding the exact situation so if still not cleared then let me know.

    Hi Sikandar,
    Make sure you are on the latest patch (patch 10), and if it still reproduces you should contact Oracle Support.
    regards,
    Stewart

  • Create a query builder in oracle Apex

    Hi
    We have a request to create a query builder in oracle Apex particularly.But it provide the application builder and Utilities when we create the apex workspace.My question is any possibility are to make the application builder and utilizes as invisible
    regards
    apexuser

    hi scott,
    we no need to buid a report.we want generate a sql query using GUI drag and drop query builder.
    our suggestion is provide synonym for all objects and give to clinet,but in apex query builder only show view and table...
    it not show synonym thats the problem..
    simply we want oracle query browser.just want build a query.through synonym schema.
    we cerate a oracle user and provide synonym for live tables.then we provide the synonym user to client place,so they want build a query simpl.
    they dont have sql knowledge.
    regards
    apexuser

  • Query Builder in Oracle Application Express

    I am unable to get columns to show after I submitt an object and click "columns" to add for a query. I also cannot get any query at all. Any help out there?
    Feel free to direct me to correct forum if necessary.

    Hi Latha,
    I believe in APEX 4.0 you can do that.
    For now you would need to write a query builder yourself... (it's just an APEX app)
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/

Maybe you are looking for