Modify the Data Load wizard to remove the check for unique columns

Hi,
I'm trying to make a Data Loading Wizard into my application, which basically works nice except for one thing:
I want to remove the check for unique columns, and insert ALL data which the users wants to upload.
(Like the Data load utility under development).
The reason is, that the data I want to upload is an export from my bank statements (in XLS / CSV format)
And these exports don't have any primary key.
Using the Apex wizard created Data Upload pages, I will loose data in case I had two identical payments in a day.
Is there a way to do this, while keeping the pages created by the wizard to make Data Loading pages?
apex 4.2.1

I would suggest to load the data into a view and process the records into the real table(s) with instead-of-triggers. When you add a "1=2" where clause to the view, there never is any data and everything will be loaded.
Otherwise you have to have a "real" PK value, like a timestamp or a statement_nr+line_nr.

Similar Messages

  • How can I stop the spinner in the 'checking for mail' column?

    Whenever I ope my mail app and read the bottom left column, I see the spinner and 'checking for mail'.  Then I see 'sending 1 of 2'.  Then the bar fills in, as though 2 mails have been sent.  There is no mail sent.  Then later I open the app again and it starts all over.

    Hello TheTiger81:  You made a valiant effort to help me.  Yet I went back, opened my mail and the same thing happened all over again.  I appreciate your trying to get me beyond this.  Makes me sorry I complained about my iPad that kept turning off.  This spinner problem seems worse, as I feel it will take a toll on the battery.  Thanks very much.
    And if you have any other suggestions, I will try them.  Do you think I should try your suggestion more than just once?

  • Data Loading Wizard loses Column Mapping

    I created pages of APEX page type "Data Loading." They are being used to populate Staging tables and worked terrific in my existing environment. However; I migrated the DB using export and imported it into a new environment. Similarly, I exported my APEX Application and imported it into the new environment. It appears that the second page of Data Loading Wizard has lost the mapping of which table it is loading into. On every column in the second page the only option for the column name is "Do Not Load". What do I need to move over, so that my Data Loading Wizard pages remembers the column names for the table they were mapped to in the old environment?

    Hi David,
    You didn't mention what version of APEX you are using. Their was an issue in 4.1 in the export file where the owner wasn't being updated:
    wwv_flow_api.create_load_table(
    p_id =>3570143708960669327+ wwv_flow_api.g_id_offset,
    p_flow_id => wwv_flow.g_flow_id,
    p_name =>'Load Employees',
    p_owner =>'PAUL',
    p_table_name =>'EMP',
    p_unique_column_1 =>'EMPNO',
    p_is_uk1_case_sensitive =>'N',
    p_unique_column_2 =>'',
    p_is_uk2_case_sensitive =>'N',
    p_unique_column_3 =>'',
    p_is_uk3_case_sensitive =>'N',
    p_wizard_page_ids =>'',
    p_comments =>'');Try modifying the p_owner =>'PAUL' line in your export file and change it to the name of the schema your importing it into.
    Thanks
    Paul

  • 4.2.3/.4 Data load wizard - slow when loading large files

    Hi,
    I am using the data load wizard to load csv files into an existing table. It works fine with small files up to a few thousand rows. When loading 20k rows or more the loading process becomes very slow. The table has a single numeric column for primary key.
    The primary key is declared at "shared components" -> logic -> "data load tables" and is recognized as "pk(number)" with "case sensitve" set to "No".
    While loading data, these configuration leads to the execution of the following query for each row:
    select 1 from "KLAUS"."PD_IF_CSV_ROW" where upper("PK") = upper(:uk_1)
    which can be found in the v$sql view while loading.
    It makes the loading process slow, because of the upper function no index can be used.
    It seems that the setting of "case sensitive" is not evaluated.
    Dropping the numeric index for the primary key and using a function based index does not help.
    Explain plan shows an implicit "to_char" conversion:
    UPPER(TO_CHAR(PK)=UPPER(:UK_1)
    This is missing in the query but maybe it is necessary for the function based index to work.
    Please provide a solution or workaround for the data load wizard to work with large files in an acceptable amount of time.
    Best regards
    Klaus

    Nevertheless, a bulk loading process is what I really like to have as part of the wizard.
    If all of the CSV files are identical:
    use the Excel2Collection plugin ( - Process Type Plugin - EXCEL2COLLECTIONS )
    create a VIEW on the collection (makes it easier elsewhere)
    create a procedure (in a Package) to bulk process it.
    The most important thing is to have, somewhere in the Package (ie your code that is not part of APEX), information that clearly states which columns in the Collection map to which columns in the table, view, and the variables (APEX_APPLICATION.g_fxx()) used for Tabular Forms.
    MK

  • Data Loading Wizard in Apex 4.1.1

    I am having an issue utilizing the out of the box APEX Data loading wizard.
    My data (separated by \t) has double quotes (") in them and no variation of "Enclosed by" or "Separated by" item settings is allowing the "Parse Uploaded Data" process to correctly parse the information.
    Am I missing something obvious ? Has anyone got it to work with data that does contain double quotes?

    Hi Usul,
    I am able to parse data with double quotes and separated by a tab (\t). can you double check if your file is tab separated and contains double quotes ? or would you share the file with me so that i can check what is going on ?
    Regards,
    Patrick

  • Data Load Wizard not Inserting/Updating all rows

    Hello,
    I am able to run through the whole Data Load Wizard without any problems. It reports that it successfully inserted/updated all the rows, but when I look in the table, I find a few rows that were not updated correctly. Of the entries I've identified that don't get inserted/updated properly, I've noticed they are the same rows that I was having issues with earlier. The issue was a number format error, which I solved by providing an explicit number format.
    Is it possible that the false inserts/updates might still be tied to the number format, or are there other reasons why the data load is failing on only some rows.
    Thanks,
    Brian
    Edited by: 881159 on Mar 14, 2012 5:05 PM

    Hi Brian,
    I am not aware of the situation where you get false results. However, there were some issues with number/date formats that sometime were not properly parsed, and this has been fixed in 4.1.1 patch. would your case be different from the one described in bug 13656397, I will be happy to get more details so that I can take a look at what is going on.
    Regards,
    Patrick

  • [svn] 4222: Now that Shader is a first class Embed, we' ve modified the interface for ShaderFilter to accept a Shader instance directly (or Class representing a Shader Embed).

    Revision: 4222
    Author: [email protected]
    Date: 2008-12-03 10:37:15 -0800 (Wed, 03 Dec 2008)
    Log Message:
    Now that Shader is a first class Embed, we've modified the interface for ShaderFilter to accept a Shader instance directly (or Class representing a Shader Embed).
    Reviewer: Pete Farland
    QE Notes: Mustella tests require updating.
    Doc Notes: ASDocs have been update, just sanity check.
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateFilterInst ance.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/ShaderFilter.as

    So this may be a kludge, but eventually I got it. In this case the appDelegate is waking up NIB's and subsequently causes the 'viewDidLoad' method to be called in the Object that manages the NIB.
    The problem was how to get 2 objects that had each been woken by the appDelegate to be aware of each other and be able to use methods in the other.
    In the appDelegate
    @class AViewControllerObject;
    @class A2ndVCObject;
    @interface AppDelegate
    AViewControllerObject * aViewControllerObject
    A2ndVCObject * a2ndVCObject;
    @property (
    @property (
    @end
    @implementation AppDelegate
    @synthesize aViewControllerObject;
    @synthesize a2ndVCObject;
    //instantiate the NIB's and place in the 'controllers' array
    aViewControllerObject = [[AViewControllerObject alloc]
    initWithNibName:@"aViewControllerNIB" bundle: nil];
    [controllers addObject: aViewControllerObject];
    a2ndVCObject = [[A2ndVCObject alloc]
    initWithNibName:@"a2ndVCNIB" bundle: nil];
    [controllers addObject: a2ndVCObject];
    So to make the 1st ViewControl Object aware of the 2nd viewControl Object, make the following method call from the appDelegate:
    [aViewControllerObject assignA2ndVCPointer: (A2ndVCObject *) a2ndVCObject];
    ....and in aViewControllerObject:
    @class A2ndVCObject;
    @interface AViewControllerObject
    A2ndVCObject * a2ndVCObject;
    @property (
    @end
    @implementation AViewControllerObject
    @synthesize a2ndVCObject;
    - (void) assignA2ndVCPointer: (A2ndVCObject *) pointer{
    self.a2ndVCObject = pointer;
    So this may seem bogus to 'old hands' but its the only way I could figure it out.
    If anyone has a better way, I'd love to hear it!!
    -- thanks for listening

  • How can we modify the maximum no. of columns in pivot table ?

    hi all,
    How can we modify the maximum no. of columns in pivot table ?
    do i need to change the nqconfig.ini or instanceconfig file or else?
    thnx..

    A little search on the forum :
    In the instanceconfig.xml add a <PivotView> element under <ServerInstance> if one does
    not exist already.
    Within the <PivotView> element add an entry that looks like:
    <MaxCells>nnnnnn</MaxCells>
    where nnnnnn is your desired limit for the maximum total number of cells allowed
    in a pivot.
    Warning: an excessively large number will cause more memory consumption and
    slower browser performance.The details here :
    Oracle BI EE (10.1.3.2): Maximum total number of cells in Pivot Table excee

  • How can i modify the check constraint   in the table

    How can i modify the check constraint in the table. This table containts check constraint, condition is code_value between 1 and 4. codevalue is column name.
    Please suggest me.

    Go to tahiti.oracle.com, pick version browse reference manual and see the alter table statement
    Also read the goal of this forum.
    Your question is more appropriate to Database general forum
    General Database Discussions
    Gints Plivna
    http://www.gplivna.eu

  • Disabling the Check for Update feature in 10.1.3

    Hi,
    I work at a government facility that has tight security restrictions regarding downloading software. We are about to prepare a software delivery package for JDeveloper 10.1.3 that will let our IT department install JDeveloper on all of our developer workstations. One thing we would like to do as part of this deployment package is to disable the Check for Updates and PlugIn feature of JDeveloper. Is there a setting in a configuration file that controls this menu item?
    Thanks,
    Richard

    Hi,
    Is the requirement to disable the check for updates feature altogether (i.e. remove the menu item), or to just disable the automatic check that happens on startup?
    There isn't currently a documented way to totally disable the feature altogether, however it's possible to add such a feature in a future service update if necessary.
    There is a potential way in which you can modify the behavior of the wizard such that it will always find no updates (the menu item will still be present, however). If this is an acceptable solution to you, let me know and I'll fill you in on the details.
    Thanks,
    Brian

  • APEX:Getting error while creating form and report on webservice: ORA-20001: Unable to create form on table. ORA-02263: need to specify the datatype for this column.

    I am using Apex 4.2.2.00.11
    am using the following description to create a web service reference:
    web reference :REST
    Name :Yahoo Map
    URL :http://local.yahooapis.com/MapsService/V1/mapImage
    HTTP Method: GET
    Basic Authentication: No
    Add Parameter:
    Name       Type
    appid        String
    location    String
    Output Format: XML
    XPath to Output Parameters : /Result
    Output Parameter:
    Name       Path       Type
    Url          /text()      String
    Then i tried to create form and report on webservice:
    Web Service Reference Type: Yahoo Map
    Operation: doREST
    All the fields i keep as default
    I tick the checkbox (url)in report Parameter
    After clicking next whereever required i click create button
    I get the following error
    ORA-20001: Unable to create form on table. ORA-02263: need to specify the datatype for this column.
    Please someone help to solve this as i need to fix it urgently.

    336554,
    Looks like there is a 127-column limit on the number of report columns supported when using that wizard. Do you have more than that?
    57434

  • How may one cancel the download of an update that was started by having actuated the "Check for Updates" button in the "About Firefox" window, please?

    How may one cancel the download of an update that was started by having actuated the "Check for Updates" button in the "About Firefox" window, please? If possible please cover all platforms, Mac, Windows, Linux, although the first mentioned is what currently applies to my circumstances.
    Thank you.

    Such a download is usually saved in an updates or updated folder in the Firefox program/application folder.
    You can delete this folder to cancel the download.
    If files already have been downloaded then remove the files in the updates and updates\0 folder.
    *http://kb.mozillazine.org/Updates_reported_when_running_newest_version
    *http://kb.mozillazine.org/Software_Update
    Mac: /Applications/Firefox.app/updates "/path_to/Firefox.app/Updated.app"
    Linux: "/path_to/firefox/updated"
    Windows: C:\Users\&lt;user&gt;\AppData\Local\Mozilla\Firefox\Mozilla Firefox\updates

  • I currently have iTunes version 7 and I need to upgrade to version 10.  I am afraid of losing all my music if I just download 10 and when I use the "Check for updates" in the version 7 help menu, it tells me the server cannot be contacted.

    I currently have iTunes version 7 on my computer and need to upgrade to version 10 to sync my new nano iPod.  When I tried the "check for updates" under the version 7 "help" menu, it said it could not contact the update server.  I am afraid if I just download version 10 from the website, it will wipe out my music library.  What should I do to upgrade?

    Back up your music and install from the website. You probably won't need to do this, but if your library is erased, restore it from the backup.
    (59049)

  • My firefox beta 12 using Linux platform does not update to firefox RC1 via the "check for update" function. I know windows' beta version had this fixed, when would Linux get similar support ?

    Current platform : Linux
    Current firefox version : Firefox 4 beta 12
    Issue : does not update to RC 1 using the check for update feature.
    Background : previously downloaded beta 8 and then it automatically updated to beta 12 using update features but for RC1, it does not.
    I know users under Windows platform had same problem but was resolved and they can now update via check for update feature.
    Please implement for Linux users too.
    Thanks !!

    If you can't update then you can download and install the full Firefox 4 RC version.
    * http://www.mozilla.com/firefox/all-beta.html

  • Getting error while creating form and report on webservice: ORA-20001: Unable to create form on table. ORA-02263: need to specify the datatype for this column.

    i am using the following description to create a web service reference:
    web reference :REST
    Name :Yahoo Map
    URL :http://local.yahooapis.com/MapsService/V1/mapImage
    HTTP Method: GET
    Basic Authentication: No
    Add Parameter:
    Name       Type
    appid        String
    location    String
    Output Format: XML
    XPath to Output Parameters : /Result
    Output Parameter:
    Name       Path       Type
    Url          /text()      String
    Then i tried to create form and report on webservice:
    Web Service Reference Type: Yahoo Map
    Operation: doREST
    All the fields i keep as default
    I tick the checkbox (url)in report Parameter
    After clicking next whereever required i click create button
    I get the following error
    ORA-20001: Unable to create form on table. ORA-02263: need to specify the datatype for this column.
    Please someone help to solve this as i need to fix it urgently.

    i exported the application from apex.oracle.com and imported it to our environment
    import went fine, but when I ran the IR page I got
    ORA-20001: get_dbms_sql_cursor error ORA-00904: : invalid identifier
    evidently the problem is a lack of public execute on DBMS_LOB, which is used in the generated IR source.
    while waiting for the DBA to grant privs on DBMS_LOB, changing the dbms_lob.getlength call to length() fixes the IR.
    however, i am not getting the download link on the associated form page... changed templates, that's not the issue -- we'll see if that's a dbms_lob issue as well

Maybe you are looking for