querying table inside the schema of the IOM

Hello

I created a table looks in the scheme of the IOM. I want to insert data into this table custom through my scheduled task. As I try to insert data into a table that is located in the schema of the IOM itself, I hope I don't have to make a JDBC connection. Could you get it someone please let me know how can I go about it?

Thank you
PETREA

You can use the statement prepared for her and use tcDataProvider (IOM) to make connections.

Tags: Fusion Middleware

Similar Questions

  • Question on the long table inside the panelTabbed with the position of the tab = 'left '.

    12.1.3 jdev

    I have a few large tables inside the af af:showDetailItem: panelTabbed. My panelTabbed has the left position. In this case, I don't see the horizontal scroll bar under my long tables. The horizontal scroll bar is on the tab all.

    But if I have the position of the panelTabbed as noted above, I see the horizontal scroll bar under each long tables.

    Is this behavior as expected or something I was wrong to do that?

    Thank you.

    Finally, I figured out how to make the design that I desired using all these elements of page layout. The design requirement is to have tabs on the left side, see the vertical scroll bar if the content of the tab is too long and display the horizontal scroll bar if the table has too many columns.

    I have panelGroupLayout with layout of scroll inside panelTabbed showDetailItem, have all my panelBoxes w tables inside this panelGroupLayout. In this way I am able to get the vertical scroll bar when the contents of the table have too many lines.

    By removing the facet ceter of panelStretchLayout panelGroupLayout and having the region inside the facet Center directly, each layer of extendable any inherent layout. I am able to get the horizontal scroll bar below each long table inside panelBox.

    It is important to know how to layout components layer.

    Thank you.

  • Data not entered in af:table inside the panelCollection

    Hello

    I created a simple page that shows the result of a ViewCriteria. BUT when I click on the search button, data is not loaded in the table instead when I click View-> Show All (or any attribute) of panleCollection while data is loaded inside the table.

    I created the table inside panelCollection. I want just the result to display in the table when I click search.

    Looks like I'm missing something :-(

    Please advice.

    Concerning
    Sameer

    OK, I see your problem.

    Here is my solution:
    (1) use an af:query with table to start
    (2) select the table in the window of the structure
    (3) right click and select "Surround with...» "and select af:panelCollection. You can do this directly by hand if you want.
    (4) select the af component: query in the structure window and open the property inspector. You should see that the 'ResultComponentId' in the 'Common' section has a red border. This is because the Table that contains the result of the query is now in a different naming container. Click on the arrow down on the right side and the search for the table that is now inside the panelCollection (this is the same work that I described with the partial trigger) and select it.
    (5) save your work and run the page.

    You now have an af:query with table inside a panelCollection

    Here is the code that results in my test scenario:

                                
                                    
                                
                                
                                    
                                    
                                    
                                    
                                        
                                            
                                                
                                            
                                        
                                        
                                            
                                        
                                        
                                            
                                        
                                        
                                            
                                        
                                    
                                
    

    Timo

  • How is it, I can't insert into table inside the function?

    If I have a simple function that takes the same data with SELECT... IN... and then the information I need to insert back to the same table, but the error message says I can't insert, update, delete on a table I'm working on, but I understand that is SELECT... Will be actually copy the data from a select query in these variables that I use in my SQL function. So why, after completing Select I can't update in my SELECT stopped working already on the table.

    Procedures may not be called from a SQL statement.

    However, you can [call procedures PHP | http://www.oracle.com/technology/pub/articles/oracle_php_cookbook/fuecks_sps.html].

    Justin

  • join of tables inside the trigger

    I will set the value of a column in a trigger based on one join between other: new value and a table, but it does not work. Cannot select on one: new.column inside the trigger? If not, then all the ideas on how to do this simple thing? I may need to call a function with the: new.column value but don't know if I'm having the same problem. sillySql. Thank you.

    create the table codetab
    (ct_id number (6))
    ct_value varchar2 (6));

    create the table bustab
    (bt_id, number (6))
    bct_id number (6).
    bt_value varchar2 (6));

    insert into codetab values
    (1, 'AAA');
    insert into codetab values
    (2, 'BBB');

    create or replace trigger bustrig
    Before Insert on bustab for each line
    Begin
    Select codetab.ct_value in: new.bt_value
    of codetab, bustab
    where: new.bct_id = codetab.ct_id;
    end;
    /

    insert into bustab values
    (1, 1, null);

    insert into bustab values
    *
    ERROR on line 1:
    ORA-01403: no data found
    ORA-06512: at "ELLEPEUTNEANMOINS. BUSTRIG', line 2
    ORA-04088: error during execution of trigger ' ELLEPEUTNEANMOINS. BUSTRIG'

    Hello

    The problem isn't with the: NEW values, it is with the table.
    A FOR EACH ROW trigger on bustab can't question bustab.
    However, you don't need to ask bustab. Codeteb is the only table you must ask:

    create or replace trigger bustrig
    before insert on bustab for each row
    Begin
        select  ct_value
        into    :new.bt_value
        from    codetab
        where   :new.bct_id = ct_id;
    end;
    
  • Can't access Table inside the stored procedure

    Pls Me suggest good way

    The problem that I face that I created a user user1 and create a global temporary table under that user. Then I "select" Developer sql query this time under another user (User0) as select * from user1.gtt_table; successfully, it runs and return results. also can also insert data into user1.gtt_table.

    But if I try to use Insert or select user1.gtt_table and error

    • Error (798,29): PL/SQL: ORA-00942: table or view does not exist

    am I something wrong or missing any step?

    Connect as user1 for this.

  • Describe the Table inside the PLSQL procedure

    Dear all,
    I write a procedure which takes tablename as input and displays these columns in the table as output. How to describe a table within a plsql procedure. Also how to display columns, because each table will have a different number of columns. Please suggest.




    Thank you and best regards,
    Mahesh

    Hello
    You can have a procedure like this

    CREATE OR REPLACE PROCEDURE retrieve_tab_cols_prc(l_table_name VARCHAR2,l_owner_name varchar2) AS
    CURSOR TAB_COL_CURSOR IS
    select *
    from all_tab_cols
    where table_name = l_table_name
    and owner = l_owner_name
    ORDER BY column_id;
    BEGIN
    FOR CUR_REC IN TAB_COL_CURSOR
    LOOP
    dbms_output.put_line(CUR_REC.COLUMN_ID||' : '||CUR_REC.COLUMN_NAME);
    END LOOP;
    END retrieve_tab_cols_prc;
    
    Procedure created.
    
    SQL> begin
      2  RETRIEVE_TAB_COLS_PRC('EMP','SCOTT');
      3  end;
      4  /
    
    1 : EMPNO
    2 : ENAME
    3 : JOB
    4 : MGR
    5 : HIREDATE
    6 : SAL
    7 : COMM
    8 : DEPTNO
    
  • How to show under condition inside the table

    Hi Experts,

    JDev version 11.1.1.4.0.

    I have a table inside the table, I have 2 Date.MinValue i.e startdate and enddate. The necessary should be fired in the click of a button, apart from the table record.

    For each line, there is a date of start and enddate.

    Scenario1:

    StartDate = null. end date = null. When the click on save the date must be recorded and no message validation should be triggered when the click on the button Save. (It works fine).

    Scenario2:

    startDate = date and end date = null. When the click on save the date must be recorded and no message validation should be triggered when the click on the button Save. (It works fine).

    Scenario3:

    startDate = null and endDate = someDate. When the click on save the date must be registered and validation should be triggered only when the click on the button Save. (It works fine)

    Scenario 4: When I go start date and end date and remove the start date and pulls on the validation tab manually. But I want to be pulled on save button that is outside the table.

    Thank you

    Roy

    Try playing with the immediate property for af:table and autosubmit to date component. MinValue (must be false)

  • Page layout question: have 2 box inside the splitter facet

    Hi guru

    I need to have 2 Cabinet stacked vertically within the 2nd side of a separator (vertical) Panel and have a vertical scroll bar to scroll through the entire space of the 2nd facet. In addition, the Panel box #2 should move upward when the Panel box #1 is reduced. How to get there?

    I tried this

    < af:panelSplitter orientation = "vertical" >
    -< f: facet = 'first' name >
    -stuff inside the first facet
    -< / facet >

    -< f: facet 'second' = name >
    -PanelGroupLayout scroll >
    -< PanelBox 1 >
    -The things inside the box
    -< / PanelBox 1 >

    -< PanelBox 2 >
    -< PanelCollection >
    ----------------------------------<Table>
    ----------------------------------</Table>
    -< / PanelCollection >
    -< / PanelBox 2 >
    -< / PanelGroupLayout >
    -< / facet >
    < / af:PanelSplitter >

    The above provision extends from the first Panel area to the entire width of the screen, but the 2nd box is extended to only 50% of the width. I also modified the above to have the two boxes to Panel within a presentation of form of Panel with lines = '2' and argument maxColumns = '1 '. With that, the two panel boxes are stretched until 50% of the width of the screen. The problem is due to the table inside the box # 2 Panel?

    Help, please.

    Thank you

    Published by: user12612448 on January 4, 2011 04:10

    Hello

    A panelGrouplayout can be stretched in a panelsplitter until the layout is set to scroll or vertical.
    So it of ok and should work in your case

    A panelBox can be extended, however, it will not stretch her children, while the panelCollection will not stretch.
    Indeed, if it is caused by the content of the second panelbox.

    Try to use a styleClass to stretch the panelCollection example styleClass = "AFStretchWidth."

    Good luck

    Luc Bors

  • Repeat a line in a table inside a subform

    Hello everyone!

    I'm trying to figure out how to get back on line when I click on a button within a subform.  I want the line repeatedly and added to the table inside the subform.  How can I do this?  I also want to be able to add the numeric value of one of the cells in the generated total line.  I tried the instanceManager but cannot understand how or if it is still the right way to go at this at this stage.  Any help is greatly appreciated on this my new quest

    Justin

    Sample is here...

    https://Acrobat.com/#d=NG2Sc * iKU6WmNdIiJ72aeQ

    You should check the data repeat Row1 properties for each line box.

    Save the PDF file as a dynamic file...

    (1) file menu Goto-> properties of the form and select the default values tab change the default rendering in dynamic XML form Format

    (2) select the Preview Tab. Set the type of overview as a form 'Interactive form' and preview Adobe XML dynamic XML form

    (3) Finally, while saving the PDF select Save As Type 'Adobe Dynamic XML Form.

    Use the command in the click event of the button below...

    Table1.Row1.instanceManager.addInstance (1);

    Thank you

    Srini

  • get information from inside a trigger of the other tables in the schema even

    Addendum:

    ... Sorry I forgot: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64 bit

    *******************

    Hello

    I'm trying for a few hours to get information from inside a trigger to another table in the same pattern.

    My trigger is PSE_BKB. NUM_PHANTOM_BP

    I first tried a simple solution...


    CREATE OR REPLACE TRIGGER PSE_BKB. NUM_TR_PHANTOM_BP
    BEFORE DELETING, INSERTION OR UPDATE
    ON PSE_BKB. NUM_PHANTOM_BP
    REFERRING AGAIN AS NINE OLD AND OLD
    FOR EACH LINE
    DECLARE

    v_recht NUMBER (1): = 0;
    v_recht2 NUMBER (1): = 0;
    v_change_mitarbeiter NUMBER (1): = 0;
    v_recht_mitarbeiter NUMBER (1): = 0;
    v_typ varchar2 (20);
    v_obj_key varchar2 (11): = "gugus";
    v_ph_key varchar2 (11);
    -ph_key varchar2 (11);
    v_obj_keys varchar2 (4000): = ', ';

    anz_num NUMBER: = 0;
    anz_num_tmp NUMBER: = 0;
    anz_st_si NUMBER: = 0;


    BEGIN

    ...
    Select count (*)
    in anz_num
    of pse_bkb.num_objekt o
    where o.obj_key in
    (select distinct (ov.obj_key)
    of pse_bkb.num_objekt_verb ov
    where ov.phantom_key =: old.phantom_key
    )
    and o.typ = "NUM";

    ...

    Explanation: my trigger table is PSE_BKB. NUM_PHANTOM_BP.

    On the pse_bkb.num_objekt_verb of the table, I have a relationship 1: n to one or several object-key (field named obj_key!) on my referenced key: old.phantom_key. With this obj_key, I want to watch the weather, I have one or more lines in the table type num_objekt "NUM". So the internal selection gives me all the num_objekt_verb obj_key with my: old.phantom_key and with whom I count the number of lines I have on num_objekt with type "NUM".

    The problem is that the trigger does not see the table.

    I tried many variations.

    The latest version I tried was with a cursor inside the trigger definition as in the block of code below.

    For debugging purposes, I inserted a RAISE_APPLICATION_ERROR in the inner loop - see below. The v_obj_key variable is never defined, as in all the other variations, I tried-, I still see the predefined "gugus" in the declare section.

    It seems that oracle can not read other tables at this point. La: old.phantom_key is defined (in this simple example there would come a return obj_key).

    Thanks in advance for your help - and excuse my English.

    Trigger code:

    CREATE OR REPLACE TRIGGER PSE_BKB. NUM_TR_PHANTOM_BP
    BEFORE DELETING, INSERTION OR UPDATE
    ON PSE_BKB. NUM_PHANTOM_BP
    REFERRING AGAIN AS NINE OLD AND OLD
    FOR EACH LINE
    DECLARE

    v_recht NUMBER (1): = 0;
    v_recht2 NUMBER (1): = 0;
    v_change_mitarbeiter NUMBER (1): = 0;
    v_recht_mitarbeiter NUMBER (1): = 0;
    v_typ varchar2 (20);
    v_obj_key varchar2 (11): = "gugus";
    v_ph_key varchar2 (11);
    -ph_key varchar2 (11);
    v_obj_keys varchar2 (4000): = ', ';

    anz_num NUMBER: = 0;
    anz_num_tmp NUMBER: = 0;
    anz_st_si NUMBER: = 0;


    BEGIN


    Start
    declare

    cursor nums is

    Select obj_key
    of PSE_BKB.num_objekt_verb
    where phantom_key =: old.phantom_key;

    Start

    for the RC looping nums
    v_obj_key: = cr.obj_key;

    RAISE_APPLICATION_ERROR (-20099,' AGAIN 9 v_obj_key: ' | v_obj_key |) ': old.phantom_key ' | (: old.phantom_key);

    When the exit nums % NOTFOUND;

    Select count (*) in the pse_bkb.num_objekt anz_num_tmp where obj_key = v_obj_key and type = "NUM";
    anz_num: = anz_num + anz_num_tmp;
    end loop;

    end;
    end;

    Published by: user832075 on 14.01.2013 06:18

    The reason why you get count_n = 0 in tr_c is that there is no line in B with key_c = 17, to the moment you arrive at tr_c. The removal of B has already occurred, and since you're in a single transaction, the application for tr_c:

    select count(*)
      into   counter_n
      from   a aa
      where  aa.key_a in (select distinct(bb.key_a)
                          from   b bb
                          where  bb.key_c = v_ph_key
                         )
      and    aa.typ = 'n';
    

    'knows' that the row has been deleted then gets a number of 0.

    I added a set of instructions dbms_output to show the order in which triggers run, and that's what I get:

    SQL> delete from b_vw where key_a = 1 and key_c = 17 ;
    in trigger b_tr_vw
    In tr_b
    in tr_c
    delete from b_vw where key_a = 1 and key_c = 17
                *
    ERROR at line 1:
    ORA-20077: Remark: counter_n: 0 counter_s: 0 v_ph_key: 17 old.key_c: 17
    new.key_c:
    ORA-06512: at "OPS$ORACLE.TR_C", line 38
    ORA-04088: error during execution of trigger 'OPS$ORACLE.TR_C'
    ORA-06512: at "OPS$ORACLE.B_TR_VW", line 17
    ORA-04088: error during execution of trigger 'OPS$ORACLE.B_TR_VW'
    

    Thus b_tr_vw trigger is triggered first and deletes a B. trigger fires tr_b as part of this statement to remove and check against A, happening apparently so no error is triggered and succeeds the removal of B. Now tr_b_vw takes back control and deletes C. Since the B line which has key_c = 17 already deleted a control for counter_n > 0 and counter_s = 0 fails and raise you the-20002 error. Note that I'm assuming that the error of-20077 you lift is just to see the values and is not intended to be part of your actual code.

    Because I have really no idea what you're trying to accomplish here I can't offer a lot of advice that you might want to try entering two tr_c of the tr_b_vw trigger validation queries before deliver you the removal of b and put the counter_n > 0 and counter_s = 0 control under tr_b_vw to decide whether or not you want to remove.

    John

  • OIM 11 g R2 installation question. Failed to create schema of the IOM by using RCU 11.1.2

    I tried to install OIM 11 g R2 on a Windows 2008 R2 64-bit server and were met the following error during the creation of diagrams of IOM. Other patterns, such as metadata, SOA, user's email services and other associated schema creation succeeded. But creating schema IOM took more than 2 minutes and finally it fails with the error below.
    ################################################################
    UCR-6130: Action failed
    UCR-6135: error when trying to execute the action of java.
    ################################################################

    Components used:
    OS: Windows Server 2008 R2 64 Bit
    DBS: 11 GR 2 (11.2.0.1)
    UCR: 11.1.2

    The first error was ora-12637 package receive failure followed by Table or view does not exist. I couldn't get much information from the IOM and the rcu.log.

    I put the processes and the open_cursors session_cached_cursors described in preinstalling OIM 11 g R2 installation step.

    Pointers on what will be highly appreciated.

    Thank you
    Srini

    Copy the msvcr71.dll rcuHome\jdk\jre\bin inside the installer of the UCR and paste in C:\Windows\SysWOW64.

    Try to rerun the rcu with the new user, i.e. instead of DEV_OIM, run it with DEV_OIM1.

    Or delete the user DEV_OIM first and then use the same user.

  • issue in the creation of the IOM group reactivate via sql query.

    Hi guys,.

    I am trying to create a group to IOM database through sql query:

    insert into ugp(ugp_key,ugp_name,ugp_create,ugp_update,ugp_createby,ugp_updateby,) values(786,'dbrole','09-jul-12','09-jul-12',1,1);

    It is the inclusion of the group in the table of the PMU, but he does not appear in the administration console.

    After that, I also tried with this query:

    insert into gpp(ugp_key,gpp_ugp_key,gpp_write,gpp_delete,gpp_create,gpp_createby,gpp_update,gpp_updateby) values (786,1,1,1,'09-jul-12',1,'09-jul-12',1);

    After I haven't tried with this query.but still no use.

    and I also tried to assign a user to the group through query:

    insert into usg(ugp_key,usr_key,usg_priority,usg_create,usg_update,usg_createby,usg_updateby) values (4,81,1,'09-jul-12','09-jul-12',1,1);

    But always the same problem.it is the insertion in db.but do not enter in the administration console.

    Thank you
    Hanuman.

    Muriel Hanuman says:
    Thanks guys.the above queries are successfully.just to work I rebooted the server.

    I certify here if we want to add the group to 10g through sql query, then insert the records in the tables 'PMU' and 'MPP '.

    11 g, need to add records from the ugp only table. Because the administrator has also not found in this table only.so no need to table gpp.

    Thank you
    Hanuman.T

    1 groups are stored in the table of the PMU to IOM 11.1.1.5. The table of the GPP is present, but not used in 11.1.1.3 and is totally deleted schema repo in 11.1.1.5
    2. as far as I know, there is no other vital records except that in UGP table objects are created for a group, you are, in theory, able to create groups with direct SQL. Using the API of the IOM is the preferred method.
    3. you must use the sequence UGP_SEQ to get a new key for a group that you create.

    Vladimir

  • How to find a table, using the name of the column in the database schema

    Dear all,

    Please help me on

    using the name of the column, how to find a table name in the database schema.

    Thanks in advance

    Hello

    You can query the data dictionary views all_tab_columns and user_tab_columns.
    For example, to find the tables in the scott schema have called deptno columns:

    SELECT  table_name
    FROM    all_tab_columns
    WHERE   owner           = 'SCOTT'
    AND     column_name     = 'DEPTNO';
    

    Remember that anything inside quotes is case-sensitive.

    The all_tab_columns view has one row for each column in each table (or view) that you have the privileges to use.
    The user_tab_columns view is a subset of all_tab_columns, containing only your own tables (and views).

  • the table in a schema names

    Hi all

    How all the tables in a particular schema? If I have a query ALL_TABLES, giving all the tables on the system, but I want tables under a particular scheme (for example the FACTS) only.

    understand where owner = schema name

Maybe you are looking for

  • OSX update won't hurt my bootcamp?

    I have 10 Windows installed on my macpro for purposes of games.And I installed on my mac of Yosemite score, if I'm going to el capitan will lose I have my Windows partition?

  • I can't play youtube videos or access games on facebook

    I can't play youtube videos or access games on facebook and some websites, I get only 1/2 the page. It seems that something is blocking my flash. It says that my flash is updated and also of shockwave. I have included 2 screenshots. I started in safe

  • Toshiba virtual Store account Reset - 24745

    You please reset my account STORE VIRTUAL TOSHIBA 24745.Also, I want to ask you. There are on-screen email password and login details to be provided. I'll get them after resetting the account?BRITSO

  • DC motor control

    I have a problem with the encoder signal pulses... I need to order a motor ensuring that it won't go above a certain threshold. It takes the pulse with a having a trigger to repeat. I got code for this on a more, but I don't know how to get this puls

  • I have a product key but im missing the two last letters do - what I do

    I have a product key but im missing the two last letters do - what I do [Moved from Community Participation]