Implementing Auto Correct Load as Oracle Merge

Data Services 3.0 documentation reads that Auto Correct Load option for Oracle target will be implemented as a Merge statement, if both the source and the target reside in the same datastore.
I have set this up as per documentation, however the Optimized SQL still shows a pl/sql stored procedure logic, NOT the Merge Statement.
My questions are:
1. Has anybody successfully implemented Oracle Merge?
2. If answer to (1) is yes, then is there a way to control update and insert elements of the Merge statement? I would like to update the rec_created_timestamp of the target table only on Insert, and update the rec_updated_timestamp on update.
Thank you.

having both source and target on the same database or source table accesible from target table throguh Database link is not the only condition for DS Optimizer to use Oracle MERGE command to do auto correct load
check the following
Auto Correct load and Allow Merge option is set to yes for target table
its possible to push down the complete read and load operation to DB, (you are not using function or mapping or join etc that are not supported by Oracle)
You have Primary Keys defined correctly, this is required to avoid situation where you may not end up inserting and updating the same record (MERGE will fail with Ora error )
the Identification of INSERT and UPDATE will depend on your key column, you can modify the PK for target table either modfiying the table column properties by opening the schema from Datastore or if you want this only for a particular DF then add a Query transfrom before loader and set the key columns in output schema and set the loader option Use Input Key to yes
Using User Defined key is safe as long as you make sure that the source data will be unique for that combination else MERGE will fail

Similar Messages

  • Implementating Auto response system using Oracle

    Hi,
    How can we make use of 9iAS to perform the following job:
    When a user submit a request through email, the email will trigger an insert of a new request record in database. When user wants to know the status of the request, he can just type the request id in subject and an email with necessary information about the request will be sent back to user in a form of email.
    Can we do this? what are the things we need and how to go about doing this?
    Please advise.
    Thanks in advance.

    Oracle9iAS Email provides extensible Server Side Rules and a PL/SQL API which can be used to create the functionality you describe.
    At a high level, you might consider the following:
    - Create a custom server side rule that executes when a new request is recieved (how you define a new request is up to you). One of the actions of this rule could be to create a request record in a database. Another action could be to provide a "canned" response back to the sender.
    - A custom rule would be created to retrieve the status information based on your request ID when a follow-up message was received.
    - The retrieved information would be formatted into an email and sent to the requestor using the PL/SQL API's.
    Additional information regarding 9iAS Email and Server Side Rules / PL/SQL API's is available in the Oracle9iAS Email Developers Guide (available on OTN) or at http://otn.oracle.com/products/emailserver/content.html
    Best Regards
    Duane Jensen

  • How to implement Auto Suggest Widget

    Hi there
    I have a dynamic asp classic page, where the data come from an access db.
    On this page, many documents (category and title ) are displayed for download.
    I want to implement Auto Suggest Widget in order to find the document easier and to jump to it (href="#document_xy") directly for download.
    I don't have a clue on how to implement the Auto Suggest Widget.
    The ASP sample works with XML File.
    http://labs.adobe.com/technologies/spry/samples/autosuggest/SuggestSample.html
    All replies, hints, tutorials are highly appreciated.
    kind regards
    joey00x
    I am using Win XP, Dreamweaver CS3

    Hi,
    thanks for trying to help.
    I am sorry to ask again. I am not at all familiar with xml.
    I have tried to modify the ASP script you've suggested, but I get strange XML error, which doesn't make sense to me.
    I understand that with the script the server creates an XML File on the fly. First I have to connect to my access database, then I fill the records into a recordset object. And then the server loops through the RS and creates the xml file. Is that correct?
    The error message I get, points to a complete different place in the code, to a javascript module, which is working perfectly without below code.
    Any suggestions where the bug is?
    Thanks for your time
    kind regards
    joey00x
    Here the code that I am using:
    <%
    Dim objRS
    Dim SQLxml
    SQLxml = "Select category, subcategory, title from DocumentView"
    Set objRS=Server.CreateObject("ADODB.Recordset")
    objRS.Open SQLxml , objConn, 0, 1
    ' Send the headers
    Response.ContentType = "text/xml"
    Response.AddHeader "Pragma", "public"
    Response.AddHeader "Cache-control", "private"
    Response.AddHeader "Expires", "-1"
    %>
    <?xml version="1.0" encoding="utf-8"?>
    <root>
      <% While (NOT objRS.EOF) %>
        <row>
             <%
                For each field in objRS.Fields
                column = field.name
             %>
            <<%=column%>><![CDATA[<%=(objRS.Fields.Item(column).Value)%>]]></<%=column%>>
            <%
                Next
            %>
        </row>
        <%
          objRS.MoveNext()
        Wend
        %>
    </root>
    <%
    objRS.Close()
    Set objRS = Nothing
    %>

  • What happened to Auto-Correct in the iOS 7 update & can it be fixed?

    I am sooo frustrated &amp; I can't take it anymore!!!
    My keyboard has essentially taken on a mind of it's own since I did the iOS 7 update. And by the 'coded' messages I receive from family &amp; friends, followed by "#%*+ed Auto-Correct!!!" I know I'm not the only one!
    I find it changes words that are spelled correctly &amp; are grammatically sound into something different. It doesn't know what an apostrophe is anymore. It has no sense of humor 'cause it can't figure out how to lol without capitalizing or turning it into something else. (My sister Quoll'ed at me earlier!)
    What's goin' on &amp; how can I get it back to the only sorta-sucky, but mostly funny stuff it did in iOS 6?
    Thanks.

    I've observed this too and have written to Apple feedback. Suggest everyone else do so as well.
    What's happening is they've attempted to implement an autocorrect system that doesn't just look at the current word but the current word and the previous word. In theory that's a great idea, as sometimes the correct spelling will be dependent on context. Mostly, though, its effects are too aggressive and I find I'm ending up with many more errors than under iOS 6 (and I'm fairly accurate on the iP*).
    The thing I specifically complained out – since it makes no sense at all – is the way iOS 7 autocorrect seems to hate commas!
    If I type a phrase like "the line, therefore" iOS 7 will attempt to turn "line," into some a word without punctuation, e.g. "lines" or "lined". Only after I've typed "therefore" will it offer me the possibility of returning to what I actually typed ("line,"). And if I'm in a rush and don't tap the [x] on the proposed "correction" in time then I'm stuck with it and have to go back and manually edit. (Or I don't notice and end up sending someone a complete nonsense of a sentence.)
    This kind of autocorrect is completely nuts. Especially on the iPhone, where you have to go to a different screen of the keyboard to type a comma, so you're hardly going to do it by accident! And on the iPad the corrections almost never involve adding letters that are physically close to the comma key on the keyboard, so again, you're hardly going to hit the comma key by accident if you want, for example, "lines".
    My recommendation to Apple was that auto-correct should always respect all punctuation. (Or there should be a setting we switch on for "respect punctuation".)
    And that autocorrect should focus on trying to correct the kinds of "real" errors that are made by tapping on adjacent keys instead of aggressively trying to predict what we're about to say and actually changing our words.
    In the meantime, I've set up a custom shortcut [,,] which resolves to [, ] – basically on the same principle as two spaces resolving to a period. When I remember to use it, it mostly works quite well at giving me commas that stay stuck.

  • Load balancing Oracle Forms in Application Server

    Hi,
    We're currently planning moving from client-server forms to webforms running on Oracle Application Server (10.1.2.0.2). To meet our high availability requirements, we plan to run our forms app servers active-active. We're coming a little unstuck determining the best method of load balancing requests between these however.
    Currently the main sticking point is determining whether to go for software or hardware load balancers. One of the main things we're unsure of is how much traffic we can expect to flow through the network. In our client-server environment we typically have 900-1000 active connections during peak load and ~350 forms coming in at just over 300Mb in total.
    If you have any experience load balancing between Oracle Forms on Application Server, we'd appreciate it if you could share details of you setup and how it's performing; particularly:
    * Whether you have software/hardware load balancing
    * The number of connections this supports
    * Details of the volume of network traffic you have
    Thanks,
    Chris

    We have implemented both hardware load-balancers and Webcache as load-balancer. Depending on the situation either may be the best solution. In general we recommend to use hardware load-balancers for production systems that require high availability. However, Webcache is very reliable as well and a Webcache instance can be recovered very quickly in case of a failure (use the cloning facility to create a copy of the instance on new hardware within minutes).
    When using https for your applications we do not recommend to use WebCache as there are several issues to cope with then, one is performance (https acceleration facilities are often part of hardware load-balancers).

  • How to Implement Auto tabbing feature in a table region???

    Hi All,
    I am trying to implement auto tabbing feature in one of my OAF page using java script which is actually working for individual items but
    while implementing the same for a table bean its not working. is there any way to implement this feature in OAF without using java script?
    if not could anyone give some rough java script for this feature? please this is urgent..
    Thanks in advance
    Sree

    Sree,
    check this if it helps ;
    https://forums.oracle.com/thread/963732
    Not sure we can set Focus in : PFR ,  I hope it is possible in only PR.
    Regards
    Sridhar

  • Best way to implement auto increment in JPA.

    What is the best way to implement auto increment in JPA so that it will support all databases such as MySQL, MSSQL Server, Oracle etc. ? Or is there any way to set auto increment strategy in common place such as persistence.xml? Please help...

    All JPA strategies require something (like a table or sequence object) be in the database, with table sequencing being the most portable, though EclipseLink does allow custom sequence stratgies where you could use something else, such as the UUID. Sequencing is described here described here http://wiki.eclipse.org/EclipseLink/Examples/JPA/PrimaryKey with a custom UUID example shown here http://wiki.eclipse.org/EclipseLink/Examples/JPA/CustomSequencing .

  • Auto-correcting feature disaster

    Hi. I did something that I deeply regret. When I upgraded my iTunes to the newest version, I think it asked me if I want to opt for auto-correct song titles and artists. I thought that it sounds useful, but the result was a complete disaster. Hundreds and hundreds of songs are now being "corrected" into something completely different from what they should be. Even some of the songs I purchased from iTunes store are named wrong. I don't understand why this feature was created, I don't see anyone having more benefits from this than damage. In my case this has caused nothing but damage. I consider my 5000+ song library completely ruined.
    I tried to fix this by loading a previous library, but it made the matter worse, since now it still auto-"corrects" the titles, and I have hundreds of exclamation marked tracks which don't play. I know I may have done something stupid, but I still accuse apple for what I feel is a violation. I know I could manually try to fix my library in iTunes, but I don't look forward to painstakingly fixing hundreds, if not thousands of individual songs.
    If someone have a quick solution to this, I would be much appreciated. Thank you.

    If the Format tool is not shown, click the Format icon (paintbrush) in the Toolbar and choose Cell. Select the cell or range of cells containing the date, then under Date Format and next to Date, choose January.
    See the screenshots:
    The date format (European or US) follows the system - wide selection in System Preferences > Language & Region.

  • I can not load the Oracle Applications Home Page E-Business Suite

    I install ebs 12.1.1 on windows server 2003 and I can not load the Oracle Applications Home Page (http://ebsoracle.workshop.cl:8000)
    What could be the cause?
    Is there a log with information about this failure?
    I check the host file and this is correct
    Help me please.
    Thanks.

    I install ebs 12.1.1 on windows server 2003 and I can not load the Oracle Applications Home Page (http://ebsoracle.workshop.cl:8000)
    What could be the cause?What is the error?
    Is there a log with information about this failure?
    I check the host file and this is correctCheck Apache log files (error_log* and access_log* under $LOG_HOME/ora/10.1.3/Apache directory).
    Also, run AutoConfig and make sure it completes successfully.
    Thanks,
    Hussein

  • Extracting explanations from planning app and loading into Oracle table

    Hi All,
    I had a requirement where I had to extract data from a planning application through ODI 11g and load it into Oracle RDBMS.
    I used essbase as my source in technology (since planning data is stored on essbase side) and oracle as my target.
    Now the data is getting extracted from essbase side and is getting loaded into Oracle table through ODI.
    Now the client requires that they want to extract the explanations or text values also from planning application and load them into Oracle table.
    How this can be achieved?Is there a table on the sql side(since sql database is being used at back end for planning app) which stores the explanations,if yes please let me know which table it is.
    Kindly help me with this requirement.

    Hi,
    IKM SQL Control Append is perfect if you don't need incremental updates. If you need it, go for IKM Oracle Incremental Update (MERGE) or something like that.
    Regards,
    JeromeFr

  • Text auto-correction is turning on again!

    Hi all!
    My iPhone4 is running iOS 5.0.1 and I'm very happy!
    But it recently turns text auto-correction on. I turn it off, but sometime later I found it turned on again
    I can't understand what causes it to do this. How can I turn this feature absolutely off?

    What troubleshooting have you tried over these few days? You charging the phone? Try a reset. Hold the sleep/wake and home buttons together until you see the Apple logo and then release. The phone should reboot. This can take up to 60 seconds.

  • Text auto-correct grabbing words from gmail / etc.

    I'm not sure if this is a Gingerbread issue, but this is a problem that I was introduced to when I got my Xperia PLAY. 
    The on-screen QWERTY keyboard lends itself to frequent typos.  Since I started using the Xperia, the auto-correct dictionary has been automatically synced and populated with various words that it apparently grabbed out of my gmail, email, contacts, address book, or elsewhere.   This includes names, segments of email addresses, already misspelled words, etc.  
    This has made the auto-correct function useless on my phone, and makes text messaging a convoluted and futile chore that' I'd simply rather not do.   
    For example, when I'm trying to send a text to someone asking them, "what time?"  -- I commonly typo "time" as "timr."  
    Now, auto-correct on my Xperia always wants to change "timr" into "TimeBomb4321" -- which is a segment of an email address out of my address book.   
    And, there's apparently no way to turn this off.   
    There's no way to toggle this under "Accounts & sync."    
    "User Dictionary" under Settings only includes words that I have manually added to it.    
    HOW DO I FIX THIS??? 

    Hi chuckk,
    I understand the importance of having a streamlined text experience.  I would suggest deleting some of the auto-saved words from the dictionary. Settings>Language & Keyboard>User Dictionary.  Press on hold the word you no longer want and the select delete.  I am hopeful this information is helpful.  Please let me know if you need further assistance.
    Thank you for your contribution to our community forums,

  • I get the message 'itunes has encountered a problem and needs to close' when trying to open itunes 11.1.1.11. I have had to uninstall itunes so that I could load this version, the PC says it is correctly loaded, but I now cannot open itunes. Advice?

    I get the message 'itunes has encountered a problem and needs to close' when trying to open itunes 11.1.1.11. I had to uninstall itunes so that I could load this version as the update to version 11 kept failing. The PC says 11.1.1.11 is correctly loaded, but I now cannot open itunes. Any advice on how to get itunes working again?

    Hello there, ytnoj.
    Uninstalling and reinstalling iTunes can be a tricky endeavor and must be done in a very specific way. The following Knowledge Base article provides the step-by-step of the process:
    Removing and Reinstalling iTunes and other software components for Windows XP
    https://support.apple.com/kb/HT1925
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • Why did Word on Office 2013 REMOVE Auto Correct from Right-Click Context Menu??

    Hi Microsoft -
    I normally don't rant, but this is a killer feature removal, and the reason given is for aesthetics - 'Removal of clutter" is how it's worded here:
    [Changes in Office 2013]
    http://technet.microsoft.com/en-us/library/cc178954(en-us).aspx
    I copy n pasted below the operative row from the linked TechNet page as to the reason WHY this critical (and very popular feature) has been removed from Microsoft Office 2013 Word's context-menu: LESS CLUTTER
    And your answer is ambiguous and doesn't solve the issue that you created to make things prettier: "Click the AutoCorrect Options button" Then what?  ADD EACH WORD MANUALLY? 
    Please advise ALL OF US that want this feature back how to have our commonly misspelled words fixed and added automatically to the dictionary.  If I am missing this in a major way somehow, I apologize completely and will issue a public apology via any
    social media platform of your choice.  If it really is gone, and I have to manually add the entries into a buried table 6-clicks deep, then I will issue a public excoriation of this feature on as many social platforms of my choice.
    Sincerely,
    Maximus Mednick
    COPY N PASTE AS FOLLOWS:
    =-=-=-=-=-=-=-=
    Contents of spelling error context menu
                    Word and WordMail within Outlook
    Modifying the feature
    Auto-Correct and certain formatting tools are no longer available from the spelling error context menu.
    To make Word 2013 cleaner and less cluttered, we removed AutoCorrect and certain formatting tools from the spelling error context menu. The features are still available in Word 2013 through other entry points within the Word user interface.
    Less clutter in the spelling error context menu. This enables users to find popular commands more quickly. In addition, the spelling error context menu now fits better on the screen.
    To change AutoCorrect options, do the following:
    Choose File -> Options -> Proofing
    Choose the AutoCorrect Options button.
    =-=-=-=-=-=-=-=
    Thanks, MAXIMUS

    Microsoft used to be about allowing users to customize the OS and apps however they want. This was one reason I have always preferred Windows over Mac. There are 5 ways to do any one thing, and you can customize it to do it however you want. It's all about
    user choice. Please don't go the way of Apple and force users into the way that you *think* we should do things. 
    <rant>
    While I whole heartedly agree with this suggestion, if you look through this blog about the design decisions that went into the 2007 ribbon:
    Jensen Harris: An Office User Interface Blog -
    http://blogs.msdn.com/b/jensenh/archive/2008/03/12/table-of-contents.aspx
    You'll see that one of the considerations of the ribbon was to ELIMINATE/REDUCE customization because it was costing large corporate customers too much time/money to support their users with 2003 customized menu/toolbars.  In other words, the ribbon
    was intentionally built as a fixed design so that average user cannot change it.  The QAT was an afterthought, a sop, to allow users minimal customization. 
    They found that the 2007 lock down was too much of a "good thing", too much like the good old "IBM 360 green screen" (even if most people don't recognize the reference), so in 2010 they
    re-introduced limited Ribbon customization within the UI.
    But you still can't customize the default tabs. And to add injury to insult, if you do want to customize a default tab and go to the effort of trying to recreate the default tabs and groups
    within the Ribbon UI, you'll eventually find that YOU CAN'T'! There is no way inside the UI to force the buttons to layout the same way! AHHH!
    Even in 2007,
    EXPERTS have had the option of creating custom Ribbons/tabs by editing XML, but that is pretty serious programming, out of scope for 99% of users.
    The "solution" to the problem was too simple. Just add an option to allow users to turn on the old menu UI.  Even if it had been buried as a registry hack, the people who really wanted it would have learned about it. Then MS could have collected statistics
    on usage that would have "proved" that the menu was preferred over the ribbon.  The thing is, if the ribbon was defaulted "out of the box", over time people would eventually all switch over to it. Simply because it was the default, because MS only produced
    new training material referring for the ribbon
    Now, I'll concede that the ribbon really may be more "intuitive", but only for new users. For long time users the change is very jarring.
    They made the same choice with Windows 8.  In the last Windows 8 consumer Preview there was a registry hack to bypass the Start Screen.  I learned about it in July or August. But MS was so sure the Start screen/metro was the only way to go they
    rushed out a Windows Update to eliminate that registry entry. And it was eliminated from the RTM version. 
    WHY?
    Why did they remove the user's right to chose the UI that worked best for them? I don't know.
    </end rant>  sorry, this is a hot button for me.

  • How can I change my auto-correction language from english to french?

    My system language is english, so all the default language is also in english
    but how can I change the auto-correction language from english to french and without changing the menu language?
    Message was edited by: Marixomia

    It's just, I want to change my spelling checker from english to french, that when I type some words in wrong order or miss some, I can know that.
    For now, when I type in french, almost every words are underlined by the red lines...

Maybe you are looking for

  • I can't sign up

    My earlier question was about trying to buy Lion which I can't do because I've bought nothing on iTunes. Now I cannnot find anywhere on iTunes how I register. I can sign in, I have an ID and password, have repeatedly entered the subscribe for email o

  • Single User Mode Question

    I use single user mode to do fsck because doing it on a live disk takes way too long. I was wondering if there is a way to repair permissions from single user mode. Thanks

  • Bank statement balances is not clearde automatically through BDC.

    Dear Friends, We are using Manual BRS in our client. For this Our client has requested to update the statement automatically. For this we did a BDC progrm to update the statement. BDC program working fine. Because subledger account and main account g

  • Facetime HD camera not working

    Hi, I have 15 inch Macbook Pro OSX(10.7.5) early 2011 model. My built in camera stopped started working. None of the applications are working required camera(Photo Booth, FaceTime, Hangout etc.). I tried 'sudo killall VDCAssistant'. But it showed the

  • PI 7.1 --- rfc scenario---bean stfc_connection not found on host

    Hi, I am  trying to execute STFC_CONNECTION  but   getting  an error bean stfc_connection not found on host I had checked following things.. 1)SM59 connection tested and it is working fine. 2I)imported  RFC in to PI created sender, receiver communica