Information Needed For Generated SQL

Hi,
I have done some odi projects.In most of the RT operation when I check the code in operator I saw that:
insert into ...when 1=1;
or
select ..from.. where 1=1;
What does it mean by 1=1??
there is no variable in when or where condition.
Please Ans
Thanks

Hi Papai,
1=1 is a condition that is always true and that sometimes used in queries.
ODI uses it in generated code to have valid queries with or without filters. Adding a filter will add a string : "AND filter_condition".
Without filter:
select * from table
where 1 = 1
;which is the same as select * from table;
Add a filter :
select * from table
where 1 = 1
and col1 = 42
;Always-false conditions are also sometimes used by SQL developers. If you want to duplicate a table structure without duplicating data :
create table2 as
select * from table1
where 1 = 2;No rows returned, so no rows in the new table but the structure is the same :).
Hope it helps.
Regards,
JeromeFr

Similar Messages

  • Permissions needed for Applying SQL Tuning Sets/SQL Plans 11g?

    What permission are needed for a user to apply/activate sql tuning sets (sql plans) in 11g? The user can capture and move the the sql tuning sets from a 10g database to an 11g database but is getting "ORA-01031: insufficient privileges" when trying to activate/apply the sqlplans in 11g.
    The user has:
    ADMINISTER SQL MANAGEMENT OBJECT and ADMINISTER SQL TUNING SET and EXECUTE on SYS.DBMS_SPM
    The user is an administrator for our Data Warehouse team but they do not have sysdba priviliges.
    Do you also know of a good white paper that covers the step by step instructions and permissions needed for aquiring and applying/activating sqlplans?
    If more information is needed in order to respond please advise.
    Thank you

    What permission are needed for a user to apply/activate sql tuning sets (sql plans) in 11g? The user can capture and move the the sql tuning sets from a 10g database to an 11g database but is getting "ORA-01031: insufficient privileges" when trying to activate/apply the sqlplans in 11g.
    The user has:
    ADMINISTER SQL MANAGEMENT OBJECT and ADMINISTER SQL TUNING SET and EXECUTE on SYS.DBMS_SPM
    The user is an administrator for our Data Warehouse team but they do not have sysdba priviliges.
    Do you also know of a good white paper that covers the step by step instructions and permissions needed for aquiring and applying/activating sqlplans?
    If more information is needed in order to respond please advise.
    Thank you

  • Need for generating Leads???

    Hi Experts,
    With the help of acquired list or campaign execution any many more. ...we are generating leads and later we qualify them and create follow-up to make them as opportunity and hence sales cycle starts..
    But I want to know if at all we have to create the opportunity  what the need of generating leads???
    Is is mandatory to create leads then only we can create opportunity. OR can say what is the significance of generating leads and storing them in data base???
    How can I convince or make customer understandable while going for DEMO of Marketing system...
    Please reply ASAP.
    Regards
    Rajeev

    From where you are getting the leads?
    If the leads are getting from external list management. and the leads are rented , then the rejects leads which are created as business partners will be deleted by the system automatically .
    we have an option of selecting whether  leads are rented oo bought while generating the business partners for external source in ELM.
    If the leads are getting from external list management. and the leads are bought by cleint, then we acan decide whether the rejected leads should be deleted or used for other campaigns.
    Hope it clarify ur doubts.
    For furhter refernce u can see the external list mangement.
    http://help.sap.com/saphelp_crm50/helpdata/en/14/98e24044b80b06e10000000a155106/frameset.htm
    <u><b>Reward if it helps</b></u>

  • Advice needed for pl/sql

    Hey guys,
    I am look out for book/ articles for learning pl/sql . I am new to pl/sql adn i want book/ articles that help me learn pl/sql from scratch. I have see many books oriented towards DBA. I dont want such type of books. Please let me know the books/ articles that beginner needs, preferably artcles// books with lot of developer examples. ALso let me know any books/artciles to learn forms, reports.
    Please advice me on this.
    The response will be highly appreciated.
    Thanks
    u can mail me at : [email protected]

    It depends what you mean when you call yourself 'new'. There are two main concepts to learn for pl/sql: the sql language, and procedural logic. If you have previously been a programmer in any 3GL, you will be familiar with the procedural part, which is pretty much the same principal in any programming language. If you have no experience with sql, you really need to become proficient with that, otherwise there is a danger of writing everything procedurally when you should be doing it with sql.
    I find the Steven Feuerstein book very good, combined with Oracle manuals.

  • Keyboard information needed for Sat Pro 6100

    Hi, i have a Satellite Pro 6100 model number PS610E-03SKV-EN
    I have damaged my keyboard and need to replace it and i was wondering if anybody knew what is the part number that i need for my laptop to replace my keyboard.
    Thank you

    Thank you for the advice about the German Keyboard, I shall know to definitely avoid buying one in the future. I was interested in this item because it was a white keyboard in my part number and i would have liked a white or different colour keyboard. I didn't win the auction anyway so i am not going to be disappointed there.
    My keyboard from America has arrived and i am disappointed by it slightly. I do wish that i never bought it now. Even though i got it very cheap the delivery cost me $40 dollars because i had to ship to a friend and then she shipped it out to me. What i am dissappointed by is the fact that this keyboard does not even have sign on it and neither does it have a euro sign either. I am not going to install it myself but i am also going to be on the look out for a UK keyboard now because i am not so happy with this one. I find it very odd that a symbol was not on this keyboard.
    I have removed keys number 3 and 4 from my current keyboard and placed them on my new one but this has meant that things are going to be messed up and this means that i will be without a hash key now as well so i do think that a UK keyboard would be better for me.
    There were other things different as well.The space bar is longer on this keyboard part that i bought and it only has three keys beside the space bar on my right hand side and it has not got a Alt Gr key but two Alt keys. I am thinking that there may have been something not quite right with the keyboard.
    The parts number of this item that i purchased is -PS610U-03SR17 as listed on the auction and underneath the keyboard is part number-
    UE2027P22
    I hope that this will be even compatible with my laptop and be able to handle the spec that my laptop has such as the hotkeys etc if i do decide to use it.
    The one that i bought does look very similar to this one.
    http://cgi.ebay.co.uk/UE2010P22-TOSHIBA-PRO-6100-KEYBOARD-POWERSELLER-965_W0QQitemZ6793625622QQcategoryZ31568QQssPageNam eZWD2VQQrdZ1QQcmdZViewItem

  • Help! Need to generate SQL script file in every build of every changes in database project on TFS

    Hi everyone,
                I want to accomplish a task in TFS that I need to auto generate the database changes as SQL script file in drop folder for every build.
    For ex.: If I add a table in a database and then check in the changes, I need to get that create table script in the drop folder as .sql file extension
    I want to automate the build too for every check in. Help me out and guide me a step by step procedure because since I am new to TFS build in visual studio.
    Thanks

    Check out SSDT:
    https://msdn.microsoft.com/en-us/data/tools.aspx
    It can generate a DACPAC which can be used to update a SQL Database through the commandline. To ensure that the .sql file executed is compatible with the target database schema it contains a compiled version of teh schema and will generate the change script
    on-the-fly.
    If you want, you call SqlPackage,exe to generate a SQL script if you want to inspect it before executing.
    https://msdn.microsoft.com/en-us/library/hh550080%28v=vs.103%29.aspx
    My blog: blog.jessehouwing.nl

  • Programming and Network Information Needs for my Wireless Network

    I am looking for a solution to two objectives for my router (currently the airport extreme within my time capsule):
    1. Is there software that, in plan english, will give me a list of the computers and devices that are on using my router and that will provide me with a list of websites visited? Most of what I can find is highly technical in the information.
    2. I'd like to simply shut down the wireless from time to time in our house and currently the only approach I can think of is to unplug the ethernet cable that connects the time capsule to my cable modem. Is there a software program that provides a simple on/off button or, even better, that can shut the thing off for preprogramed periods of time? Freedom is a great program for individual computers in this way, and I am looking for something that works for the entire router.
    Thanks!

    Gibson123, Welcome to the discussion area!
    You really need to get a router which has these capabilities instead of using the AirPort Extreme base station (AEBS).

  • RMAN Backupset information needed for REFRESH

    Hi,
    Just need some information on following while doing RMAN Refresh from PROD to Test in remote server with different file structure.
    1)If i have RMAN cold backup(datafiles backupset) of PROD(Archivelog Mode) do i need to have archivelog backupset for refresh?
    2) What RMAN backups i need to have for doing PROD(non-archivelog) refresh through RMAN to Test in remote server with different file structure?
    DB Version : 10g
    Thanks in advance

    913410 wrote:
    Thanks for the response.
    So for COLD RMAN Backup (done when PROD db was in mount state) do i need to even put the redologs to the backup location in both PROD and TEST Server ?As i will be doing RMAN REfresh from PROD to TEST in remote server with different directory using "duplicate target database to test" commandHi,
    Your backup is consistent that means which your database backup that you can open with the RESETLOGS option without performing media recovery. In other words, the backup does not require the application of redo to be made consistent.
    At moment of "alter database open resetlogs" Oracle will re-create all redo automatically.
    Regards,
    Levi Pereira

  • Help need  for  PL/SQL  collections

    Hi All,
    Please help me to solve the following Error.
    Error # ORA-06533: Subscript beyond count.
    I am using Oracle 10g.
    I have data in the Test_table
    id_col stat_col reason_col
    101 A          HPQ
    101 A NULL
    101 NULL EDU
    101 P NULL
    102 P NULL
    102 NULL HEN
    103 R NULL
    103 Q NULL
    Ny requirement is like:
    id_col stat_col_ reason_col
    101 A|P HPQ|EDU
    102 P HEN
    103 R|Q NULL
    step1- Type tab_type as table of varchar2(32767);
    step2 - I have written a function which returns the pl/sql table type
    create or replace function fn_get_val(id in VARCHAR2)
    return tab_type
    cursor my_cur is
    select id_col,stat_col,reason_col
    from test_table WHERE ID_COL = ID;
    lv_status VARCHAR2(100);
    LV_reason varchar2(200);
    lv_sep CHAR(1);
    lv_disp_stat varchar2(200);
    lv_disp_reason varchar2(200);
    LN_STR NUMBER;
    BEGIN
    lv_tab_data:= tab_type();
    lv_tab_data.extend;
    open my_cur;
    loop
    fetch my_cur into lv_status,lv_reason;
    exit when my_cur%notfound;
    --dbms_output.put_line('my_curr.rowcount'|| my_curr.rowcount);
    lv_disp_stat:= lv_disp_stat||lv_sep||lv_status;
    lv_disp_reason:= lv_disp_reason||lv_sep||lv_reason;
    lv_sep:= '|';
    end loop;
    -- To remove first occurance of (|) pipeline in the string.
    LN_STR := INSTR(lv_str1,'|',1,1);
    IF LN_STR = 1 THEN
    lv_disp_stat := SUBSTR(lv_disp_stat ,2 );
    END IF;
    LN_STR := INSTR(lv_str2,'|',1,1);
    IF LN_STR = 1 THEN
    lv_disp_reason := SUBSTR(lv_disp_reason ,2 );
    END IF;
    lv_tab_data(1) := lv_disp_stat;
    lv_tab_data.extend;
    lv_tab_data(2) := lv_disp_reason;
    return lv_tab_data;
    EXCEPTION
    DBMS_OUTPUT.PUT_LINE('Error in function fn_get_val # '||SQLERRM||' - '||dbms_utility.format_error_backtrace);
    END fn_get_val;
    STEP-3
    I have created one procedure where the above function is called
    CREATE OR REPLACE PROCEDURE my_proc (p_emp_id in Varchar2)
    AS
    lv_tab_ty tab_type;
    CURSOR DET_CUR IS
    SELECT EMP_ID_C,NAME_C,LOCATION
    FROM DETAILS_TABLE
    WHERE EMP_ID_C = p_emp_id;
    type det_tab_ty is table of det_cur%type index by pls_integer;
    lv_det_rec det_tab_ty;
    BEGIN
         lv_tab_ty := fn_get_val(p_emp_id);
         dbms_output.put_line('lv_tab_ty.count is : '||lv_tab_ty.count);
         OPEN DET_CUR;
         LOOP
         FETCH DET_CUR BULK COLLECT INTO lv_det_rec;
         EXIT WHEN DET_CUR%NOTFOUND;
         END LOOP;
         CLOSE DET_CUR;
         IF lv_det_rec.COUNT > 0 THEN
         FOR i IN lv_det_rec.FIRST .. lv_det_rec.LAST
         LOOP
         INSERT INTO other_tab (emp_id_c,name_c,Loc_c,status_c,reason_c) values(lv_det_rec(i).emp_id_c,lv_det_rec(i).NAME_C,lv_det_rec(i).LOCATION,lv_tab_ty(1),lv_tab_ty(2) );
         END LOOP;
         END IF;
    COMMIT;
    EXCEPTIONS
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE('Error in procedure my_proc # '||SQLERRM||' - '||dbms_utility.format_error_backtrace);
    END my_proc ;
    After exucting the above procedure i am getting the following error.
    lv_tab_ty.count is : 1
    Error # ORA-06533: Subscript beyond count.
    This error is occured when my_curr.rowcount is equal to 0 (cursor defined in the function fn_get_val() ).
    The function fn_get_val() does return null to the pl/sql table variable (lv_tab_ty).
    AND another schenario:
    If
    lv_tab_data.count = 1
    Then how can i handle this situation in the above procedure,because i need both
    lv_tab_data(1)
    and lv_tab_data(2)
    to insert to the OTHER_TABLE in the procedure.
    Please help me to solve this issue.
    Thanks in Advance!!!
    PKM

    You can do it with one query with Tom Kyte's stragg function:
    http://asktom.oracle.com/pls/asktom/f?p=100:11:3431223221768118::::P11_QUESTION_ID:15637744429336
    with test_table(id_col,stat_col,reason_col) as (
    select 101,'A','PQ' from dual union all
    select 101,'A',NULL from dual union all
    select 101,NULL,'EDU' from dual union all
    select 101,'P',NULL from dual union all
    select 102,'P',NULL from dual union all
    select 102,NULL,'HEN' from dual union all
    select 103,'R',NULL from dual union all
    select 103,'Q',NULL from dual
    select id_col,replace(stragg(stat_col),',','|'),replace(stragg(reason_col),',','|')
    from test_table tt
    group by id_colRegards,
    Sayan M.

  • XL Reporter - Toolbar is missing needed for "Generate Report"

    Hello - I am going thru the eLearning for XL Reporter.
    I have opened a template in XL reporter and I want to "Generate Report", however the toolbar shown in eLearning is not visible.
    Any advice? Thanks ahead of time!

    John,
    The toolbar often stays hidden when opening XL Reporter.  An easy way to get it to appear is to resize a column in the spreadsheet.  For whatever reason, this always makes it pop up for me.
    You could also turn it on in Excel:
    View > Toolbars
    There should be one for XL Reporter at the bottom
    Uncheck it and then recheck it
    That will force it to appear as well
    I believe your Excel Macro Security has something to do with this issue, but have never nailed it down.
    Hope this helps,
    Brad Windecker

  • Information Need for MM-Purchasing in BW

    Hi Friends!!!
               Actually I am implementing MM-Purchasing module in BW.I need help from your guys.So my reqts are:
    1.What are all the infocube,Ods,infosource are important?.
    2.If anyone of have configuration guide or implementing procedure,Pls send to mail id which mentioned below.
    3.If u have details for Vendor OTIF,kindliy send me
    My mail id is [email protected]
    Thanks in advance.
    I will assign points to helpful notes
    Rgds,
    Suren

    hi Suren,
    go through this
    http://help.sap.com/bp_biv335/BI_EN/html/BW/PurchAnal.htm
    you will find the configuration guide
    BS5: Basic Configuration - Purchasing Analysis
    http://help.sap.com/bp_biv335/BI_EN/BBLibrary/documentation/BS5_BB_ConfigGuide_EN_DE.doc
    and bw connectivity and general setting
    http://help.sap.com/bp_biv335/BI_EN/BBLibrary/documentation/BS5_BB_ConfigGuide_EN_DE.doc
    http://help.sap.com/bp_biv335/BI_EN/BBLibrary/documentation/B03_BB_ConfigGuide_EN_DE.doc
    hope this helps.

  • Help need for PL/SQL procedure

    Hi guys,
    I have scenario like this
    Schema     T     LOGTABLENAME          TDIRECTORY
    DEV          DEV.ABC_LOG                    import-abc
    DEV          DEV.GBTSLOG          import-gbts
    DEV          DEV.CLSSBOG     import-cls
    QA          QA.TransactionlOG          import-transaction
    QA1 QA1.tlog import-ess
    QA2 QA2.translog import-trnals
    I have to write a procedure to get the log table data from schema Dev.I have to take Shcema dev and go to DEv.abc_log table and get the record from the dev.abc_logtable. The same way for other schema also with respective logtables .
    I would appreciate your help or suggestions.
    Reards,
    User
    Edited by: user1758353 on Dec 5, 2008 11:43 AM

    hello,
    im also not sure if i get the point but maybe you need sth. like that...
    create table schema_logtable as
    select 'dev' schema, 'dev.abc_log' tlogtable, 'import-abc' tdirectory from dual union all
    select 'dev', 'dev.gbtslog', 'import-gpts' from dual union all
    select 'dev', 'dev.clssbog', 'import-cls' from dual );
    declare
       v_slt_row schema_logtable%rowtype;
       type log_description_table is table of varchar2(1000char);
       v_log_description log_description_table := log_description_table();
    begin
       for v_slt_row in ( select * from schema_logtable )
       loop
          execute immediate 'select log_description from ' || v_slt_row.tlogtable bulk collect into v_log_description;
          for i in v_log_description.first .. v_log_description.last
          loop
             dbms_output.put_Line( 'log_desc: ' || v_log_description(i) );
          end loop;
       end loop;
    end;
    /this reads for every schema in table schema_logtable the name of the logtable.
    for each logtable you fetch all rows of that table into a variable and you can do what-ever you want with that...
    -mario

  • Information needed for packaging Shorewall

    OK, I searched the forums, browsed the mailing list archives, asked in chat and no luck... time to post! ;-)
    I am packaging Shorewall, an excellent high-level tool for configuring Netfilter.
    AFAIK, no one is doing this, I need it so I thought "hey guy, go and do it yourself so you can contribute to Arch!".
    Just a quick question, in order to correctly adjust the relevant entry in shorewall.conf: does Arch use locks in init scripts?
    It seems to me of no - aka: grep lock /etc/rc.d/* returned nothing - but I'd like to be sure.
    Thanks a lot for any replies, as soon as it's ready I'll post the package and all the needed stuff to build it with ABS in /incoming.

    Hi Christine,
    You can iview related properties like types details here
    http://help.sap.com/saphelp_nw2004s/helpdata/en/f5/eb51610e6a11d7b84900047582c9f7/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/f5/eb51610e6a11d7b84900047582c9f7/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/7b/1232a8ef574332ba83406f4f5343a3/frameset.htm
    Hope it helps,
    Swathi

  • Help needed for SCCM SQL query

    Hello.
    I have the below query to extract the workstations build date as well as the hardware info. This works fine. 
    Select distinct
    v_R_System.Name0,
    v_GS_COMPUTER_SYSTEM.Manufacturer0,
    v_GS_COMPUTER_SYSTEM.Model0,
    v_GS_COMPUTER_SYSTEM_PRODUCT.Version0,
    v_GS_OPERATING_SYSTEM.Caption0,
    v_GS_OPERATING_SYSTEM.CSDVersion0,
    v_GS_OPERATING_SYSTEM.InstallDate0
    From v_R_System
    LEFT JOIN v_GS_OPERATING_SYSTEM ON v_GS_OPERATING_SYSTEM.ResourceID=v_R_System.ResourceID
    LEFT JOIN v_GS_COMPUTER_SYSTEM_PRODUCT ON v_GS_COMPUTER_SYSTEM_PRODUCT.ResourceID=v_R_System.ResourceID
    LEFT JOIN v_GS_COMPUTER_SYSTEM ON v_GS_COMPUTER_SYSTEM.ResourceID=v_R_System.ResourceID
    LEFT JOIN v_GS_SYSTEM_CONSOLE_USAGE ON v_R_System.ResourceID=v_GS_SYSTEM_CONSOLE_USAGE.ResourceID
    Where v_GS_OPERATING_SYSTEM.Caption0 = 'Microsoft Windows 7 Enterprise' and v_R_System.Is_Virtual_Machine0 =0
    order by v_GS_OPERATING_SYSTEM.InstallDate0 desc
    Now, I want a report of count of machines built based on "v_GS_COMPUTER_SYSTEM_PRODUCT.Version0" against every month and year of "v_GS_OPERATING_SYSTEM.InstallDate0".
    For example, I want to know the number of machines under a particular model (which appears under  v_GS_COMPUTER_SYSTEM_PRODUCT.Version0) built in June 2014. In this fashion I want a report for every model count for every month and year available under
    InstallDate0 column)
    Example:
    Jan 2013 ->  ThinkCentre M92p -> 55
    Jan 2013 ->  ThinkCentre M93 -> 40
    Feb 2013 ->  ThinkCentre M92p -> 10
    Feb 2013 ->  ThinkCentre M93 -> 39
    Jan 2014 ->  ThinkCentre M92p -> 20
    Jan 2014 ->  ThinkCentre M93 -> 25
    Feb 2014 ->  ThinkCentre M92p -> 12
    Feb 2014 ->  ThinkCentre M93 -> 35
    Can anyone help?

    After scratching my head a bit, I came up with the below. Do you find any flaw in it?
    Select
    v_GS_COMPUTER_SYSTEM.Manufacturer0 as Manufacturer,
    v_GS_COMPUTER_SYSTEM.Model0 as Model,
    v_GS_COMPUTER_SYSTEM_PRODUCT.Version0 as "Model Info",
    COUNT(*) as "No. of machines built",
    CASE WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '1' THEN 'January'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '2' THEN 'February'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '3' THEN 'March'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '4' THEN 'April'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '5' THEN 'May'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '6' THEN 'June'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '7' THEN 'July'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '8' THEN 'August'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '9' THEN 'September'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '10' THEN 'October'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '11' THEN 'November'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '12' THEN 'December'END as "Month",
    YEAR(v_GS_OPERATING_SYSTEM.InstallDate0) as "Year"
    From v_GS_COMPUTER_SYSTEM
    LEFT JOIN v_GS_OPERATING_SYSTEM ON v_GS_OPERATING_SYSTEM.ResourceID=v_GS_COMPUTER_SYSTEM.ResourceID
    LEFT JOIN v_GS_COMPUTER_SYSTEM_PRODUCT ON v_GS_COMPUTER_SYSTEM_PRODUCT.ResourceID=v_GS_COMPUTER_SYSTEM.ResourceID
    Where v_GS_OPERATING_SYSTEM.Caption0 = 'Microsoft Windows 7 Enterprise' Group By v_GS_COMPUTER_SYSTEM.Manufacturer0,
    v_GS_COMPUTER_SYSTEM.Model0,
    v_GS_COMPUTER_SYSTEM_PRODUCT.Version0,
    Month(v_GS_OPERATING_SYSTEM.InstallDate0),
    YEAR(v_GS_OPERATING_SYSTEM.InstallDate0)
    Order by v_GS_COMPUTER_SYSTEM_PRODUCT.Version0 desc

  • Information needed for the XMLInterface

    Hi,
    In the past, I used XSU to extract and insert/update data from/into the database in XML documents.
    In BC4J, there is now this XMLInterface, for example implemented by the ViewObject object.
    This looks better, because the writeXML method automagically follows the View links (if accessors are defined for the destination VO of the link). This allows me for example to extract an order and its orderlines in one and the same document.
    But what about the readXML method? No documentation is found in the Javadoc! Is this (near) future music? Is it the intention to accept for example, a document with an order and its orderlines, to create or update the data in the database, while applying any rules implemented in the VO and EO objects?
    Can it be used to migrate data from a legacy system, via XML documents?
    Luc

    In BC4J, there is now this XMLInterface, for example implemented by the ViewObject object.
    This looks better, because the writeXML method automagically follows the View links (if accessors are defined for the destination VO of the link). This allows me for example to extract an order and its orderlines in one and the same document.
    But what about the readXML method? No documentation is found in the Javadoc!There's some javadoc on readXML methods on the individual classes (ViewObjectImpl, RowImpl, etc). I'm not sure which one you've seen.
    Is this (near) future music? Is it the intention to accept for example, a document with an order and its orderlines, to create or update the data in the database, while applying any rules implemented in the VO and EO objects?Yes, readXML() is able to take an input XML, formatted the quite the same as the output in writeXML(), to update VO data.
    Can it be used to migrate data from a legacy system, via XML documents?You should be able to. The requirement though is to "format" the XML. See the messagingclient example in JDeveloper
    OnlineOrdersFroClients set of samples to see how write/readXML is used to exchange data (and also format conversions using XSL I believe).
    Luc

Maybe you are looking for