Oracle URM 11g: Switching non-record into record

Hi guys,
Our customer is implementing Oracle URM 11g.
User requirement: In the initial stage, users will upload contents into the URM repository as 'non record'. After few revisions, once the content is finalised, they will change it as 'record".
We remember that the record and non-record are controled at Retention category folder level using the three fields which are "Restricts revisions", "Restricts Edits" and "Restricts deletion". Whatever the contents are uploaded into a category folder, it will inherit the those three fields and the record status will be set based on them. In this situation, how the users will be able to switch the a non-record which is filed under a retention category folder(those three fields are Off) will be changed into record later? We are unable to find those three fields in the content level.
Please advice
Thanks & Regards
bless

Hi Mike,
First of all, thank you for the quick reply but I do not get any error when i try to insert into my table using the above SQL but I'v copied the result from sqlplus for you :
SQL> delete from biusr.int_kvkig_kotvall;
480 rows deleted.
SQL> commit;
Commit complete.
SQL> insert into biusr.int_kvkig_kotvall select id,ceg,srszam,megnevezes from "S
ql Results$"@KOTVALL;
480 rows created.
SQL> commit;
Commit complete.
SQL>
I do get the "ORA-28513: internal error in heterogeneous remote agent ORA-02063: preceding line from KOTVALL" message only when the job tries to issue the DML commands.
Regards,
Akos

Similar Messages

  • :new and :old into record into record variable

    Hi,
    Can anyone tell me whether it is possible in 11g to copy the :new and :old records straight into record variables without having to explicitly copy every column?
    I would prefer to write this:
      create or replace trigger app1_tab1_biudr
      before insert or update or delete
      on table_1
      as
      declare
        r_tab1_old table_1%rowtype;
        r_tab1_new table_1%rowtype;
      begin
         r_tab1_new := :new;
         r_tab1_old := :old;
      end app1_tab1_biudr;instead of this
      create or replace trigger app1_tab1_biudr
      before insert or update or delete
      on table_1
      as
      declare
        r_tab1_old table_1%rowtype;
        r_tab1_new table_1%rowtype;
      begin
         r_tab1_new.col1 := :new.col1;
         r_tab1_new.col2 := :new.col2;
         r_tab1_new.col3 := :new.col3;
         -- ... etc.
         r_tab1_old.col1 := :old.col1;
         r_tab1_old.col2 := :old.col2;
         r_tab1_old.col3 := :old.col3;
         -- ... etc.
      end app1_tab1_biudr;Why? This is nonsense example, of course, but when we apply this to our table API's, it would make a big difference in the length and maintainability of the code.
    Thanks!
    Remco

    RemcoGoris wrote:
    Hi,
    Can anyone tell me whether it is possible in 11g to copy the :new and :old records straight into record variables without having to explicitly copy every column?I'm not sure with 11g if they've introduced it, but to the best of my knowledge, this has never been something that has been possible as the :new and :old are intrinsicly tied into the internals of the triggers (i.e. I think they, internally, hold more information about the changed rows than just being a simple rowtype structure)

  • Oracle BI 11g switch colors (styles and skins) back to 10g

    Hi all,
    Is there a way to siwtch back to the old colors of 10g?
    If you install oracle BI 11g the colors are complete different from 10g.
    We like to have the old colors back.
    Regards
    Stefan

    Hi
    i dont think 11g is providing backward compatibility for look and feel in OBIEE 11g but alternative way is to Develop Custom Styles and Skins.
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1113/customizing_obiee11g/customizing_obiee11g.htm.
    regards

  • URM 11g Archive and disposition rules

    Hi guys,
    Our customer is using Oracle URM 11g. They wants to archive a content into a external storage first. After sometime they want to destroy them from the external storage itself. That means upon the content reaches certain time in retention process, it should be processed though a Content Archive process and the metadata can be stored in the URM repository. Later on the document should be processed for physical distroyal.
    For example
    Document A --> (After 4 years of record creation) Archive the content into external storage and leave metadata --> (After 8 years of record creation) Destroy metadata and document from external storage.
    Is the above retention process can be configured in URM retention process?
    I remember that each retention process can have only one action. In the above requirement there is a need to use two actions? is it possible to do? Can we create two retention policies with diff period and actions to handle this requirement?
    Please give us your valuable suggestions
    Thanks & Regards
    bless

    Hello Srini:
    Thanks for your response. Please find the requested information. I am a good follower of your threads in OTN when ever I get time.
    Server Configuration:
    Host Name Platform CPUs Cores Sockets Memory(GB)
    CNRT Solaris[tm] OE (64-bit) 32 8 1 15.99
    Key stats:
    Cache Sizes Begin End
    ~~~~~~~~~~~ ---------- ----------
    Buffer Cache: 1,456M 1,456M Std Block Size: 4K
    Shared Pool Size: 1,664M 1,664M Log Buffer: 16,656K
    Load Profile Per Second Per Transaction Per Exec Per Call
    ~~~~~~~~~~~~ --------------- --------------- ---------- ----------
    DB Time(s): 12.6 0.4 0.01 0.01
    DB CPU(s): 3.7 0.1 0.00 0.00
    Redo size: 149,822.1 5,204.2
    Logical reads: 46,034.3 1,599.0
    Block changes: 886.7 30.8
    Physical reads: 2,239.2 77.8
    Physical writes: 339.9 11.8
    User calls: 1,552.4 53.9
    Parses: 368.8 12.8
    Hard parses: 2.5 0.1
    W/A MB processed: 10.2 0.4
    Logons: 3.4 0.1
    Executes: 952.5 33.1
    Rollbacks: 6.9 0.2
    Transactions: 28.8
    Instance Efficiency Percentages (Target 100%)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Buffer Nowait %: 99.46 Redo NoWait %: 99.99
    Buffer Hit %: 97.74 In-memory Sort %: 100.00
    Library Hit %: 99.42 Soft Parse %: 99.33
    Execute to Parse %: 61.28 Latch Hit %: 99.81
    Parse CPU to Parse Elapsd %: 74.77 % Non-Parse CPU: 96.49
    Shared Pool Statistics Begin End
    Memory Usage %: 96.35 96.27
    % SQL with executions>1: 68.89 74.88
    % Memory for SQL w/exec>1: 68.21 76.37
    I am seeing that the tablespace I/O AVG Read < 10 ms. I will take a look at links that you have recommended.
    Regards,
    Bala

  • Insert multiple records into a table(Oracle 9i) from a single PHP statement

    How can I insert multiple records into a table(Oracle 9i) from a single PHP statement?
    From what all I've found, the statement below would work if I were using MySQL:
         insert into scen
         (indx,share,expire,pitch,curve,surface,call)
         values
         (81202, 28, 171, .27, 0, 0, 'C' ),
         (81204, 28, 501, .25, 0, 0, 'C' ),
         (81203, 17, 35, .222, 0, 0, 'C' ),
         (81202, 28, 171, .27, 2, 0, 'C' ),
         (81204, 28, 501, .20, 0, 1, 'C' ),
         (81203, 28, 135, .22, 1, 0, 'C' )
    The amount of records varies into the multiple-dozens. My aim is to utilize the power of Oracle while avoiding the i/o of dozens of single-record inserts.
    Thank you,
    Will

    You could look at the INSERT ALL statement found in the documentation here:
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_913a.htm#2133161
    My personal opinion is that you probably won't see any benefit because under the hood I think Oracle will still be doing single row inserts. I could be wrong though.
    The only way to confirm was if you did a test of multiple inserts vs an INSERT ALL, that is if the INSERT ALL met your requirements.
    HTH.

  • How to display records into a non table base block..

    Hi,
    Can anybody help me how to display records into a non table base block....
    Find below is my coding but it only display the last record in the first line
    in the block.
    PROCEDURE CREATE_CARTON_QUESTION IS
    CURSOR car_c IS
    select /*+ rule */ question_id, question_description
    from WHOP.QADB_QUESTIONS
    where question_category = 'Carton'
    and question_active_flag = 'Y';
    v_found VARCHAR2(10);
    v_status boolean;
    v_error      varchar2(150);
    v_count number;
    car_r car_c%rowtype;
    begin
    begin
    select count(*) into v_count
    from WHOP.QADB_QUESTIONS
    where question_category = 'Carton'
    and question_active_flag = 'Y';
         exception
         when no_data_found then
         v_count := 0;
    end;
    if v_count > 0 then
    for car_r in car_c loop
    ---populating carton questions
    :la_carton.carton_question_id     := car_r.question_id;
    :la_carton.carton_question_answer     := 'N';
    :la_carton.carton_error_details     := null;
    :la_carton.attribute2          := car_r.question_description;
    end loop;
    end if;
    end;
    Thanks in advance.
    Regards,
    Jun

    Hi SNatapov,
    Thanks for you reply but still I get this error...
    FRM-40737 Illegal restricted procedure GO_BLOCK in WHEN-VALIDATE-ITEM trigger.
    Please note that I call that program unit in the last field of my control block inside when-validate-item trigger the questions should be display in la_carton block which is my non-base table block.
    Find below is the code....
    begin
    go_block('la_carton');
    first_record;
    for car_r in car_c loop
    ---populating carton questions
    :la_carton.carton_question_id := car_r.question_id;
    :la_carton.carton_question_answer := 'N';
    :la_carton.carton_error_details := null;
    :la_carton.attribute2 := car_r.question_description;
    next_record;
    end loop;
    end;
    Hoping you can help me this problem...
    Thanks in advance.
    Regards,
    Jun

  • "Bad Applet class name" error while recording on Oracle Forms 11g through OpenScript (JRE 1.7.0_17)

    Hi,
    I am trying to record automation functional test script on Oracle Forms 11g using OpenScript.
    Able to open the browser, but after accessing application URL, getting application error as "Bad Applet class name"
    Java Plug-in 10.17.2.02
    Using JRE version 1.7.0_17-b02 Java HotSpot(TM) Client VM
    c:   clear console window
    f:   finalize objects on finalization queue
    g:   garbage collect
    h:   display this help message
    l:   dump classloader list
    m:   print memory usage
    o:   trigger logging
    q:   hide console
    r:   reload policy configuration
    s:   dump system and deployment properties
    t:   dump thread list
    v:   dump thread stack
    x:   clear classloader cache
    0-5: set trace level to <n>
    SSV dialog is suppressed........
    cracked oracle.forms.engine.Main
    Loading cached Forms Jars ...
    Is this version (Oracle forms 11g, JRE 1.7.0_17) supported by OATS-OpenScript ?
    Please advise if there is any work around here.
    Thanks.

    From the last OATS release notes available in the C:\OracleATS\docs directory:
    4.1 Oracle Functional Testing/OpenScript
    Oracle Functional Testing’s OpenScript scripting platform has the following system
    requirements:
    ■ Operating System (32-bit and 64-bit versions): Windows XP, Windows Vista,
    Windows 2003, Windows 7, Windows 2008, Windows 2008 R2.
    ■ Memory: Minimum 1 GB
    ■ System: x86, 32-bit or 64-bit processor, 2.6 GHz or faster
    ■ Disk Space: 4 GB minimum
    ■ Browser: Internet Explorer 7.x, 8.x., 9.x; Firefox 3.5/3.6, 6.x, 10; Chrome 27+
    (playback only).
    ■ Java Runtime Environment: JRE 1.6 minimum (up to build 38), JRE 1.7 (up to build
    11) .
    So basically, it's not supported... Can you try with another JRE version?
    As always don't forget to run OpenScript as administrator on W7/8 or equivalent
    JB

  • Showing Blank Records oracle forms 11g

    Deal all..
    i am using oracle forms 11g ,  i created a form by using data block wizard & layout wizard  , but when i run the form, the form running successfully  in  browser,  url is (  http://arun-pc:9001/forms/frmservlet), but  it is showing empty records.
    when i check with sql  plus user Scott ,  i found 10 records in departments table ,  same user and same table  i used in oracle forms.
    i don't know what is the  problem.. i am new to oracle forms please help me..
    i am waiting 4r your valuable reply
    thank s in Advance..

    Hello. Mr.harsh shah...
    Thank u for your reply..
    I follow the link what u given in above post..  But still i have the same issue..  i am not sure, but   i think i have problem with my Environment, bcz in many blogs i read that oracle forms is not recommended to use with 64 bit OS. and second , iam not using developer suite 10g,
    currently i am using,
    operating system:  windows server 2008 r2
    weblogic server :-  wls1036 (64bit)
    JDK :- 7u17 64bit
    Oracle forms :-  11g
    and database in another host , just i edit tnsnames.ora file in forms directory.  the following are my configuration options
    Oracle Forms and Reports Installation
    Configuration Options
      Middleware Home Location: C:\Oracle\Middleware
      Oracle Home Location: C:\Oracle\Middleware\Oracle_FRHome1
      Oracle Instance Location: C:\Oracle\Middleware\asinst_1
      Oracle Instance: asinst_1
      Domain Option: Create Domain
      Domain Name: ClassicDomain
      Domain Home: C:\Oracle\Middleware\user_projects\domains\ClassicDomain
      Domain Host Name: WIN-DMJUC51KRHF
      Domain Port No: 7001
      User Name: weblogic
      Automatic Port Detection: true
      Administrator Console: http://WIN-DMJUC51KRHF:7001/console
      EM Console: http://WIN-DMJUC51KRHF:7001/em
      EMAgent URL: http://WIN-DMJUC51KRHF:5155/emd/main
      Forms URL: http://WIN-DMJUC51KRHF:8888/forms/frmservlet
      Reports URL: http://WIN-DMJUC51KRHF:8888/reports/rwservlet
    i check all the links above, all services showing running successfully..  but when i run the form , i dont fine any records , showing empty and blank records..
    please give me clarification ...
    Thank u very much..
    Arun

  • Insert records into non base table

    Hi
    I would like to insert records into a table when a button is clicked. The table is a non base table. I am trying to save records displayed in a form into a history table which is not part of the form. I am using the following code stored in a program unit then called when the button is pressed. It doesn't generate any error but the records are not inserted. Can anyone please help.
    hist_id := 1;
    cust_name := :CUSTOMER.cust_name;
    loan_date := :LOAN.loan_date;
    return_date := LOAN.return_date;
    FORMS_DDL('INSERT INTO LOAN_HISTORY VALUES'||hist_id||','||cust_name||','||loan_date||','||return_date);

    Why do you need forms_ddl built in for a DML statement to be used in form?
    U can directly use insert.
    hist_id := 1;
    cust_name := :CUSTOMER.cust_name;
    loan_date := :LOAN.loan_date;
    return_date := LOAN.return_date;
    INSERT INTO LOAN_HISTORY VALUES (hist_id,cust_name,loan_date,return_date);
    It should work perfectly.

  • Insert records into A table in Oracle from SAP

    Hello All,
    I want to know how can we insert a record into a table which is in another server say Oracle and this needs to be done everyday.
    For example, I have a record which gives the information whether the Daily Job has run Successfully or not. Now , I have to update this information in the Oracle table.

    refer amit perfect answer.
    Re: Need to put data in oracle table from sap.

  • How to Return ten records into java class by using oracle stored procedure

    Hello sir/Friends
    There is a procedure that returns 10 records from the oracle table and i want to display all 10 records into the table in java class.
    Please reply
    Thanking you.

    When you execute the stored procedure it will return your results as a ResultSet. Iterate over itto get the values you need then do with them as you please.
            List<MyObject> results = new ArrayList<MyObject>();
            MyObject mo = null;
            ResultSet rs = stmt.executeQuery("SELECT a_value FROM a_table");
            while (rs.next())
                mo = new MyObject();
                mo.setValue(rs.getString(1));
                results.add(mo);
            }

  • Insert multiple records into Oracle using Java

    Hi,
    Has anyone tried to insert multiple records into an Oracle table from Java? I have my data in a Java collection.Can I send a Java Collection to an Oracle Package as a PL/SQL Table Type? My problem is I dont want to instantiate a CallableStatement object everytime I do an insert. Instead I want to do that only once and then insert multiple records in one operation.
    Any suggestions will be appreciated,
    Thanks,
    Alex

    Hi Mensa,
    I went thru the code example in your book in chapter 8 (downloaded it from OTN). It looks like the java code for "public class myPLSQLIndexTab" might be a java stored procedure stored in the oracle database?
    Pardon my ignorance because I've never worked on java code in the oracle database itself but how would I call such a program outside the oracle database? For example say I have a batch job that downloads data from a webservice and that batch job is written in java and its sitting on a batch server somewhere on the network. But the java program that inserts data into the database is sitting in the oracle database (also somewhere in the same network). How can the java code sitting on the batch server talk to the java code sitting on the oracle server? Is it the same as calling a pl/sql package using CallableStatement?
    Thanks
    Alex

  • How to insert new record into oracle table from GridView in VS2005.

    I need to insert records into Oracle10g table from VS2005 GridView using the Insert Method in Business Logic Class. The Update and Delete Methods are working fine. What's the best way out?

    How is it "not possible"?
    Either modify the Class for the new fields, or give the new fields default values (if applicable). If the type of an existing column has changed, then only the first option is available.
    Where's the problem?

  • How to concatenate multiple records into one

    Hi everybody:
    I want to know if exist some way to concat multiple records into one without using cursors. For example, I have a table named "Authors" like this:
    Lan|Author
    English|Ernest Hemingway
    Spanish|Octavio Paz
    Spanish|Mario Vargas Llosa
    English|Sinclair Lewis
    Spanish|Gabriel García Márquez
    And I want to get this:
    Author
    Octavio Paz, Mario Vargas Llosa, Gabriel García Márquez
    I have worked with SQL Server and I can do something like this:
    CREATE FUNCTION dbo.MyConcat (@lan varchar(10))
    RETURNS varchar(5000) AS
    BEGIN
    declare @retvalue varchar(5000)
    set @retvalue=''
    select @retvalue = @retvalue + Author +',' from Authors where lan = @lan
    return substring(@retvalue,1,len(@retvalue)-1)
    END
    ie, do not use cursors to concatenate records. However, with ORACLE, I have to do someting like this.
    FUNCTION MyConcat(P_Lan IN VARCHAR2) RETURN VARCHAR2 IS
    v_ret VARCHAR2(4000);
    v_element VARCHAR2(4000);
    v_cursor sys_refcursor;
    BEGIN
    OPEN v_cursor FOR SELECT Author FROM Authors where Lan = P_Lan
    LOOP
    FETCH v_cursor INTO v_elemento;
    EXIT WHEN v_cursor%NOTFOUND;
    IF v_ret IS NULL THEN
    v_ret := v_element;
    ELSE
    v_ret := v_ret || ', ' || v_element;
    END IF;
    END LOOP;
    RETURN v_ret;
    END;
    Exist some other way to do this?
    Best Regards
    Jack

    Tks both for answer... I forgot to mention that I am using Oracle 10g. I read about LISTAGG() but this function is available for Oracle 11g release 2.
    I wil read about the other techniques than Hoek mention
    Best Regards.
    Jack

  • Can not insert record into database

    Hi:
    I have problem with inserting a record into oracle database .
    can some one please give some help?
    I created a project which connected to a external database. My project is on one of the tables called family.
    I followed the steps in the example "TwoPageCrudTable" from "Technical Articles & Tips". I have 3 pages: family,
    family_create and family_update.
    In page family: I have one table which bound to family table in db.
    In page family_create, I have a bunch of text fields
    In page family_update, I also have a lot of text fields which are bound to the fields of the family table.
    In each of the page, there is a dataprovider, they all refer to the same rowset in the sessionbean.
    Here is my code of create button:
    public String create_action() {
    if ( familyDataProvider.canAppendRow() ) {
    try {             
    RowKey rowKey = familyDataProvider.appendRow();
    familyDataProvider.setCursorRow(rowKey);
    familyDataProvider.setValue("family.familyID", rowKey, fid.getText());
    // familyDataProvider.setValue("family.countryoforigin", rowKey, counOrigin.getText());
    // familyDataProvider.setValue("family.ELOD", rowKey, elod.getValue());
    // familyDataProvider.setValue("family.power", rowKey, power.getValue());
              familyDataProvider.commitChanges();
    } catch (Exception e) {
    error("Cannot append new family: " + e);
    } else {
    error("Cannot append a new row");
    return "created";
    FamilyID is the primary key of the family table which is type of String. There are also some other
    fields with String or Number. I tried to insert a new record with value in all the fields and with
    only some of the fields, neither succeeded. I also did a search in this forum and tried some of the
    suggestions, no help. So could anybody help me to find the problem? Thanks in advance.

    It keeps giving me the error:
    java.lang.IllegalArgumentException: FAMILY.FAMILYID
    Does anybody know what is the problem? Thanks!

Maybe you are looking for

  • Mail app not showing some png and pdf attachments.

    I'm using the iPhone 4s and recently, both mobileme and yahoo email accounts are not showing some png and pdf attachments. I'm seeing the attachment is there, but it doesn't load. Load remote images is turned on in settings. Does anyone have the same

  • Best way to achieve fade out-in pages

    I was wondering if anyone had an opinion on the best way to build this -- I want to have some kind of lovely transition between the pages of my website (why not; it's Flash) -- I've thought about the following three options: - old page's text flying

  • Storing images in database

    want to store images in database for security. I c an't remember the steps to take advantae of the security feature in the DAD section of the em tool

  • Connecting webservice

    Hi all,         I want to connect webservice to R/3 .Here am getting input from Webservice like "empno" , so that  If I choose SOAP to RFC synchronus ,then how would I get the input which is coming from webservice. Whether I want to use NWDS to perfo

  • Translation of tooltip text for push button in status bar

    hi experts, I need to translate tooltip text of status bar push button from english language to  German . I am trying it using transaction SE41  Goto-> Translation . But it is not working . Please tell me the exact procedure to translate it , elabora