Query Projections and Object IDs

Hi,
We're trying to implement a search interface in our application that
allows users to query for (JDO) objects via some search criteria, browse
through a returned list of possible matches and select an object for
loading.
We are considering the use of query projection such that the search
results generation doesn't involve the instantiation of all JDO objects in
the results list. The projected result set should also contain the object
ID so that it can be loaded subsequently.
From the documentation and newgroups discussion, it seems that object IDs
cannot be returned as part of query projections. Is that true? If so, what
is the suggested approach to the above scenario?
Thanks in advance!
Kai

Abe White wrote:
From the documentation and newgroups discussion, it seems that object IDs
cannot be returned as part of query projections. Is that true? If so, what
is the suggested approach to the above scenario?
We suggest using application identity whenever you need to be able to
manipulate oids easily.Thanks Abe. However, we don't yet have a pressing desire to manipulate the
oids; Kodo's doing a good enough job as it is. We just need to be able to
retrieve lightweight versions of objects during searches (via query
projections), browse through them, and optionally load the full object
using the oid.

Similar Messages

  • Package: EXIITS project and Objects packages are difference.

    Hi Guru,
    I have created a Project for exit and stored the same in one package. My doubt is wil this exit will  be effect for objects in other package.
    I beleieve this is not possible as packages are differenct.
    Kindly correct me if my understading is wrong and also take me how to make the Exit effective for this other objects too (Object in different package.)
    Many thanks
    Anuj.

    Did you read about the package concept? This would be quite easy to verify by yourself with a little test, so what is the problem?
    Thomas

  • IMG Project and Objects

    Hi everybody,
    I have a question concerning how to use a IMG-Project.I'm totally new with this whole SAP and Solution Manager thing.
    My questions:
    1. When do I use a IMG-Project in the Configuration-Folder at a Business Process Part ?
    2. The effectivelly customizing things has to be in the related system or ?
    3. What will I assign then to the project ?
    4. What can be choosen in the Object Part ?
    I hope you don't think that they are strange questions. But I'm really struggeling with that kind of Problems.
    Maybe someone can explain me that on a good exemple ?
    Thanks in advance !
    Guersel

    Hi Guersel,
    1. "But was is not clear for me, can I just use Solution Manager to refer to the corresponding IMG Task ?"
    Yes, you can just use Solution Manager to to perform IMG Task. You can logon SAP Solution Manager, then try the transaction SOLAR_PROJECT_ADMIN to create a new project (The interface of SOLAR_PROJECT_ADMIN is similar to SPRO_ADMIN). In the project, go to tab "System Landscape" -> "IMG Projects", here, you can link SAP Solution Manager with any of the IMG projects. (You can centrally link serveral systems here, so that all of the project work can be performend via SAP Solution Manager)
    2. "So what would happen if the Solution would implementated for a new location ? Has all settings has do be done agan ? If yes, what are the benefits of Solution Manager rather then documentation ?"
    SAP Solution Manager is a central tool for project admin, it provides the function called "Global Roll-out". Once your project has been finished, all of the projct documents, configuration details, test cases maintained in solution manager can be transfered to other branches. In this case, lots of works of project documentations can be saved.
    You should still do the configuration in the new systems, since solution manager dosen't store the detailed customizing BC sets and programs of the satellite systems. But you still have other better options. For example, you can do an system copy from the existing production system to the new development system in other banches. Since all of the documentations are available in solution manager, you can just update the copied solution instead of a new implementation, which you can benefits from saving lots of project efforts.
    Besides, there're lots of benefits:
    1. if you perform the project in solution manager, SAP GO-LIVE check service is much easier, which can reduce the risk of go-live.
    2. If you needs to perform Business Process Monitoring in the operation phase of this solution, that would be much easier. Since all of the core business process and KPIs have already been maintained during implementaiton.
    3. Upgrade risk will be reduced. solution manager has tools to identify the core business process and calculate the upgrade risk and effort. All of the tool is free of charge. But the prerequisites are, solution documentation is maintained.
    4 ..........
    Regarding your fourth question, the selection pops-up, then you need to select the related tree of IMG project of this step. In the realization phase, the configuration work will only see the restricted areas of IMG tree, so that the IMG project view is related to the business steps of current configuration in solution manager.
    My suggestion is that, you can check the knowledge transfer URL http://service.sap.com/rkt-solman -> SAP Solution Manager 7.0  -> click on the role of Solution Consultant on the right of new page, check the documents that you are interested.
    Hope that helps,
    Thanks, Jett

  • LSMW: Significance of project , subproject and object

    Hi,
    what is the Significance of project , sub project and object.
    Thanks & Regards,
    Raghava prasad.T

    Hi Raghava,
    Welcome to SDN Forums
    It's very important you read the [Forum Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] and Welcome and Rules of Engagement before posting.
    You must use the correct or most appropriate forum, so this thread will be moved from to .
    The forum is dedicated to: Data Transfer Techniques, Batch Data Communication, Legacy System Migration Workbench, Application Link Enabling, IDOCs, BAPIs.
    Greetings,
    Marcelo Ramos

  • Adding objects into query Panel and no display report

    Hi Folks,
    I had an issue with WEBI .
    Iam running the report with few objects at first time , all objects are displayed in the  table format of report.
    I saved and closed the report .
    Later  i opened the report and edited the report by adding new objects into query panel and runing it.
    but this time  i did not find the new objects in display table in report as like DeskI.
    If we find the solution for this , it will be great help to me.
    Thanks
    Mahesh

    The objects will be in the data tab. Objects are not automatically added to your report in Webi, they are made available in the data panel, and you can choose which objects to add.

  • Expert mode query in View objects and appended where clause

    My company is Oracle Member Partner and we are developing enterprise web applications using Oracle database and BC4J.
    I have the following problem...
    When I enable EXPERT MODE option in View Object I have trouble appending to query statement in my client code.
    I need expert mode because I must use "SELECT DISTINCT" insted of "SELECT" in my query.
    It looks something like this:
    viewObject.setWhereClause("CLA_ID = " + claId);
    viewObject.executeQuery();
    SQL query from View Object becomes sub-query and fails to execute:
    select * from (original view object query) where (... appended where clause)
    Order by part of the query causes sql errors because original query is now sub-query.
    Is there any way around this?

    I tried creating an expert mode SQL query:
    SELECT DISTINCT EMPNO, ENAME FROM EMP.
    Then at runtime I do:
    vo.setWhereClause("ENAME LIKE '%'||?||'%');
    vo.setWhereClauseParam(0,'A');.
    and this works fine. The trick is that since expert-mode view objects get wrapped as inline views (to allow runtime appending of WHERE clause, actually), you need to select any column in the select statement to which you want to later refer in a dynamically-appended where clause.
    If you want to prevent the inline-view wrapping, you can write the following code in your view object's ViewObjectImpl subclass to force the VO to NOT be treated as an expert-mode SQL VO.
      // Goes in your view object impl subclass
      public void create() {
         // Force this VO to NOT be treated as an expert-mode SQL, so that
         // its query does not get wrapped as an inline view.
         getViewDef().setFullSql(false);
      }I used this trick above to create an expert mode query like:
    SELECT DISTINCT deptno FROM empand then at runtime I add a dynamic where clause that refers to a column
    in EMP that is not in the select list like this:
        ViewObject vo = am.findViewObject("View1");
        vo.setWhereClause("ename like '%A%'");
        vo.executeQuery();
        System.out.println(vo.first().getAttribute(0));and this causes the query to come out as:
    SELECT DISTINCT deptno FROM emp WHERE ename like '%A%'.
    instead of:
    SELECT * FROM (SELECT DISTINCT deptno FROM emp) QRSLT WHERE ename like '%A%'which would cause an error due to the fact that ename is not in the select list of the original (wrapped, inline) query.

  • How to export/Import default prefs and object styles with no project open?

    I would like to export my preferences and object styles with no projects open and them import them on my team's machines so that no matter what project we create, we all start from the SAME set of defaults.  When I open captivate and check both with no projects open, there is no ability to import/export.  I know I could open a project and export, but then importing is an issue.
    I'm using CP8 on a Windows 8.1 64 bit machine.
    Help?
    Thx.
    Lori

    After a fresh install I start by editing the Preferences globally, that means by using Edit, Preferences before opening any project (like switching to Expert UI, default language, replacing feedback captions by shapes). There is indeed no way to import preferences from a specific file. I will do the same for some object styles (like creating a blank Highlight box for audio objects). You can only export/import from and to a project,  same like for all Library assets.
    However the Object styles: they are part of the default theme, along with their theme colors, master slides and skin. You cannot edit everything without having a project open. I would recommend to create a custom theme in a project, in which you have all the wanted object styles. Changing the theme colors (you can have a custom theme color palette) will change partially colors of the objects. Once you set that theme as default theme, you'll have all the object styles in the projects that use the default theme.
    To transfer Preferences, custom themes to another machine, maybe this article could help you out. It was written for a different purpose, but you'll find the location of a lot of files that you could transfer in this post:
    Captivate 8.0.1 Install? Keep your Customisation! - Captivate blog
    Lilybiri

  • LSMW Delete Project, Subproject and Object

    Hi,
    how can I delete in LSMW an object or a subproject or a complete project?
    Thanks!
    Michael

    Hi,
    In transaction LSMW,in the initial screen  GOTO>ADMINISTRATION,here you will find the list of all the projects,U select that particular project and press delete,that will be deleted.
    Kind Regards,
    Rahul

  • Query startdate and end date not using the index

    Hi,
    in my query all the where  i am using  the code as below
    AND START_DATE                   <= SYSDATE
    AND SYSDATE  <= END_DATE
    because of this my query seems to slow and timeconsuming. is there any other alternate way?
    Pls help
    S

    KARTHIK,
    this is my query
    SELECT /*+ PARALLEL(CUSTOMER, 4)PARALLEL(CUSTOMER_MANAGER, 4),PARALLEL(CUSTOMER_DIVISION, 4) */
    CUSTOMER.CUSTOMER_EID 
    FROM  CUSTOMER_   CUSTOMER,
    CUSTOMER_MANAGER_ CUSTOMER_MANAGER,
    CUSTOMER_DIVISION_   CUSTOMER_DIVISION
    WHERE   CUSTOMER_MANAGER.CUSTOMER_EID   = CUSTOMER.CUSTOMER_EID
    AND CUSTOMER.CUSTOMER_EID               = CUSTOMER_DIVISION.CUSTOMER_EID
    AND  CUSTOMER_MANAGER.CUSTOMER_EID   = CUSTOMER_DIVISION.CUSTOMER_EID
    AND ( TRUNC(SYSDATE) BETWEEN CUSTOMER_MANAGER.DIVISION_START_DATE   AND CUSTOMER_MANAGER.DIVISION_END_DATE
    AND  TRUNC(SYSDATE) BETWEEN CUSTOMER_DIVISION.DIVISION_START_DATE   AND CUSTOMER_DIVISION.DIVISION_END_DATE )
    AND CUSTOMER_DIVISION.STATUS             ='AC';
    plan output is as below
    Plan hash value: 2500183415
    | Id  | Operation                     | Name              | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     | Pstart| Pstop |    TQ  |IN-OUT| PQ Distrib |
    |   0 | SELECT STATEMENT              |                   |     1 |    53 |       |   360K  (1)| 01:12:04 |       |       |        |      |            |
    |   1 |  PX COORDINATOR               |                   |       |       |       |            |          |       |       |        |      |            |
    |   2 |   PX SEND QC (RANDOM)         | :TQ10001          |     1 |    53 |       |   360K  (1)| 01:12:04 |       |       |  Q1,01 | P->S | QC (RAND)  |
    |   3 |    NESTED LOOPS               |                   |     1 |    53 |       |   360K  (1)| 01:12:04 |       |       |  Q1,01 | PCWP |            |
    |*  4 |     HASH JOIN                 |                   |    16M|   738M|   111M|   360K  (1)| 01:12:03 |       |       |  Q1,01 | PCWP |            |
    |   5 |      BUFFER SORT              |                   |       |       |       |            |          |       |       |  Q1,01 | PCWC |            |
    |   6 |       PX RECEIVE              |                   |    12M|   302M|       |   305K  (1)| 01:01:10 |       |       |  Q1,01 | PCWP |            |
    |   7 |        PX SEND PARTITION (KEY)| :TQ10000          |    12M|   302M|       |   305K  (1)| 01:01:10 |       |       |        | S->P | PART (KEY) |
    |   8 |         PARTITION HASH ALL    |                   |    12M|   302M|       |   305K  (1)| 01:01:10 |     1 |     4 |        |      |            |
    |*  9 |          TABLE ACCESS FULL    | CUSTOMER_DIVISION_ |    12M|   302M|       |   305K  (1)| 01:01:10 |     1 |     4 |        |      |            |
    |  10 |      PX PARTITION HASH ALL    |                   |    15M|   323M|       | 42663   (1)| 00:08:32 |     1 |     4 |  Q1,01 | PCWC |            |
    |* 11 |       TABLE ACCESS FULL       | CUSTOMER_MANAGER_ |    15M|   323M|       | 42663   (1)| 00:08:32 |     1 |     4 |  Q1,01 | PCWP |            |
    |* 12 |     INDEX UNIQUE SCAN         | CUSTOMER__PK      |     1 |     6 |       |     1   (0)| 00:00:01 |       |       |  Q1,01 | PCWP |            |
    Query Block Name / Object Alias (identified by operation id):
       1 - SEL$1
       9 - SEL$1 / CUSTOMER_DIVISION@SEL$1
      11 - SEL$1 / CUSTOMER_MANAGER@SEL$1
      12 - SEL$1 / CUSTOMER@SEL$1
    Predicate Information (identified by operation id):
       4 - access("CUSTOMER_MANAGER"."CUSTOMER_EID"="CUSTOMER_DIVISION"."CUSTOMER_EID")
       9 - filter("CUSTOMER_DIVISION"."STATUS"='AC' AND "CUSTOMER_DIVISION"."DIVISION_END_DATE">=TRUNC(SYSDATE@!) AND
                  "CUSTOMER_DIVISION"."DIVISION_START_DATE"<=TRUNC(SYSDATE@!))
      11 - filter("CUSTOMER_MANAGER"."DIVISION_END_DATE">=TRUNC(SYSDATE@!) AND "CUSTOMER_MANAGER"."DIVISION_START_DATE"<=TRUNC(SYSDATE@!))
      12 - access("CUSTOMER"."CUSTOMER_EID"="CUSTOMER_DIVISION"."CUSTOMER_EID")
           filter("CUSTOMER_MANAGER"."CUSTOMER_EID"="CUSTOMER"."CUSTOMER_EID")
    Column Projection Information (identified by operation id):
       1 - "CUSTOMER"."CUSTOMER_EID"[NUMBER,22]
       2 - (#keys=0) "CUSTOMER"."CUSTOMER_EID"[NUMBER,22]
       3 - (#keys=0) "CUSTOMER"."CUSTOMER_EID"[NUMBER,22]
       4 - (#keys=1) "CUSTOMER_DIVISION"."CUSTOMER_EID"[NUMBER,22], "CUSTOMER_MANAGER"."CUSTOMER_EID"[NUMBER,22]
       5 - (#keys=0) "CUSTOMER_DIVISION"."CUSTOMER_EID"[NUMBER,22]
       6 - "CUSTOMER_DIVISION"."CUSTOMER_EID"[NUMBER,22]
       7 - (#keys=1) "CUSTOMER_DIVISION"."CUSTOMER_EID"[NUMBER,22]
       8 - "CUSTOMER_DIVISION"."CUSTOMER_EID"[NUMBER,22]
       9 - "CUSTOMER_DIVISION"."CUSTOMER_EID"[NUMBER,22]
      10 - "CUSTOMER_MANAGER"."CUSTOMER_EID"[NUMBER,22]
      11 - "CUSTOMER_MANAGER"."CUSTOMER_EID"[NUMBER,22]
      12 - "CUSTOMER"."CUSTOMER_EID"[NUMBER,22]
    Pls suggest
    s

  • Delay when querying from CUBE_TABLE object, what is it?

    Hi Guys,
    We are using Oracle OLAP 11.2.0.2.0 with an 11g Cube, 7 Dimensions, Compressed and partitioned by Month.
    We have run into a performance issue when implementing OBIEE.
    The main issue we have is a delay while drilling on a hierarchy. Users have been waiting 7-12 seconds per drill on a hierarchy, and the query is only returning a few cells of data. We have managed to isolate this to slow performing queries on CUBE_TABLE.
    For example, the following query returns one cell of data:
    SELECT FINSTMNT_VIEW.BASE, FINSTMNT_VIEW.REPORT_TYPE, FINSTMNT_VIEW.COMPANY, FINSTMNT_VIEW.SCENARIO, FINSTMNT_VIEW.PRODUCT, FINSTMNT_VIEW.ACCOUNT, FINSTMNT_VIEW.SITE, FINSTMNT_VIEW.TIME
    FROM "SCHEMA1".FINSTMNT_VIEW FINSTMNT_VIEW
    WHERE
    FINSTMNT_VIEW.REPORT_TYPE IN ('MTD' )
    AND FINSTMNT_VIEW.COMPANY IN ('E01' )
    AND FINSTMNT_VIEW.SCENARIO IN ('ACTUAL' )
    AND FINSTMNT_VIEW.PRODUCT IN ('PT' )
    AND FINSTMNT_VIEW.ACCOUNT IN ('APBIT' )
    AND FINSTMNT_VIEW.SITE IN ('C010885' )
    AND FINSTMNT_VIEW.TIME IN ('JUN11' ) ;
    1 Row selected in 4.524 Seconds
    Note: FINSTMNT_VIEW is the automatically generated cube view.
    CREATE OR REPLACE FORCE VIEW "SCHEMA1"."FINSTMNT_VIEW" ("BASE","REPORT_TYPE", "COMPANY", "SCENARIO", "PRODUCT", "ACCOUNT", "SITE", "TIME")
    AS
    SELECT "BASE", "REPORT_TYPE", "COMPANY", "SCENARIO", "PRODUCT", "ACCOUNT", "SITE", "TIME"
    FROM TABLE(CUBE_TABLE('"SCHEMA1"."FINSTMNT"') ) ;
    If we increase the amount of data returned by adding to the query, it only increased the query time by .4 seconds
    SELECT FINSTMNT_VIEW.BASE, FINSTMNT_VIEW.REPORT_TYPE, FINSTMNT_VIEW.COMPANY, FINSTMNT_VIEW.SCENARIO, FINSTMNT_VIEW.PRODUCT, FINSTMNT_VIEW.ACCOUNT, FINSTMNT_VIEW.SITE, FINSTMNT_VIEW.TIME
    FROM "SCHEMA1".FINSTMNT_VIEW FINSTMNT_VIEW
    WHERE
    FINSTMNT_VIEW.REPORT_TYPE IN ('MTD' )
    AND FINSTMNT_VIEW.COMPANY IN ('E01' )
    AND FINSTMNT_VIEW.SCENARIO IN ('ACTUAL' )
    AND FINSTMNT_VIEW.PRODUCT IN ('PT' )
    AND FINSTMNT_VIEW.ACCOUNT IN ('APBIT' )
    AND FINSTMNT_VIEW.SITE IN ('C010885', 'C010886', 'C010891', 'C010892', 'C010887', 'C010888', 'C010897', 'C010893', 'C010890', 'C010894', 'C010896', 'C010899' )
    AND FINSTMNT_VIEW.TIME IN ('JUN11' ) ;
    12 rows selected - In 4.977 Seconds
    If we increase the data returned even more:
    SELECT FINSTMNT_VIEW.BASE, FINSTMNT_VIEW.REPORT_TYPE, FINSTMNT_VIEW.COMPANY, FINSTMNT_VIEW.SCENARIO, FINSTMNT_VIEW.PRODUCT, FINSTMNT_VIEW.ACCOUNT, FINSTMNT_VIEW.SITE, FINSTMNT_VIEW.TIME
    FROM "SCHEMA1".FINSTMNT_VIEW FINSTMNT_VIEW
    WHERE
    FINSTMNT_VIEW.REPORT_TYPE IN ('MTD' )
    AND FINSTMNT_VIEW.COMPANY IN ('ET', 'E01', 'E02', 'E03', 'E04' )
    AND FINSTMNT_VIEW.SCENARIO IN ('ACTUAL' )
    AND FINSTMNT_VIEW.PRODUCT IN ('PT', 'P00' )
    AND FINSTMNT_VIEW.ACCOUNT IN ('APBIT' )
    AND FINSTMNT_VIEW.SITE IN ('C010885', 'C010886', 'C010891', 'C010892', 'C010887', 'C010888', 'C010897', 'C010893', 'C010890', 'C010894', 'C010896', 'C010899' )
    AND FINSTMNT_VIEW.TIME IN ('JUN11', 'JUL11', 'AUG11', 'SEP11', 'OCT11', 'NOV11', 'DEC11', 'JAN12') ;
    118 rows selected - In 14.213 Seconds
    If we take the time for each query and divide by the number of rows, we can see that querying more data results in a much more efficient query:
    Time/Rows returned:
    1 Row - 4.524
    12 Rows - 0.4147
    118 Rows - 0.120449153
    It seems like there is an initial delay of approx 4 seconds when querying the CUBE_TABLE object. Using AWM to query the same data using LIMIT and RPR is almost instantaneous...
    Can anyone explain what this delay is, and if there is any way to optimise the query?
    Could it be the AW getting attached before each query?
    Big thanks to anyone that can help!

    Thanks Nasar,
    I have run a number of queries with logging enabled, the things you mentioned all look good:
    Loop Optimization: GDILoopOpt     COMPLETED
    Selection filter: FILTER_LIMITS_FAST     7
    ROWS_FAILED_FILTER     0
    ROWS_RETURNED     1
    Predicates: 7 pruned out of 7 predicates
    The longest action I have seen in the log is the PAGING operation... but I do not see this on all queries.
    Time Total Time OPERATION
    2.263     27.864          PAGING     DYN_PAGEPOOL     TRACE     GREW     9926KB to 59577KB
    1.825     25.601          PAGING     DYN_PAGEPOOL     TRACE     GREW     8274KB to 49651KB
    1.498     23.776          PAGING     DYN_PAGEPOOL     TRACE     GREW     6895KB to 41377KB
    1.232     22.278          PAGING     DYN_PAGEPOOL     TRACE     GREW     5747KB to 34482KB
    1.17     21.046          PAGING     DYN_PAGEPOOL     TRACE     GREW     4788KB to 28735KB
    1.03     19.876          PAGING     DYN_PAGEPOOL     TRACE     GREW     3990KB to 23947KB
    2.808     18.846          PAGING     DYN_PAGEPOOL     TRACE     GREW     3325KB to 19957KB
    What is strange is that the cube operation log does not account for all of the query time. For example:
    SELECT "BASE_LVL" FROM TABLE(CUBE_TABLE('"EXAMPLE"."FINSTMNT"'))
    WHERE
    "RPT_TYPE" = 'MTD' AND
    "ENTITY" = 'ET' AND
    "SCENARIO" = 'ACTUAL' AND
    "PRODUCT" = 'PT' AND
    "GL_ACCOUNT" = 'APBIT' AND
    "CENTRE" = 'TOTAL' AND
    "TIME" = 'YR09';
    This query returns in 6.006 seconds using SQL Developer, if I then take the CUBE_OPERATION_LOG for this query and subtract the start time from the end time, I only get 1.67 seconds. This leaves 4.3 seconds unaccounted for... This is the same with the my other queries, see actual time and logged time below:
    Query     Actual     Logged      Variance
    S3     6.006     1.67     4.336
    L1     18.128     13.776     4.352
    S1     4.461     0.203     4.258
    L2     4.696     0.39     4.306
    S2     5.882     1.575     4.307
    Any ideas on what this could be or how I can capture this 4.3 second overhead?
    Your help has been greatly appreciated.

  • Is it possible the query in view object is dynamic?

    Is it possible the query in view object is dynamic?
    Generally, make the column list dynamic.
    I think this is related to whether view object can be assembled at runtime based on a dynamic cursor in a procedure?
    I ask this because I would like to know how we can use OA framework to simulate crosstab workbook in Discoverer?
    Anybody has some clues, please advise.
    Thanks.

    Hi Shay,
    Let me tell you briefly... I am sending input as customerId,customerNumber,CustomerName to the web service, if the record is available i am getting the response and i am displaying those records on page as a table. Now when i click a row i need to populate another table with all sale orders of that customer. From webservice datacontrol i have only customer object, I dont have Sales Order Object. For this i need master detail relation. In this case how to proceed. Thats why i am thinking to create a vO and EO object for sales orders table and i want to create view link for this sales order and customers. As i don't have customer VO and EO object to create view link.

  • How to build sql query for view object at run time

    Hi,
    I have a LOV on my form that is created from a view object.
    View object is read-only and is created from a SQL query.
    SQL query consists of few input parameters and table joins.
    My scenario is such that if input parameters are passed, i have to join extra tables, otherwise, only one table can fetch the results I need.
    Can anyone please suggest, how I can solve this? I want to build the query for view object at run time based on the values passed to input parameters.
    Thanks
    Srikanth Addanki

    As I understand you want to change the query at run time.
    If this is what you want, you can use setQuery Method then use executeQuery.
    http://download.oracle.com/docs/cd/B14099_19/web.1012/b14022/oracle/jbo/server/ViewObjectImpl.html#setQuery_java_lang_String_

  • System and Object privileges question

    hello everyone.
    I was really making it a priority to really understand both system and object privileges for users. I have setup a couple of 'sandboxes' at home and have done lots of testing. So far, it has gone very well in helping me understand all the security involved with Oralce (which, IMHO, is flat out awesome!).
    Anyway, a couple of quick questions.
    As a normal user, what view can I use to see what permissions I have in general? what about permissions on other schemas?
    I know I can do a:
    select * from session_privs
    which lists my session privileges.
    What other views (are they views/data dictionary?) that I can use to see what I have? Since this is a normal user, they don't have access to any of the DBA_ views.
    I'll start here for now, but being able to see everything this user has, would be fantastic.
    Cheers,
    TCG

    Sorry. should have elaborated more.
    In SQLPLUS, (logged in while logged into my Linux OS), I am working to try and get sqlplus to display the results of my query so it is easy to read. Right now, it just displays using the first 1/4 or 1/3 of the monitor screen to the left. Make sense? So it does not stretch the results out to utilize the full screen. it is hard to break down and read the results because they are "stacked" on top of each other.
    Would be nice if I could adjust sqlplus so the results are easier to read.
    HTH.
    Jason

  • How to link CRM opportunity to R/3 projects through object relationship

    Hello everyone,
    i have this new development to link CRM opportunity with R/3 projects ( table PROJ ). as user creates the opportunity in CRM in relationships tab he should be able to see the R/3 projects as part of search help when he select create relationship -> projects. i have manged to get the project data from R/3 to CRM through middleware and search help is also showing list of all the projects. problems arises when i try to save the relationship by pressing save button. it gives me error messsage that
    'Project with the number SI090100000000000 does not exist ==> Interlinkage is not created'
    Please help me how to maintain this linkage.
    Thanks
    Sudhir Grover

    Dear Sudhir,
    I have search this help portal a lot to find the solution for my need that,
    Present I am working for a project where the same requirement that what you had in one of your project and did successfully. Let me explain about it,
    Opportunities will be created in CRM  and Projects will be created out side CRM (Project systems) now I have to link this projects information to the corresponding opportunities in CRM.
    For this, I was knew we have to set up "Object relationship profile" that is it.
    But once I red this thread theoretically I got confidence, the requirement can be achieved by following your way, but here I have the below doubts
    1. How to replicate CProjects to CRM from ECC?? (Present middleware set up is working fine (BPs and Products, and etc. replication is happing fine)
    2. ITS (PPM URl) is already provided by PPM team and working fine (I have tested using Transaction launcher), in this case can I use that ITS URL?
    I am really grateful to you!! Kindly help me out!!
    My Email ID is - [email protected]
    Thanks and regards,
    Shaik. 

  • Create Project Web App Instance - Failed to find Project Site object. Are there any database mounted?

    Hi
    New Installation. Sharepoint 2013, Project Server 2013 and SQL Server 2008 SP1 (another box).
    When I try to create Project Web App Instance, I get 
    Provisioning 'PWA': Post provisioning setup failed. Exception 'Microsoft.SharePoint.SPException: Failed to find Project Site object. Are there any database mounted?
     Followed by:
    Failed to provision site PWA with error: Microsoft.SharePoint.SPException: Failed to find Project Site object. Are there any database mounted?
    Already tried reinstalling the whole farm to no avail. Farm Admin account is used to do everything within this process.
    Thanks in anticipation.

    Hi
    I got the same error when provisioning the PWA
    Log Name:      Application
    Source:        Microsoft-SharePoint Products-Project Server
    Date:          8/29/2013 11:58:12 AM
    Event ID:      6966
    Task Category: Provisioning
    Level:         Error
    Keywords:     
    User:          abc\administrator
    Computer:      mycomputer
    Description:
    Provisioning 'PWA': Post provisioning setup failed. Exception 'Microsoft.SharePoint.SPException: Failed to find Project Site object. Are there any database mounted?
       at Microsoft.Office.Project.Server.Administration.ProvisionFeatureEventHandler.FeatureActivated(SPFeatureReceiverProperties properties)
       at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce)
       at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, SPFeatureActivateFlags activateFlags, Boolean fForce)
       at Microsoft.SharePoint.SPFeatureCollection.AddInternal(SPFeatureDefinition featdef, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly)
       at Microsoft.SharePoint.SPFeatureCollection.AddInternalWithName(Guid featureId, Int32 compatibilityLevel, String featureName, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean
    fMarkOnly, SPFeatureDefinitionScope featdefScope)
       at Microsoft.SharePoint.SPFeatureCollection.AddInternal(Guid featureId, Version version, SPFeaturePropertyCollection properties, Boolean force, Boolean fMarkOnly, SPFeatureDefinitionScope featdefScope)
       at Microsoft.SharePoint.SPFeatureCollection.Add(Guid featureId)
       at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.EnsureProvisioningFeature(SPSite site)
       at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.CreateSite(ProjectProvisionSettings provset)'.
    Later found that the service application where I was trying to provision the PWA, it was not associated with the web-application.

Maybe you are looking for

  • Backup using backint fails for maxdb

    Hi All, I have configured backint for backup of maxdb for content server 640. I configured it as per the documents available, created the configuration fiale and the parameter file. Created the backup medium in dbmgui. Now when i try to run the backu

  • Blank Screen after factory reset 7911 phone

    Hello guys, I had a weird issue on an 7911 ip phone. It was connected to my network and on the display of the phone was saying "ethernet disconnected". What i did was a soft and a hard reset using 123456789*0# and then 3497672850*# following the guid

  • Attachment Category Default

    Attachment Category Default When adding an attachment to the requisition in iProcurement, the category field is defaulted to 'Internal to Requisition'. We would like this value to be removed from the list. Does anyone know how to remove this from the

  • Determine file size as saved on disk

    When i open a file in PSCS5 I want to know the size of the file on disk without going to finder. The "Document size" shown at bottom of image frame is often, almost always, significantly different from that on disk. I am certain i am missing somethin

  • Email says "Copying to Outbox" for hours.

    I am trying to send an email with a compressed .zip 15gb exported Final Cut Pro X movie to an address, but when I click send it closes the window like normal, but it doesn't appear in the sent box. I click Window > Activity and see the process Copyin