Loading data through pl/sql

Hi frnds,
i want to load .mdb table into oracle 9i through pl/sql procedure.
i am doing this through sql* loader
my script is :
LOAD DATA INFILE '//empwrpub1/Data_Wrangler/Owens/Original Data/037 Refresh 10-06/SAP/SRM_INVOICE.txt'
INTO TABLE SRM_INVOICE_200610
FIELDS TERMINATED BY ',' ENCLOSED BY '"'
LINES TERMINATED BY '\n'
IGNORE 1 LINES
now i want this through pl/sql procedure
thanks in advance

Hi,
The two different questions have arised during this Forum.
1. Load data through SQL loader from PL/SQL.
2. Use of many DDL and DML statements in the process of Data Loading.
I will start from the second Question :
this is great question I myself has faced this problem like first create temporary tables load data, update spaces with null or date formatting etc.
This is easily achieved when you load the data by using External Tables. There you need to write a script mentioning your datafile, location, column and line termination etc. In this same script you use your DDL statements first and then data loading script and there after DML if any.
This block would look like something PL/SQL block.
So, First questioin has also been answered with the condition that you have to use External tables and then load data by writing PL/SQL. I am not sure as I have never tried to call SQL loader commands from PL/SQL. So it Looks impossible. If at all you want to carry out the same activity from PL/SQL block then write a SQL loader Script, CTL file and then write a SHELL Program and then call it from PL/SQL Block.
Bye

Similar Messages

  • Error while Loading data through .csv file

    Hi,
    I am getting below date error when loading data through into Olap tables through .csv file.
    Data stored in .csv is 20071113121100.
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Mon Mar 29 15:06:17 2010]
    TRANSF_1_1_1> TE_7007 Transformation Evaluation Error [<<Expression Error>> [TO_DATE]: invalid string for converting to Date
    ... t:TO_DATE(u:'2.00711E+13',u:'YYYYMMDDHH24MISS')]
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Mon Mar 29 15:06:17 2010]
    TRANSF_1_1_1> TT_11132 Transformation [Exp_FILE_CHNL_TYPE] had an error evaluating output column [CREATED_ON_DT_OUT]. Error message is [<<Expression Error>> [TO_DATE]: invalid string for converting to Date
    ... t:TO_DATE(u:'2.00711E+13',u:'YYYYMMDDHH24MISS')].
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Mon Mar 29 15:06:17 2010]
    TRANSF_1_1_1> TT_11019 There is an error in the port [CREATED_ON_DT_OUT]: The default value for the port is set to: ERROR(<<Expression Error>> [ERROR]: transformation error
    ... nl:ERROR(u:'transformation error')).
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Mon Mar 29 15:06:17 2010]
    TRANSF_1_1_1> TT_11021 An error occurred moving data from the transformation Exp_FILE_CHNL_TYPE: to the transformation W_CHNL_TYPE_DS.
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Mon Mar 29 15:06:17 2010]
    TRANSF_1_1_1> CMN_1086 Exp_FILE_CHNL_TYPE: Number of errors exceeded threshold [1].
    Any help is greatly appreciated.
    Thanks,
    Poojak

    1) Wrong format, you wont get much support loading OLAP cubes in here I think.
    2) Has your CSV file been anywhere near excel by chance the conversion of 20071113121100 to 2.00711E+13 looks very much like what I see when Excel has an invalid number mask / precision specified for a cell.
    *** We are using EBS. File was already generated by consultants through SQL query. Getting error while loading though Informatica. Target table is setup as date datatype and source is String(19).
    Expression in Informatica is setup as below.
    IIF(ISNULL(CREATED_ON_DT), NULL, TO_DATE(CREATED_ON_DT, 'YYYYMMDDHH24MISS'))
    Thanks,
    Poojak

  • Loading data through rule files in Essbase

    Hi everyone,
    I really need help because something that I don't understand is happening when I am loading data through a rule files that I have created in Essbase. In the "Field Properties" of that rules files, I added few accounts in the "Global Properties" that I wanted to be replaced by others when I perform the load since I had troubles with the hierarchy of my accounts. My problem is that I have 3 accounts that I cannot add when I am loading my data and I don't understand why. By example, in my data extract file, I want to add the account : 601820SN60005 but since it doesn't exist in my Dimension Library I changed my rule file. I add the following propertie : Replace 601820SN60005 with 601820, so the system should put the data in that account instead. But it's not what'S happening. When I perform my load, the log tells me that the member 601820SN60005 does not exist in the database which is true but it seems that the propertie I had is not working. The load should work property. Is it possible that my rules files is corrupted? Or anything else?
    Please give me a clue of what's happening here because I really don't understand!
    Thanks a lot!

    I will just pipe in with the mostly worthless comment that doing any kind of ETL within a load rule is really not the world's best idea. Could you do your transformations in the source? There is this fantastic language called "SQL" that allows all kinds of cool data manipulations. Oracle even sells this product called ODI that I hear is just dandy for ETL work. :)
    A slightly more useful suggestion -- it's really tough to view all of the various transformations in a load rule, as you have found to your sorrow. Did you know you can print the load rule and get all of the transformations? I use it all the time when a client hasn't listened to my whine about not doing ETL in a load rule.
    Regards,
    Cameron Lackpour

  • Can't load data through smart view (ad hoc analysis)

    Hi,
    There is EPM application where I want to give ability to planners to load data through smart view (ad hoc analysis). In Shared Services there are four options in
    EssbaseCluster-1: Administrator, Create/Delete Application, Server Access, Provisioning Manager. Only Administrator can submit data in smart view (ad-hoc analysis). But I don't want to grant Essbase administrator to planners, I'm just interested to give them ability to load data through ad-hoc analysis. Please suggest!

    I take that you refreshed the Planning security, If not refresh the security of those users. Managing Security Filters
    Check in EAS whether those filters are created with "Write" permissions.
    Regards
    Celvin
    http://www.orahyplabs.com

  • Loading datas through sql loader

    dear all,
    I have a table with a date column where I have specified the datatype as date, and when am trying to load datas sqlloader :
    Record 51: Rejected - Error on table SYSTEM.PROJECT, column D_DATE.
    ORA-01843: not a valid month
    select sysdate from dual
    11/10/2007 1:53:55 PM -- which is of the format mm/dd/2007
    am loading the datas in the same format even then, am getting the above error..
    Here it is..
    control file
    LOAD DATA
    infile *
    INSERT
    INTO TABLE system.project
    FIELDS TERMINATED BY ','
    (SERIAL,D_DATE date "DD-Mon-YY",PLATE_NO,IN_KM,OUT_KM,LOCATION,DESTINATION,LITERS,VEHICLE_TYPE,Division,REMARKS)
    begindata
    table structure :
    SQL> desc project1
    Name Null? Type
    SERIAL NUMBER(10)
    D_DATE DATE
    PLATE_NO VARCHAR2(20)
    IN_KM VARCHAR2(20)
    OUT_KM VARCHAR2(20)
    LOCATION VARCHAR2(20)
    DESTINATION VARCHAR2(40)
    LITERS NUMBER(10)
    VEHICLE_TYPE VARCHAR2(40)
    DIVISION VARCHAR2(40)
    REMARKS VARCHAR2(40)
    Please guide

    Thanks sam.. I changed the control file like :
    LOAD DATA
    infile *
    append
    INTO TABLE system.project
    FIELDS TERMINATED BY ','
    (SERIAL,D_DATE date "DD-Mon-YY",REMARKS)
    begindata
    and now it is working fine..
    Thanks
    Yusuf

  • Error while loading data through s614

    Hi
    When I am trying to load data from structure s614..I am getting the Below error..
    I have gone through Transact.RFC..there i found that for ALEREMOTE..function module 'RSAR_TRFC_DATA_RECEIVED'..time limit exceeded..
    and also found that job was finished in the source system..
    Can any one give some suggestion for this...and also i have  a doubt..my client is having table s614 and structure 2lis_01_s614..do i need to run set up to extract data from this table..if it is so,how should i approach......
    Thanks
    Teja
    Errors while sending packages from OLTP to BI
    Diagnosis
    No IDocs could be sent to BI using RFC.
    System Response
    There are IDocs in the source system ALE outbox that did not arrive in the ALE inbox of BI.
    Further analysis:
    Check the TRFC log.
    You can access this log using the wizard or the menu path "Environment -> Transact. RFC -> In source system".
    Error handling:
    If the TRFC is incorrect, check whether the source system is fully connected to BI. In particular, check the authorizations of the background user in the source system.

    Hi,
    I have a similary problem.
    Have you help me??

  • Error while loading data through flat files

    Hi,
    I am laoding data through flat files
    I loaded the data in development & then transported it to Quality  system  for doing Integration testing & loaded the data in Quality  system  & data loading was successful
    But we do the regression testing in one more Quality system where the objects get transported from Quality  system ,here when I try to the load the data to any of the cube in this system  I am getting the following error
    Error 'The argument 'US' cannot be interpreted as a number' on assignment field /BIC/ZIFBCOCTR record 1 value US
    Generally we get this error when there is the data of one field is going to the other field
    But one thing I am unable to understand is it was working fine in the Quality system and all the objects got transported from Quality to Regression testing system
    Could any one help me out
    Thanks
    Maya

    Hi,
    Can you please cross check the file structure and the transfer structure.
    Cheers,
    Malli....

  • How to load data to a SQL Server 2000 from a text file ( fixed / delimited)

    I am a navie user to ODI, just installed some time back. And I wanted to load text data ina file ( fixed length/ delimited ) to SQL server 2000 database.
    Iam intrested to know the steps I need to take to achieve this. I mean for example first creating topology,next designer..
    Could you please provide some books/articles or any documents that talt about these steps clearly one-by-one.

    Hi,
    Oracle Data Integrator - Getting Started with an ETL Project
    follow this manuel step by step and you will be able to load data from file to any database...

  • Load data through control file

    Hi ,
    I am the first time loading data ,
    My table definition:
    <pre>
    SQL> desc t;
    Name Null? Type
    ID NUMBER
    NAME VARCHAR2(35)
    And my csv file data:
    id     name
    1     5.0315
    2     3.2645
    3     1.4975
    4     -0.2695
    5     -2.0365
    And my control file:
    load data
    infile "c:\lddata.csv"
    into table t truncate
    fields terminated by ','
    (id,
    name
    When I run in sql*plus I am getting this error:
    SQL> @c:\lddata.ctl
    SP2-0042: unknown command "load data" - rest of line ignored.
    SP2-0734: unknown command beginning "infile "c:..." - rest of line ignored.
    SP2-0734: unknown command beginning "into table..." - rest of line ignored.
    SP2-0734: unknown command beginning "fields ter..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    4
    </pre> --how to use this pre tag pls
    How should over come this error.
    pls,
    Thanks,

    SQL*Loader has to run from OS command prompt as
    <br>
    <br>
    sqlldr username/password control=<control_file>...
    <br>
    <br>
    Read more here
    <br>
    <br>
    [pre] and [/pre] tags

  • How to load date column using sql loader

    Hi,
    I am trying to load a file using sql loader. my date value in the file is '2/24/2009 8:23:05 pm',
    In control file for this column i specified like this
    rec_date date ''mm/dd/yyyy hh:mi:ss pm"
    But i am getting following error
    not avalid month.
    Thanks
    sudheer

    Hi,
    Use this example as reference:
    CTL file:
    LOAD DATA
    INFILE 'test.txt'
    BADFILE 'test.bad'
    truncate INTO TABLE T3
    FIELDS TERMINATED BY ';' OPTIONALLY ENCLOSED BY '|' TRAILING NULLCOLS
    dt_date DATE "mm/dd/yyyy hh:mi:ss pm")DAT file:
    2/24/2009 8:23:05 pm
    C:\ext_files>sqlldr hr/hr control=test.ctl
    SQL*Loader: Release 10.2.0.1.0 - Production on Wed Jul 1 20:35:35 2009
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Commit point reached - logical record count 1
    Connected to Oracle Database 10g Express Edition Release 10.2.0.1.0
    Connected as hr
    SQL> desc t3;
    Name    Type Nullable Default Comments
    DT_DATE DATE Y                        
    SQL> select to_char(dt_date, 'mm/dd/yyyy hh24:mi:ss') from t3;
    TO_CHAR(DT_DATE,'MM/DD/YYYYHH2
    02/24/2009 20:23:05
    SQL> Regards,
    Edited by: Walter Fernández on Jul 1, 2009 8:35 PM - Adding example...
    Edited by: Walter Fernández on Jul 1, 2009 8:38 PM
    Edited by: Walter Fernández on Jul 1, 2009 8:41 PM - Fixing some information...

  • Unable to load data through outline load utility

    I am unable to load data by using outline load utility.
    Assigned Data load dimension as: Account
    Driver Dimension as : Period
    Driver member as : Jan
    Login file:
    Account,Jan,Point-of-View,Data Load Cube Name
    Investment,1234,"India,Current,Drat,FY13",Plan1
    Command at Outline utility
    OutlineLoad /A:pract /U:admin /I:C:\test1.csv /D:Account /L:C:\lg.log /X:C:\ex.exc
    Exception file
    [Thu Mar 28 18:05:39 GMT+05:30 2013] Error occurred loading data record 1: Investments,1234,"""India,Current,Draft,FY14""",Plan1
    [Thu Mar 28 18:05:39 GMT+05:30 2013] com.hyperion.planning.InvalidMemberException: The member India,Current,Draft,FY14 does not exist or you do not have access to it.
    [Thu Mar 28 18:05:40 GMT+05:30 2013]Planning Outline data store load process finished with exceptions: exceptions occured, examine the exception file for more information. 1 data record was read, 1 data record was processed, 0 were successfully loaded, 1 was rejected.
    Logfile:
    Successfully logged into "pract" application, Release 11.113, Adapter Interface Version 5, Workforce supported and not enabled, CapEx not supported and not enabled, CSS Version 3
    [Thu Mar 28 18:05:38 GMT+05:30 2013]Successfully located and opened input file "C:\load.csv".
    [Thu Mar 28 18:05:38 GMT+05:30 2013]Header record fields: Account, Jan, Point-of-View, Data Load Cube Name
    [Thu Mar 28 18:05:38 GMT+05:30 2013]Located and using "Account" dimension for loading data in "pract" application.
    [Thu Mar 28 18:05:40 GMT+05:30 2013]Load dimension "Account" has been unlocked successfully.
    [Thu Mar 28 18:05:40 GMT+05:30 2013]A cube refresh operation will not be performed.
    [Thu Mar 28 18:05:40 GMT+05:30 2013]Create security filters operation will not be performed.
    [Thu Mar 28 18:05:40 GMT+05:30 2013]Examine the Essbase log files for status if Essbase data was loaded.
    [Thu Mar 28 18:05:40 GMT+05:30 2013]Planning Outline data store load process finished with exceptions: exceptions occured, examine the exception file for more information. 1 data record was read, 1 data record was processed, 0 were successfully loaded, 1 was rejected.
    Infact those members exist in the Outline.
    Any help would be appreciated.

    Check for the double quotes (the one John mentioned). Also I can see that you are taking the approach of Data Load dimension. Is Data load dimension and driver members defined correctly in Planning?
    Regards
    Celvin
    http://www.orahyplabs.com
    Please mark the answers as helpful/correct if applicable

  • Short dump:ASSIGN_TYPE_CONFLICT- While loading data through DTP

    Dear all:
    We currently work with BI NW2004s SP10. We created transformation for mapping InfoSource and InfoCube based on 3.x transfer rule. For example, we used cube 0PUR_C04 and Data Source 2LIS_02_ITM_CP. And the transformation is "TRCS Z2LIS_02_ITM_CP -> CUBE 0PUR_C04". Everytime when we tried to load data via DTP. A runtime short dump occurred: ASSIGN_TYPE_CONFLICT
    Error analysis:
      You attempted to assign a field to a typed fie but the field does not have the required type.
    we went back and forth to activated transformation and DTP. But still, same error occurred.
    Any idea, please !!!!
    BR
    SzuFen

    Hi Pavel:
    Please refer to the following information-
    User and Transaction
        Client.............. 888
        User................ "TW_S
        Language key........ "E"
        Transaction......... " "
        Program............. "GPD0
        Screen.............. "SAPM
        Screen line......... 6
    ===========================================================
    Information on where terminated
        Termination occurred in the ABAP program "GPD0QBVJ2WFQZZXBD0IJ1DSZAEL" - in
         "EXECUTE".
        The main program was "RSBATCH_EXECUTE_PROZESS ".
        In the source code you have the termination point in line 704
        of the (Include) program "GPD0QBVJ2WFQZZXBD0IJ1DSZAEL".
        The program "GPD0QBVJ2WFQZZXBD0IJ1DSZAEL" was started as a background job.
        Job Name....... "BIDTPR_284_1"
        Job Initiator.. "TW_SZU"
        Job Number..... 16454800
    ===========================================================
    Short text
        Type conflict with ASSIGN in program "GPD0QBVJ2WFQZZXBD0IJ1DSZAEL".
    ===========================================================
    Error analysis
        You attempted to assign a field to a typed field symbol,
        but the field does not have the required type.
    ===========================================================
    Information on where terminated
        Termination occurred in the ABAP program "GPD0QBVJ2WFQZZXBD0IJ1DSZAEL" - in
         "EXECUTE".
        The main program was "RSBATCH_EXECUTE_PROZESS ".
        In the source code you have the termination point in line 704
        of the (Include) program "GPD0QBVJ2WFQZZXBD0IJ1DSZAEL".
        The program "GPD0QBVJ2WFQZZXBD0IJ1DSZAEL" was started as a background job.
        Job Name....... "BIDTPR_284_1"
        Job Initiator.. "TW_SZU"
        Job Number..... 16454800
    ===========================================================
    Line  SourceCde
      674         ELSE.
      675           ASSIGN rdsTG_1->*          to <_ys_TG_1>.
      676           CLEAR <_ys_TG_1>.
      677           MOVE-CORRESPONDING G1 TO <_ys_TG_1>.
      678           <_ys_TG_1>-requid    = l_requid.
      679           l_recno_TG_1          = l_recno_TG_1 + 1.
      680           ls_cross-insegid      = 1.
      681           ls_cross-inrecord     = l_recno_SC_1.
      682           ls_cross-outsegid     = 1.
      683           ls_cross-outrecord    = l_recno_TG_1.
      684
      685           CALL METHOD i_r_log->add_cross_tab
      686             EXPORTING
      687               I_S_CROSSTAB = ls_cross.
      688
      689 **     Record# in target = sy-tabix - if sorting of table won't be changed
      690           <_ys_TG_1>-record     = l_recno_TG_1.
      691           INSERT <_ys_TG_1> INTO TABLE <_yth_TG_1>.
      692           IF sy-subrc <> 0.
      693             CALL METHOD cl_rsbm_log_step=>raise_step_failed_callstack.
      694           ENDIF.
      695
      696         ENDIF.      "Read table
      697 *
      698       ENDIF.
      699       CLEAR skipseg_all.
      700     ENDLOOP.
      701 * -
    insert table into outbound segment -
      702
      703     <_yt_TG_1>[] = <_yth_TG_1>[].
    >>>>>
      705     rTG_1->insert_table( rdtTG_1_dp ).
      706   ENDMETHOD.                 "execute
      707
      708
      709
      710 endclass.                    "lcl_transform IMPLEMENTATION
      711
      712 &----
      713 *&      Form  get_runtime_ref
      714 &----
      715 *       text
      716 ----
      717 *      -->C_R_EXE    text
      718 ----
      719 form get_runtime_ref
      720 changing c_r_exe  type ref to object.
      721
      722   data: l_r_exe type ref to lcl_transform.
      723   create object l_r_exe.
    ===========================================================
    Contents of system fields
    Name     Val.
    SY-SUBRC 0
    SY-INDEX 3
    SY-TABIX 0
    SY-DBCNT 1
    SY-FDPOS 0
    SY-LSIND 0
    SY-PAGNO 0
    SY-LINNO 1
    SY-COLNO 1
    SY-PFKEY
    SY-UCOMM
    SY-TITLE Execute Batch Process
    SY-MSGTY E
    SY-MSGID R7
    SY-MSGNO 057
    SY-MSGV1 0TOTDELTIME
    SY-MSGV2 A
    SY-MSGV3
    SY-MSGV4
    SY-MODNO 0
    SY-DATUM 20070420
    SY-UZEIT 164557
    SY-XPROG SAPCNVE
    SY-XFORM CONVERSION_EXIT
    ===========================================================
    Active Calls/Events
    No.   Ty.          Program                             Include
          Name
        6 METHOD       GPD0QBVJ2WFQZZXBD0IJ1DSZAEL         GPD0QBVJ2WFQZZXBD0IJ1DSZAEL
          LCL_TRANSFORM=>EXECUTE
        5 METHOD       CL_RSTRAN_TRFN_CMD============CP    CL_RSTRAN_TRFN_CMD============CM005
          CL_RSTRAN_TRFN_CMD=>IF_RSBK_CMD_T~TRANSFORM
        4 METHOD       CL_RSBK_PROCESS===============CP    CL_RSBK_PROCESS===============CM00Q
          CL_RSBK_PROCESS=>PROCESS_REQUEST
        3 METHOD       CL_RSBK_PROCESS===============CP    CL_RSBK_PROCESS===============CM002
          CL_RSBK_PROCESS=>IF_RSBATCH_EXECUTE~EXECUTE
        2 FUNCTION     SAPLRSBATCH                         LRSBATCHU13
          RSBATCH_EXECUTE_PROCESS
        1 EVENT        RSBATCH_EXECUTE_PROZESS             RSBATCH_EXECUTE_PROZESS
          START-OF-SELECTION
    ===========================================================
    Thank you and BR
    SF

  • Problem in loading "SYSDATE" through the sql loader

    Hi experts,
    I have problems in inserting the sysdate while loading the data from the flatfile. The details of the control file is as follows:
    OPTIONS (ERRORS=100, SILENT=(FEEDBACK))
    LOAD DATA
    INFILE 'c:\sample.dat'
    APPEND
    INTO TABLE RTD_TMO_MODEL_SCORES_BI
    FIELDS TERMINATED BY ','
    --OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    (RECORD_ID "SQ_RTD_TMO_MODEL_SCORES_BI.NEXTVAL",
    MODEL_ID,
    BAN,
    MISDN,
    INSERT_DT date "SYSDATE",
    SCORING_JOB_ID,
    SCORE_ENTITY_ID,
    MODEL_SCORE_DECIMAL,
    MODEL_SCORE_INTEGER,
    MODEL_SCORE_CHAR,
    ANCHOR_DT date "YYYYMMDD",
    RUN_DT date "YYYYMMDD")
    The data values for columns RECORD_ID and INSERT_DT are not present in the data file. The first one is planned to insert with the sequence created in database. While the second one is inserted based on the SYSDATE function of the database.
    Please guide me how to specify so that I can insert the sysdate for the INSERT_DT column.
    Thanks in Advance
    Venkat

    Instead of this
    INSERT_DT date "SYSDATE",
    Try this
    INSERT_DT SYSDATE,

  • Procedure for loading data through 0CO_OM_CCA_9 without taking downtime .

    Dear Friends ,
    We have already maintained the flow from 0CO_OM_CCA_9 to Infocube 0COOM_C02 . Now i enhanced two fields in the datasource which i want to load into the cube . The infocube already contains data from 2008 onwards . Now i know that for controlling datasources SAP ECC/R3 downtime is not needed . Requirement is to load the historical data again for the two enhanced fields also from 2008 onwards .
    Kindly let me know the steps for doing as the delta mechanism is already activated for this flow ?
    Thanks & Regards ,
    Ashutosh Singh

    Hi All,
    I am able to create this in client 100 but not in 120. I created this program by copying the source code from sap note and run in test mode in client 100 of development server. I am getting the message that "there is no inconsistency in table BWMO2_TIMEST".
    1. I am using client for loading data 120 not 100.
    Please let me know the further steps.
    Thanks,
    Harry

  • Best Practice for ViewObjects when inserting data through pl/sql procedure

    My applications is oracle form based enterprise level application and we are now developing new module in ADF 11g but there is restriction that all data insertion, updation, and deletion will be through oracle pl/sql procedures. Now my question is that adf pages should be binded with ViewObjects based on Entity Object or with Viewobjects not based on Entity / sql query. Currently I have developed pages with programmatic ViewObjects which are neither based on Entity Objects nor on sql query. In those view objects, i create transient attributes and then used it to create adf pages. Then on save, i extract the data from ViewObject's current row and pass it to procedure. This is working fine but just wondering whether this approach is ok or there is better alternative for that. Ideally i want to create ViewObjects based on EntityObject but don't finding any way to synchronize entityObjects with data inserted through procedures.

    Hi,
    I create a EO for the Database-View and override the doDML()-Method. For insert/update and delete I call the pl/sql-functions.
    See "38.5 Basing an Entity Object on a PL/SQL Package API" in Oracle® Fusion Middleware Fusion Developer's Guide for Oracle Application Development
    Framework.

Maybe you are looking for

  • Where did all my custom EQ settings go?

    Yea, where?

  • A question about JAX-RPC

    I got a response message from the server side as follows: <?xml version="1.0" encoding="UTF-8"?> <soap-env:Envelope soap-env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-en

  • Add a new tab in standard BSP

    Hi all, I want to a add new tab in the Opportunity standard BSP in the detail area 2 under the tab Partner . How can I do this without using the EEWB? I think that the right procedure is to create a new custom structure, a new custom event and a new

  • How do I get the custom template working?

    Hi, I have asked this here before and got a half answer, but on trying the answer things didn't work out, so I'm trying again as I feel the previous thread has been lost. I want to create a custom list template so that I can display a list of News An

  • Setting up reverse DNS

    I've run my own DNS for some years under OS X Server, but in the past couple of months have had a real problem with mail from my domain to AOL and other domains bouncing since my reverse DNS was handled by AT&T, which returned one of those "consumer"