Select tables (too many)

Hi all
I'm a proud developer Oracle Apex. We have developed an interactive report that is generated from several tables joined in a remote system. I read that to improve performance, we can do the following:
(1) create a temporary table on our system that stores the id app_user and colmun following the query
(2) create a procedure that does it:
declare
param1: =: PXX_item
param2: =: PXY_item.
param3: =: V ('APP_USER')
Insert into < our_table >
(param3, < query of the remote system > select)
commit;
(3) Rediresct to a query page where IR reads from this temporary table

The "Exit" button, there is a procedure that purge the data from the table of this user (remove temp where user = V ('app_user'), then the temporary table is filled only with the necessary data.

Do you mind? Application will be used about 500 users, 50 concurrent users at a time.

Thank you!

You must enable the APEX on the source system, and install your application here. You can only ship IR in your main application as a framework. This way, you will get the best performance.

Denes Kubicek
-------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Apress.com/9781430235125
http://Apex.Oracle.com/pls/Apex/f?p=31517:1
http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
-------------------------------------------------------------------

Tags: Database

Similar Questions

  • Selection of too many things using the white arrow in CS4

    It is perhaps a silly question, but when I use the white arrow to select the things (like a path), he chooses paths that are not in

    the box I made. I tried to change the tolerance of 1 to 3 to 5 pixels, nothing helps. What gives?

    you if you turn it off, select path onlybinbthe co CES will prevent you from accidentally selecting another object if you click also on the cwnter of closed paths that is anotherr to select the vpath

  • Too many objects correspond to the primary key oracle.jbo.Key

    I get this error: Too many objects match the primary key oracle.jbo.Key when I tried to look for in a display object where the primary key is consists of more than one filed.

    Use case:

    In Jdeveloper 11.1.2.3 I Entity object called someTable this table has three fields A,B and C where the primary key is consist class towing A and B .

    I created different towing View object of someTable object enity that are someTableVO1 and someTableVO2 . Rated A in the view object somtableVO1 is a List Of Value(LOV) and the data are coming form filed A in the someTableVO2 .

    In application I have a search page that contains a drop-down list of registered A in somTableVO1 . Based on certain conditions, the drop-down list of the values in the list is not static. The value of the drop-down list is editable based on a select query run on someTableVO1 and it is based on the class thried C is NOT part of the primary key .

    The page displays the drop down menu with the correct values. But I have a ValeChangeListener method that will be activated whenever the user selects a value form the drop-down list.

    The problem is:

    The error Too many objects match the primary key is occur whenever I am executing this method.

    Support:

    I think the problem is with multiple fields for the primary key. of curse, there is an overlap in a part of the primary key (IE that paid A or B ) but the combination of A and B are always unique.

    Notes:

    1. I check the query by executing SQL Developer and it shows not all duplicate values.

    2 I don't attach code, because I think that the problem is not on (how to) this is (what to do).

    I hope that the idea is clear

    Problem solved.

    My goal was to show a summer that A form someTableVO1 as a list of value and I was trying to achieve by creating the list of value the same form Entity object . I understand that it was the wrong approach (correct me if I'm wrong). to achieve this in ADF technology, I have to do the following:

    1. Simply to drag and drop the view object from the Data Controls page.
    2. List of options appears asking how you want to display the view object (shape, chart, table, only one selection,...).

    3. Select Single Selection ->ADF one Selection

    4. Select the attributes that you want to show the user a list of values.

    Thanks for your comments.

  • Too many objects correspond to the primary key

    I read a lot of posts on this topic, but they are all related to the addition of new records.  My situation is a little different.

    I have a SelectOneChoice with AutoSubmit set to True.

    I have 2 tables that are related to the value of the SelectOneChoice with partial triggers defined on the SelectOneChoice.

    When I make a selection of the SelectOneChoice, I get the error "too many objects match the [primary key n] oracle.jbo.Key" where n is the primary key of the selection in the SelectOneChoice.

    Nothing is to be added/created.

    The end result should be that the tables get updated with correct lines that match the selection of SelectOneChoice.

    Any ideas on where to find questions, please let me know.

    JDEV 11.1.1.6

    Thank you

    Ray

    Why is - what drag you only the attribute ID of OrgRefView to your page? Why don't you drag the whole view of the page object?

    I think that is what is happening:

    The SelectOneChoice shows the ID attribute of the first line of OrgRefView. When you select a different value in the SelectOneChoice, you change the value of the ID of this line. And that's why the error message shows. You change the value of the ID of this line to the value of the ID of another line. And you can't have the same ID value for both lines.

    Try to drag the OrgRefView in the table on the page. Then, you can select a line and will display the appropriate details.

    Kind regards

    Linda

  • ORA-00939: too many arguments for works by using zones in xquery

    Running on the Oracle 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production database

    CREATE TABLE "ORT"."SAMPLE"
       ( "THEDATE" DATE,
    "THETIMESTAMP" TIMESTAMP (6),
    "STARTTIMESTAMP" TIMESTAMP (6) WITH LOCAL TIME ZONE,
    "ENDTIMESTAMP" TIMESTAMP (6) WITH LOCAL TIME ZONE
       );
    
    
    
    

    REM INSERTING into SAMPLE
    SET DEFINE OFF;
    Insert into SAMPLE (THEDATE,THETIMESTAMP,STARTTIMESTAMP,ENDTIMESTAMP) values (to_date('13-06-10 14:07:52','RR-MM-DD HH24:MI:SS'),to_timestamp('13-06-19 14:27:52.000000000','RR-MM-DD HH24:MI:SS.FF'),to_timestamp('13-06-19 10:34:04.586000000','RR-MM-DD HH24:MI:SS.FF'),to_timestamp('13-06-19 15:05:38.805000000','RR-MM-DD HH24:MI:SS.FF'));
    
    
    
    

    the following query triggers ora-00939

    SELECT XMLQUERY('for $v in fn:collection("oradb:/ORT/SAMPLE")
    let $date1 := $v/ROW/STARTTIMESTAMP/text()
    let $date2 := $v/ROW/ENDTIMESTAMP/text()
    return if ($date1 < $date2) then (concat($date1," date is less than ", $date2)) else (concat($date1," date is greater than ", $date2)) ' returning content) from dual;
    
    

    ORA-00939: too many arguments to function

    00939 00000 - "too many arguments for the function.

    * Cause:

    * Action:

    any ideas?

    This is a bug related to the rewriting of XQuery.

    It works with the NO_XML_QUERY_REWRITE indicator:

    SELECT / * + no_xml_query_rewrite * /.

    XMLQUERY)

    but you should probably open a SR for this.

  • Scalability problems - too many Active Sessions?

    Hello

    I'm having a problem with an app that I built for one of the College campus, that I work. The application is a queue system where there are stations for students to access your room, admin stations where staff can see these students and "call", and displays outside every office employee that shows the student who was called. There are about 20 of the latter type of billboards. I have the following code in my footer to query the DB for most recent students called for a specific room:
    <script type="text/javascript">
    <!--
    var refresh_region = function( workstation_in, div_in ) {
        $.get(
            'wwv_flow.show', 
            {"p_request"      : 'APPLICATION_PROCESS=F_NEXT_STUDENT',
             "p_flow_id"      : $v('pFlowId'),      //app id
             "p_flow_step_id" : $v('pFlowStepId'),  //page id
             "p_instance"     : $v('pInstance'),    //session id
             "x01"            : workstation_in
            },
            function(data) {
                $(div_in).html(data);
            }
        );
        setTimeout(function() { refresh_region( workstation_in, div_in ) }, 5000);
    }
    
    refresh_region( '&P7_WORKSTATION_IN.', '#next_student_div' );
    //-->
    </script>
    The process of OnDemand, F_NEXT_STUDENT executes the query and returns the result:
    select a.FIRST_NAME || ' ' || a.LAST_NAME
    into   full_name
    from   ONESTOP_QUEUE a
    where  a.WORKSTATION_ID_CALLED = in_workstation_id
    and    a.STATUS = 'CALLED'
    and    a.QUEUE_ID = (
       select min( c.QUEUE_ID )
       from   ONESTOP_QUEUE c
       where  c.WORKSTATION_ID_CALLED = in_workstation_id
     and    c.STATUS = 'CALLED');
    However, when all these display panels is turned on (and I use the code as follows in the other pages for similar purposes) the application become slow and eventually unresponsive. As a first step, we have the application running a box with Oracle XE. Finally, we have migrated to a full blown installation 11g with APEX listener and GlassFish. My DBA said everything looks ok on the side of the DB, so I tried to dig into other areas to see where the bottleneck can be. After inspecting the report of Active Sessions in the APEX, I noticed that there are a ton of connections being generated (> 30 000). This is not a good thing for me and I try to understand what I am doing wrong.

    At first I used $. post() instead of $. get (). I was also using setInterval() instead of a setTimeout() loop. However, none of these changes really seem to help the situation. I am at a loss to know how else to improve the performance of this application. Any suggestions on what I can try?

    Most of the features of the app is on apex.oracle.com
    WORKSPACE: SCCC_TEST
    USER/PASS: TEST/test
    Direct URL to the page (I spend worksation ID): http://apex.oracle.com/pls/apex/f?p=65890:7:0:P7_WORKSTATION_IN:ADMISSIONS_1

    Thanks in advance for any help.

    Hello

    are you sure that each AJAX request generates a new APEX session? Because it is based on your downloaded app all right. You can check that by running the following query. It will also show you how long it took APEX to meet your demand for AJAX (elapsed_time). I think that the elapsed time will be the key to find out why your application becomes unresponsive if too many customers are returning. The goal should be that the AJAX request ends as soon as possible. For example 1 sec would be for many, because if you have 20 parallel AJAX requests at the same time, this could have an impact on your DB. You can share your average time?

    select apex_session_id, to_char(view_date, 'DD.MM.YYYY HH24:MI:SS') as view_date, elapsed_time, application_info
      from apex_workspace_activity_log
     where application_id = 65890
       and page_id = 7
       and view_date >= sysdate - 0.1
     order by 1, 2, 3
    

    I don't know how much data is stored in the ONESTOP_QUEUE table, but it may be useful to adjust your statement used in F_NEXT_STUDENT. On apex.oracle.com, the plan of the explain output shows at least he uses twice a scan interval on index ONESTOP_QUEUE_IDX. For inside MIN instruction it is well, but the external SQL should just do a search PK using QUEUE_ID. This is why I would like to delete

    a.WORKSTATION_ID_CALLED = in_workstation_id and a.STATUS = 'CALLED'
    

    to force the index seek PK using QUEUE_iD.

    I also suggest that you make your JavaScript code on the page 5 and 7 more transparent. He is currently hiding in the region or footer HTML. I would say to move JS code in the attributes of the page 'Function and Global Variable declaration' and ' run when Page Loads. BTW, there is no need to use $(document) .ready in "Run when the Page loads", because internally, we already use $(document) .ready.

    Or instead of using your own JavaScript code you can download the plugin http://www.oracle.com/technetwork/developer-tools/apex/application-express/apex-plug-ins-182042.html#dynamic "Timer" and use rather dynamic actions. On page 5 you can use the action "Refresh" to update your classic report and on page 7 you can use an action to "Set the value" to run your query. I think it would make your page easy to read for others.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • A function in a subquery is call too many times.

    Hi all

    I am struggling to understand why a function in a subquery is called too many times.
    Let me explain with an example:
    create or replace function all_emp (v_deptno in number) 
    return varchar2
    as
    
    v_all_emp varchar2(2000);
    
    begin
    
        dbms_output.put_line ('function called');
    
        for i in (select * from emp where deptno = v_deptno) loop
    
            v_all_emp := v_all_emp || i.ename || '; ';
        
        end loop;
    
    return v_all_emp;
        
    end;
    /
    
    -- running just the subquery, calls the function all_emp only 4 times (once for each row in table dept)
    select 
        d.deptno,
        d.dname,
        all_emp(d.deptno) f_all_emp
        from dept d;
    
    -- running the whole query, using regexp to split the value of f_all_emp into separate fields, causes that function all_emp is called 28 times, thus 6 times for each row!!
    select tmp.*,
    regexp_substr(f_all_emp,'[^;]*',1,1) emp1,
    regexp_substr(f_all_emp,'[^;]*',1,3) emp2,
    regexp_substr(f_all_emp,'[^;]*',1,5) emp3,
    regexp_substr(f_all_emp,'[^;]*',1,7) emp4,
    regexp_substr(f_all_emp,'[^;]*',1,9) emp5,
    regexp_substr(f_all_emp,'[^;]*',1,11) emp6
    from
        (select 
        d.deptno,
        d.dname,
        all_emp(d.deptno) f_all_emp
        from dept d) tmp
    ;
    I do not understand why Oracle calls my 28 times function in this example, 4 times should be sufficient.

    Is there a way to force that the subquery is materialized first?

    A reminder of the facts:
    Above function / request is of course a simple example.
    In fact, I have a rather complex function, integrating in a subquery.
    The subquery is already slow (2 min) to run, but when I want to share the result of the function in several areas (about 20) it's over an hour due to above described behavior.

    Optimizer merges online view and the query results in:

    select  d.deptno,
            d.dname,
            all_emp(d.deptno) f_all_emp
            regexp_substr(all_emp(d.deptno),'[^;]*',1,1) emp1,
            regexp_substr(all_emp(d.deptno),'[^;]*',1,3) emp2,
            regexp_substr(all_emp(d.deptno),'[^;]*',1,5) emp3,
            regexp_substr(all_emp(d.deptno),'[^;]*',1,7) emp4,
            regexp_substr(all_emp(d.deptno),'[^;]*',1,9) emp5,
            regexp_substr(all_emp(d.deptno),'[^;]*',1,11) emp6
      from  dept d
    /
    

    That's why function is called 28 times. Seen go explain plan:

    SQL> explain plan for
      2  select tmp.*,
      3          regexp_substr(f_all_emp,'[^;]*',1,1) emp1,
      4          regexp_substr(f_all_emp,'[^;]*',1,3) emp2,
      5          regexp_substr(f_all_emp,'[^;]*',1,5) emp3,
      6          regexp_substr(f_all_emp,'[^;]*',1,7) emp4,
      7          regexp_substr(f_all_emp,'[^;]*',1,9) emp5,
      8          regexp_substr(f_all_emp,'[^;]*',1,11) emp6
      9    from  (
     10           select  d.deptno,
     11                   d.dname,
     12                   all_emp(d.deptno) f_all_emp
     13             from  dept d
     14          ) tmp
     15  /
    
    Explained.
    
    SQL> @?\rdbms\admin\utlxpls
    
    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------
    Plan hash value: 3383998547
    
    --------------------------------------------------------------------------
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    --------------------------------------------------------------------------
    |   0 | SELECT STATEMENT  |      |     4 |    52 |     3   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS FULL| DEPT |     4 |    52 |     3   (0)| 00:00:01 |
    --------------------------------------------------------------------------
    
    8 rows selected.
    
    SQL>  
    

    If we use the NO_MERGE indicator:

    SQL> select  /*+ NO_MERGE(tmp) */
      2          tmp.*,
      3          regexp_substr(f_all_emp,'[^;]*',1,1) emp1,
      4          regexp_substr(f_all_emp,'[^;]*',1,3) emp2,
      5          regexp_substr(f_all_emp,'[^;]*',1,5) emp3,
      6          regexp_substr(f_all_emp,'[^;]*',1,7) emp4,
      7          regexp_substr(f_all_emp,'[^;]*',1,9) emp5,
      8          regexp_substr(f_all_emp,'[^;]*',1,11) emp6
      9    from  (
     10           select  d.deptno,
     11                   d.dname,
     12                   all_emp(d.deptno) f_all_emp
     13             from  dept d
     14          ) tmp
     15  /
    
        DEPTNO DNAME          F_ALL_EMP  EMP1       EMP2       EMP3       EMP4       EMP5       EMP6
    ---------- -------------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
            10 ACCOUNTING     CLARK; KIN CLARK       KING       MILLER
                              G; MILLER;
    
            20 RESEARCH       SMITH; JON SMITH       JONES      SCOTT      ADAMS      FORD
                              ES; SCOTT;
                               ADAMS; FO
                              RD;
    
            30 SALES          ALLEN; WAR ALLEN       WARD       MARTIN     BLAKE      TURNER     JAMES
                              D; MARTIN;
    
        DEPTNO DNAME          F_ALL_EMP  EMP1       EMP2       EMP3       EMP4       EMP5       EMP6
    ---------- -------------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
                               BLAKE; TU
                              RNER; JAME
                              S;
    
            40 OPERATIONS
    
    function called
    function called
    function called
    function called
    function called
    function called
    SQL> explain plan for
      2  select  /*+ NO_MERGE(tmp) */
      3          tmp.*,
      4          regexp_substr(f_all_emp,'[^;]*',1,1) emp1,
      5          regexp_substr(f_all_emp,'[^;]*',1,3) emp2,
      6          regexp_substr(f_all_emp,'[^;]*',1,5) emp3,
      7          regexp_substr(f_all_emp,'[^;]*',1,7) emp4,
      8          regexp_substr(f_all_emp,'[^;]*',1,9) emp5,
      9          regexp_substr(f_all_emp,'[^;]*',1,11) emp6
     10    from  (
     11           select  d.deptno,
     12                   d.dname,
     13                   all_emp(d.deptno) f_all_emp
     14             from  dept d
     15          ) tmp
     16  /
    
    Explained.
    
    SQL> @?\rdbms\admin\utlxpls
    
    PLAN_TABLE_OUTPUT
    ------------------------------------------------------------------------------------------------------
    Plan hash value: 2317111044
    
    ---------------------------------------------------------------------------
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    ---------------------------------------------------------------------------
    |   0 | SELECT STATEMENT   |      |     4 |  8096 |     3   (0)| 00:00:01 |
    |   1 |  VIEW              |      |     4 |  8096 |     3   (0)| 00:00:01 |
    |   2 |   TABLE ACCESS FULL| DEPT |     4 |    52 |     3   (0)| 00:00:01 |
    ---------------------------------------------------------------------------
    
    9 rows selected.
    
    SQL> 
    

    Not sure why the function is executed once 6 and not 4. What we really want, is to materialize reviews online:

    SQL> with tmp as (
      2               select  /*+ materialize */
      3                       d.deptno,
      4                       d.dname,
      5                       all_emp(d.deptno) f_all_emp
      6                 from  dept d
      7              )
      8  select  tmp.*,
      9          regexp_substr(f_all_emp,'[^;]*',1,1) emp1,
     10          regexp_substr(f_all_emp,'[^;]*',1,3) emp2,
     11          regexp_substr(f_all_emp,'[^;]*',1,5) emp3,
     12          regexp_substr(f_all_emp,'[^;]*',1,7) emp4,
     13          regexp_substr(f_all_emp,'[^;]*',1,9) emp5,
     14          regexp_substr(f_all_emp,'[^;]*',1,11) emp6
     15    from  tmp
     16  /
    
        DEPTNO DNAME          F_ALL_EMP  EMP1       EMP2       EMP3       EMP4       EMP5       EMP6
    ---------- -------------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
            10 ACCOUNTING     CLARK; KIN CLARK       KING       MILLER
                              G; MILLER;
    
            20 RESEARCH       SMITH; JON SMITH       JONES      SCOTT      ADAMS      FORD
                              ES; SCOTT;
                               ADAMS; FO
                              RD;
    
            30 SALES          ALLEN; WAR ALLEN       WARD       MARTIN     BLAKE      TURNER     JAMES
                              D; MARTIN;
    
        DEPTNO DNAME          F_ALL_EMP  EMP1       EMP2       EMP3       EMP4       EMP5       EMP6
    ---------- -------------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
                               BLAKE; TU
                              RNER; JAME
                              S;
    
            40 OPERATIONS
    
    function called
    function called
    function called
    function called
    SQL> explain plan for
      2  with tmp as (
      3               select  /*+ materialize */
      4                       d.deptno,
      5                       d.dname,
      6                       all_emp(d.deptno) f_all_emp
      7                 from  dept d
      8              )
      9  select  tmp.*,
     10          regexp_substr(f_all_emp,'[^;]*',1,1) emp1,
     11          regexp_substr(f_all_emp,'[^;]*',1,3) emp2,
     12          regexp_substr(f_all_emp,'[^;]*',1,5) emp3,
     13          regexp_substr(f_all_emp,'[^;]*',1,7) emp4,
     14          regexp_substr(f_all_emp,'[^;]*',1,9) emp5,
     15          regexp_substr(f_all_emp,'[^;]*',1,11) emp6
     16    from  tmp
     17  /
    
    Explained.
    
    SQL> @?\rdbms\admin\utlxpls
    
    PLAN_TABLE_OUTPUT
    -----------------------------------------------------------------------------------------------------------------------
    Plan hash value: 634594723
    
    ---------------------------------------------------------------------------------------------------------
    | Id  | Operation                  | Name                       | Rows  | Bytes | Cost (%CPU)| Time     |
    ---------------------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT           |                            |     4 |  8096 |     5   (0)| 00:00:01 |
    |   1 |  TEMP TABLE TRANSFORMATION |                            |       |       |            |          |
    |   2 |   LOAD AS SELECT           |                            |       |       |            |          |
    |   3 |    TABLE ACCESS FULL       | DEPT                       |     4 |    52 |     3   (0)| 00:00:01 |
    |   4 |   VIEW                     |                            |     4 |  8096 |     2   (0)| 00:00:01 |
    |   5 |    TABLE ACCESS FULL       | SYS_TEMP_0FD9D6603_20255AE |     4 |    52 |     2   (0)| 00:00:01 |
    
    PLAN_TABLE_OUTPUT
    -----------------------------------------------------------------------------------------------------------------------
    ---------------------------------------------------------------------------------------------------------
    
    12 rows selected.
    
    SQL> 
    

    However, suspicion of MATERIALIZATION is a hint of undocumented.

    SY.

  • too many return values for a single node

    I have a table with two columns

    the table structure
    ----------------------
    string school_name type
    xmltype obj_xml

    Row1
    ----------
    abc_school,
    < student >
    < student >
    < id > 101 / < ID >
    < teacher > CBA < / teacher >
    < / student >
    < student >
    < id > 102 / < ID >
    XYZ < teacher > < / teacher >
    ONP < teacher > < / teacher >
    RSM < teacher > < / teacher >
    < / student >
    < / students >

    row2
    -----------
    def_school,
    < student >
    < student >
    < id > 301 / < ID >
    pqr < teacher > < / teacher >
    < / student >
    < student >
    < id > 302 / < ID >
    XYZ < teacher > < / teacher >
    < / student >
    < / students >


    is it possible to display data in the format using a query oracle below.
    ---------------------------------------------------------------------------------------------------
    teacher id school_name
    --------------------- ------- ------------
    abc_school 101 abc
    abc_school 102 xyz
    abc_school 102 onp
    RSM abc_school 102


    I used the slot request, throwing an error - too many return values for a single node

    SELECT school_name, teacher
    ExtractValue (value (x), ' / / key ') like student_id
    extractValue (value (x), ' / / value ') AS teacher
    SCHOOL t,.
    TABLE)
    XMLSequence (extract (obj_xml, ' / students/pupils '))
    ) x

    Please post How can I modify this query, the teacher tags may vary for each student

    Published by: user7955917 on May 8, 2012 04:00

    As mentioned in your other thread today, it would be helpful if you could post your exact version of db.
    Samples of work would be appreciated too, the XML data, you gave are not correct.

    I would do it with two XMLTables, like this:

    SQL> SELECT school_name
      2       , x1.id
      3       , x2.teacher
      4  FROM school t
      5     , XMLTable('/students/student'
      6         passing t.obj_xml
      7         columns id       number   path 'id'
      8               , teachers xmltype  path 'teacher'
      9       ) x1
     10     , XMLTable('/teacher'
     11         passing x1.teachers
     12         columns teacher  varchar2(30) path '.'
     13       ) x2
     14  ;
    
    SCHOOL_NAME                            ID TEACHER
    ------------------------------ ---------- ------------------------------
    abc_school                            101 abc
    abc_school                            102 xyz
    abc_school                            102 onp
    abc_school                            102 rsm
    def_school                            301 pqr
    def_school                            302 xyz
    
    6 rows selected
     
    
  • Too many objects correspond to the oracle.jbo.Key [2 primary key]. Error

    Hello

    I view a read-only table, and an editable form below so that the user can select a line in the table and the rank must be filled in the form below.
    The user must be able to update the line and save in the form below.
    Then the table above must also be updated with the updated values.

    To do this, I created a from VO EO.

    Using the same data control, I created a table UI Readonly and an editable form in the same JSF page.

    When I run the page, the first line is filled in the table and the form.
    When I select the second line of the table, I get the following error in the editable form

    Error: too many objects match the [2 primary key] oracle.jbo.Key.

    My EO has only one primary key, and I have not included the column ROWID EO or VO.

    How can we solve this problem?

    However, if I move the form to another page, it works well.
    But we have the table and editable form on the same page for ease of use purposes.

    Thanks for any help.
    Sameer

    Hi Sameer,

    You can run your VO in many ways as Amit said...
    Otherwise you can go to your entityImpl, the super.doDML method of the validation without any errors you can re-providing your VO here itself
    And give the save button as partial triggers for Table...

    Kind regards
    Suganth.G

  • too many lines found

    I have two data blocks, a data block joins two tables and second datablock is based on a table.
    first DataBlock has all the fields with a ratio of 1:1 with Packing_id and second details of data block has several lines
    for each Packing_id I wrote 2 procs for 2 rematch are called respective after trigger query.

    My problem is when I am in form gives the Error Message ("too many lines found_orders_begin'");

    Here are my codes.

    PROCEDURE post_query IS
    CURSOR mast_cur IS
    SELECT pa.ship_to_last_name,
    PA.ship_to_first_name,
    PA.ship_to_address1,
    PA.ship_to_address2,
    PA.ship_to_city,
    p.packing_id,
    OF pa, packing p packing_attributes
    WHERE the p.packing_id; = pa.packing_id
    AND p.packing_id; =: PACKING_JOINED. PACKING_ID;

    BEGIN
    Message ("too many lines found_orders_begin'");
    OPEN mast_cur.
    loop
    EXTRACTION mast_cur to: PACKING_JOINED. SHIP_TO_LAST_NAME,
    : PACKING_JOINED. SHIP_TO_FIRST_NAME,
    : PACKING_JOINED. SHIP_TO_ADDRESS1,
    : PACKING_JOINED. SHIP_TO_ADDRESS2,
    : PACKING_JOINED. SHIP_TO_CITY,
    : PACKING_JOINED. PACKING_ID,
    end loop;
    CLOSE Mast_cur;

    EXCEPTION
    WHEN too_many_rows THEN
    Message ("too many lines found '");
    WHEN no_data_found THEN
    Message ("no data has been found it is '");
    WHILE OTHERS THEN
    Message ("do something else'");

    END post_query;
    ***********************************************************************************
    Detail of proc

    PROCEDURE post_query IS
    CURSOR det_cur IS
    SELECT pd.quantity,
    PD.stock_number,
    OF packing_details pd, packing p
    WHERE the p.packing_id; = pd.packing_id
    AND pd.packing_id =: PACKING_JOINED. PACKING_ID;
    BEGIN
    Message ("too many lines found_pack_begin'");
    OPEN det_cur.
    Look FOR det_cur IN
    : DETAILS. QUANTITY,
    : DETAILS. STOCK_NUMBER,
    CLOSE Det_cur;

    EXCEPTION
    WHEN too_many_rows THEN
    Message ("too many lines found '");
    WHEN no_data_found THEN
    Message ("no data has been found it is '");
    WHILE OTHERS THEN
    Message ("do something else'");

    END post_query;


    Thanks in advance for your help.

    Sandy

    If it is an element of data, why you change the database value in POST-QUERY-trigger with your select? At that time you assign a new value to a database element. It's like changed recording (if editing is allowed, otherwise it will trigger an error)

  • Receive "Safari cannot open the page. Too many redirects occurred trying to open google

    On a Mac OS X 10.7, when I try and access google/mail I get the message: "Safari cannot open the page. Too many redirects occurred during open yo... Any ideas?

    In your Safari menu bar, click Safari > Preferences then select the Privacy tab, then click: delete all data Web site

    Then exit then restart Safari to test.

    If you see the same message, the redirects may be due to malicious software.

    You can download here free malware removal utility > https://www.malwarebytes.org/

    Or, if you would rather download MalwareBytes, you follow the instructions in the malware removal manually here > remove the unwanted advertising software that shows ads advertising and graphics on your Mac

  • Windows Movie Maker error importation 'may not be imported. "An interface has too many methods to fire from.

    I'm doing a movie using Windows Movie Maker and hobby clips that I converted to VHS using Roxio Easy VHS tapes to DVD converter.  When I try to import the file into the Movie Maker, I get a message saying 'could not be imported. "An interface has too many methods to fire from.  What should I do?

    This happens usually when your source files are
    not compatible with Movie Maker. Best bet would be
    be to convert video files to WMV format
    before you import into Movie Maker.

    There are many converters available on the net... some
    free... some detail.

    The following freeware converter is just one example:

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Format Factory (freeware)
    http://www.videohelp.com/tools/Format_Factory
    (the 'direct link' is faster download)
    (the file you want to download is: > FFSetup290.zip<>
    (FWIW... installation..., you can uncheck
    ('all' boxes on the final screens)
    (Windows XP / Vista / 7)

    First, you will need to decompress the file or just open the
    Drag > FFSetup290.exe< out="" of="" the="">
    and drop it on your desktop. To install left click.

    Next, after the download and installation of Format
    Factory... you can open the program and
    left click on the toolbar, the "Option" button and
    "Select an output folder to" / apply / OK.
    (this is where you find your files after they)
    are converted)

    Drag and drop your video clips on the main screen...

    Select "all to WMV" / OK...

    Click on... Beginning... in the toolbar...

    That should do it...

    Good luck...

  • too many startup programs

    Too many programs that start automatically when I log in I have to change this

    To identify what loads when you start using Autoruns (freeware from Microsoft).
     http://www.Microsoft.com/technet/sysinternals/ProcessesAndThreads/Autoruns.mspx

    With Autoruns, you can deselect an item which disables startup, or you can click with the right button on an item, then remove it. If you clear the check box that you can check back for re - activate the element. It is an approach much safer than editing the registry and better than using msconfig.

    Another useful feature of the program is that you can click with the right button on an item and select search online to get information about the selected item.

  • I'm trying to import video in Movie Maker and get the following message: M2U00017. MPG could not be imported. An interface has too many methods to fire events from. What do this mean and what should I do to allow me to import video files to edit?

    When you try to import video files in Movie Maker I get the message; M2U00017. MPG could not be imported. An interface has too many methods to fire events from

    -What this means and how do I fix it so I can import video files to edit?

    When you try to import video files in Movie Maker I get the message; M2U00017. MPG could not be imported. An interface has too many methods to fire events from

    -What this means and how do I fix it so I can import video files to edit?

    =======================================
    Movie Maker has problems with the .mpg files... best bet would be
    to convert the .mpg files before importing the .wmv format.

    Several formats are apparently compatible with
    Movie Maker, but the most reliable choices are:

    Photos - bmp
    Video - wmv or dv - avi
    Music - wma, wav, .wmv

    See the following article:

    Movie Maker 2 - Import MPEG files
    http://www.Papajohn.org/mm2-importing-video-MPEG2.html

    The following freeware can convert:

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Format Factory
    http://www.pcfreetime.com/
    (FWIW... you can uncheck
    all the boxes on the last screen)

    After downloading and installing Format Factory...
    Open the program and choose an output folder...
    (this is where you will find your files when they are
    converted)

    Drag and drop your video clips on the main screen...

    Select "At?" / OK...
    (the? is the format of your choice)

    Click on... Beginning... in the toolbar...

    That should do it...

    Good luck...

    John Inzer - MS - MVP - digital media experience

  • Error message "too many redirects."

    I am running Windows 7, using the Chrome browser and have My Yahoo set as my homepage on my desk.  I can't access my Yahoo I get the error page "Web page a redirect loop" with message void "too many redirects."  I followed the instructions and deleted cookies, third-party cookies accepted and tried different browsers.  I can't access my Yahoo on other devices.

    Hello Janet,.

    Thanks for posting your query in Microsoft Community.

    Let me ask you;

    • The issue is specific to Google Chrome browser?
    • Are you facing any issues with Internet Explorer?

    If the problem is specific to Google Chrome, I recommend posting your query in the support forum of Google Chrome for the best possible response to your query.

    If you are having problems with Internet Explorer as well, please come back with answers to the following questions;

    • What is the version of Internet Explorer do you use?
    • What security software is installed on the computer?
    • When was the last time it was working fine?
    • Remember to no particular change in the computer before the show?

    If you are faced with questions as well using Internet Explorer, you can try the following methods and let us know the result.

    Method 1: I recommend that you clear your browser cache and temporary internet files to ensure that they are not causing your problem. Please delete your browser cookies by following the instructions.

    1. Open Internet Explorer, click the Start button. In the search box, and then type Internet Explorerin the list of results, click on Internet Explorer.

    1. Select Tools (via the gear icon) > Security > delete history....
    1. Be sure to uncheck the favorite preserve Web site data and check the Temporary Internet files and Cookies , and then click Remove.

    2. Once it has cleared your cache and cookies successfully, you will receive a confirmation at the bottom of the window.

    If the problem persists, try Method 2.

    Method 2: I suggest that you follow the steps in the article given below and check.

    Can't access some Web sites in Internet Explorer

    Note: The steps described in the article for Internet Explorer 10 for Windows 7 also applies to IE 11 for Windows 7.

    Important: Reset the Internet Explorer settings can reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings.

    Hope the helps of information. Let us know if you need help with Windows related issues. We will be happy to help you.

    Hope this information is useful. Please feel free to answer in the case where you are facing in the future other problems with Windows.

Maybe you are looking for