How to implement cdc when there are 2 source tbls to populate one trge tb

I am new to ODI and trying to implement CDC. Using Oracle 10g as source and 11g as target. For one to one source and target all works fine. Problem arises then I try to use two tables as source joined by PK-FK and one TRGT table.
In the interface itself we can check Journalize data only for one table so the change in other tables can not be transfered to target Table. The option for the other table gets grayed out.
Following are the steps I am performing.
1. Set the Model to Simple journalizing and selecting JKM oracle simple
2. Adding both source tables to CDC by right clicking on source tables
3. Starting Journal by right clicking on source tables.
Creating an interface with both journalized tables as source and mapping them to target table. However we can only check JOURNALIZED DATA ONLY option for one table. Now if I go back and make changes to both than tables. One the source marked as JOURNALIZED DATA ONLY changes get posted.
How can we make changes made to table not marked as JOURNALIZED DATA ONLY be posted to target table.
Thanks

Please let me know if following are correct steps to implement what your mentioned
1. To change to consistant model ==> double click the moel and chage from simple to consistant mode
2. Add subscriber to the model
3. Select the two datastore that need to be jounalized. Add them to CDC by right clicking the datastore and then start journals.
4. Arrange the data store. Reference tabel (parent comes first). child(with foreign key comes second). This is done on model level. do we also need to change the numbe shows like 0 for parent and 1 for child
4. Create the interface.
5. Drag target tables. (contains columns from both tables and has inital load in it). perform mapping.
6. Drag both source tables perform join(cant leave one table as join is required). Check jounalize data only for one table. Create another interface and now mark other source table as journalize data only.
Call both inerfaces in Package and execute package.
Please correct if I am wrong
Thanks

Similar Messages

  • How to replace sky when there are trees in the photo

    I have several photos taken outdoors with a dull sky. I also have several sky shots to supply the blue sky; with or without clouds. I know a couple of ways to do  that --as long as the horizon line is clear, such as roofs, etc.  My preferred method is to use a tool; e.g., Magic Wand, to select the sky area and then copy/paste a blue sky image using Ctrl+Shift+V command. This makes the copied sky inserted into the original image and I'm happy with the results.
    But when there are trees or other bushes between the camera and the sky, problems begin.  No matter how carefully I try to include all the "holes" in those trees, the end result contains white spots where the selected section failed to follow the tree "holes".  Anybody know how to fix these types of problems?  I am somewhat familiar with layers-- which I have tried to use to solve this problem.
    Using PSE-12 on Windows 8.1
    TIA,
    Pete Grant

    Pete,
    There are several ways to do this. In my experience the Alibony technique works well. You will be able to use your "good" sky pictures:
    Watch Lesson 12: Quick Colorless Sky Replacement | Alibony Lessons for Photoshop Elements Episodes | How To Videos | Bli…
    As I pointed out to you on June 5, 2014, this is how I do it after watching the Alibony video.
    Open your picture (A) (File>open), and open the replacement sky picture (B)
    On the sky picture (B), go to Select>all from the menu, then Edit>copy to place it on the clipboard
    Go back to your picture (A), then Edit>paste. The new sky (B) should come in on a new layer
    With the move tool, use the corner handles to reduce the size of the sky (B) to cover the old sky on (A)
    In the layers palette, set the blending mode of (B) to darken
    Set the foreground color chip to white
    Get the Gradient tool out of the toolbox, and drag a foreground to transparent, linear gradient from below up to the top of the tree line, while holding down the shift key.
    With a soft white brush, at reduced opacity, gently paint the horizon a bit, as we want the horizon to be a tad lighter than the rest of the sky.
    If necessary, add a few clouds with the Return to Eden set.

  • Howe can I tell when there are no references to an object?

    Hi all,
    Is there any way for me to know when there are no references to an object without using finalize()?
    I want to pool created objects when it is safe to do so.
    finalize() won't work since it is called only once for every object instance.
    Regards,
    Marcus

    If you are trying to establish an object pool by placing the objects back in the pool when there are no references to the object, then I am afraid you are out of luck.
    If there were no references, then you would not have a "handle" on the object to be able to manipulate it in any way (like putting it back in the pool).
    If you are talking about something else, then the classes in java.lang.ref.*, might be of use.
    If you are really trying to pool objects, then you should have some sort of "close" method in the objects that is called when they are no longer needed and can be returned to the pool.

  • How to improve performance when there are many TextBlocks in ItemsControl items?

       Hi,
       I'm trying to find a way to improve performance for a situation when there is an ItemsControl using UI and Data virtualization and each item on that control has 36 TextBlocks. Basically the item is a single string. There are so many TextBlocks
    to allow assigning different brushes to different parts of the string. Performance of this construction is terrible. I have 37 items visible on the screen and if I try to scroll up or down it scrolls into the black space and then it takes a second or two to
    show the items.
       I tried different things. For example, the most successful performance-wise was to replace TextBlocks with Borders and then draw bitmaps. In other words, I prepared 127 bitmaps for each character (I need ASCII only) and then I used those bitmaps
    to set Border.Backgrounds. It improved performance about 1.5 - 2 times but it consumed much more memory (which is not surprising, of course). Required amount of memory is so big that it throws OutOfMemoryException on 512MB emulator but works on 1GB. As a result
    I don't thing it is a good solution.
       Another thing that worked perfect is to replace 36 TextBlocks with only 6 TextBlocks. In this case the performance improvement is about 5 - 10 times but I lose the ability to set different colors to different parts of the string. It seems that
    the performance degrades dramatically with the increase of number of TextBlocks. Is there another technique to draw strings where literally each character can be of different color with decent performance?
    Thank you
    Alex

       Using Runs inside TextBlocks gives approximately the same improvement as using bitmaps 1.5 - 2 times faster but it is not even close to the case with just a couple of TextBlocks in the ItemsControl item. Any other ideas?
    Alex

  • How to change the default JRE when there are several version of JRE in Sys

    How to change the default JRE when there are several version of JRE in System?
    i have installed j2sdk1.5.0 then installed j2ee1.4,then installed Weblogic6.1 which use jdk1.3
    Now the JRE is jdk1.3\bin
    When run class that was compiled with jdk1.5,throw:
    java.lang.UnsupportedClassVersionError
    How can i change the jre to 1.5?

    There is a workaround to move from 1.5 version to the older 1.4 version. But this could be specific to the browser setting the JRE version.
    Excerpts from sun docs:
    However, a user can still run older versions. To do so, launch the Java Plug-in Control Panel for the older version, then (re)select the browser in the Browser tab.
    Example:
    Assume you are running on Microsoft Windows with Microsoft Internet Explorer, have first installed version 1.4.2, then version 5.0, and you want to run 1.4.2.
    Go to the j2re1.4.2\bin directory where JRE 1.4.2 was installed. On a Windows default installation, this would be here: C:\Program Files\Java\j2re1.4.2\bin
    Double-click the jpicpl32.exe file located there. It will launch the control panel for 1.4.2.
    Select the Browser tab. Microsoft Internet Explorer might still appear to be set (checked). However, when 5.0 was installed, the registration of the 1.4.2 JRE with Internet Explorer was overwritten by the 5.0 JRE.
    If Microsoft Internet Explorer is shown as checked, uncheck it and click Apply. You will see a confirmation dialog stating that browser settings have changed.
    Check Microsoft Internet Explorer and click Apply. You should see a confirmation dialog.
    Restart the browser. It should now use the 1.4.2 JRE for conventional APPLET tags.
    Details are here
    http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/jcp.html
    My system (Windows XP) has the version 1.5_09 set as the default. However i just installed JRE 1.5_06 and would like to revert back to _06 as the default JRE..
    Will update if i find more information

  • How can I get rid of duplicate birthdays in icloud Calendar, especially when there are no Contacts in the iCloud? Case ID: 365381395

    How can I get rid of duplicate birthdays in icloud Calendar, especially when there are no Contacts in the iCloud? Case ID: 365381395

    Found the answer myself while helping to set up iPhone.  It is simple when you know how.  Before signing out of iCloud to sign in again and restore the link to Photo Stream I had opted to copy iCloud contacts to the Mac.  When I signed in again this created two iCloud views which can be seen in Contacts Preferences.  I just disabled one of them.  Not brave enough to attempt removal but I gues this would work too.

  • How can I see if there are files present in this sourcing staging ftp folder:

    Hi All,
    How can i see if there are files present in the below parth in SAP Sourcing staging dtp folde.
    Upload Directory:usr/fciintegration/abce/materials/upload
    Please help me .
    Thanks
    Peeysuh Ranjan

    It should not be difficult if you have access to the staging server. Just like any other machine, navigate down the folder structure and see if it has files.
    I don't think it is possible to tell from the Sourcing application directly.
    Thanks
    Devesh

  • How do I make a backup when there are 4 users on my mac

    How do I make a backup when there are 4 users on my mac?

    Welcome to the Apple Support Communities
    If you have more than one user, the backup is just the same as if you have one user. All users are backed up and there isn't any difference between a backup made on a Mac with one user and on a Mac with multiple users. Then, if you want to restore that backup in the future, you will be able to select which users you want to restore

  • I have just owned a macbook pro and trying to learn things since i have all along used windows laptop. My first question is : when there are two files i am working together, one above the other on screen, how you switch over between the two with key ?

    I have just owned a macbook pro and trying to learn things since i have all along used windows laptop. My first question is : when there are two files i am working together, one above the other on screen, how you switch over between the two with key ?

    Hi...
    Mac OS X keyboard shortcuts
    Control-F4
    Move focus to the active (or next) window
    Shift-Control-F4
    Move focus to the previously active window
    By the way...  since you are new to Mac, click a clear space on your Desktop. You should see "Finder" top left corner of the screen in the menu bar.
    Click Help then click Help Center
    As an example type in    keyboard shortcuts
    You can use the Help menu for almost any application on your Mac.
    Apple - Find Out How - Mac Basics
    For held switching from PC to Mac >  Apple - Support - Switch 101

  • Help! How do i make a button state maintain when there are other buttons on the page?

    I need to have the down state of pressed buttons stay in that state when there are multiple buttons being pressed on the same html page...

    Hello and welcome to the forum,
    Not sure if I understand well, but think you are bumping into the Quiz scope... I have been trying to explain this in a blog post, with other functionalities of Question and Score slide:
    Question Question Slides
    Lilybiri

  • How to backup a rootenv when there are subfolders with DBs?

    Hello,
    Is there any way to hotbackup a rootenv with databases when there are subfolders with databases?
    When I run a hotbackup (with db_hotbackup) on my rootenv, it only backups databases from the root of my rootenv. But, in that root directory, I have some subdirectories with databases too.
    Thank you.

    Hi,
    If you have root directory as : */your/root/dir*
    and within that you have folders like : */your/root/dir/sub1* and */your/root/dir/sub2* and would want to backup the db files in */your/backup/dir* then, you should invoke db_hotbackup as
    db_hotbackup -cv -b /your/backup/dir -h /your/root/dir -d ../dir/sub1 -d ../dir/sub2
    Regards,
    Debsubhra Roy

  • Avoid marking files as modified by Git when there are no changes

    Hello,
    I am working on a project using Visual Studio 2013 Ultimate and Enterprise Architect 9.0 (a UML tool). I am using Git for Source Control in Visual Studio.
    I have set up the programs so that I can synchronize code from Enterprise Architect (EA) to Visual Studio (VS) and vice versa using MDG Link for Visual Studio (an Enterprise Architect add-in). I first synchronized all the existing code from VS to EA.
    Now I have the following workflow:
    Create UML models in EA;
    Add necessary attributes and operations to the class models;
    Synchronize models with the code, which will add the added attributes and operations to my source;
    The last step will regenerate all my source code files, but even if there are no changes Git marks the files as modified.
    How can I avoid this behaviour, because now all my files are modified when Enterprise Architect synchronizes the model with the source code.
    I only want Git to mark it as modified when there are actually things added or modified in the file.
    Any help will be appreciated.
    Marcel

    Hi,
    I think it's more VS which detect the file was modified, and by default it mark the file as modified in Git. 
    But normally when you want to commit your work these files are removed because Git detect the files are not really changed.
    Did you try to refresh the pending changes in the team explorer (F5). Perhaps Git recalculate all the differences, and then detect the real changes.
    Regards,
    Yan Grenier
    Merci de bien vouloir "Marquer comme réponse", les réponses qui ont répondues à votre question, et de noter les réponses que vous avez trouvé utiles.

  • How To Implement CDC in ODI

    Hi Experts,
    Could you please guide me how to implement CDC in ODI.
    I am new to CDC. I have basic knowledge of ODI.
    Please let me know the steps/Process/Document which will be helpful to achieve CDC.
    Cheers,
    Andy

    Hi Andy,
    As per you asked,adding some more link to Rathish's reply,
    You can get some videos which talk about CDC from,
    http://www.oracle.com/technology/products/oracle-data-integrator/webcasts/odi-webcasts/odi-webcast-archives.html
    In the above link there are 2 webcasts which is all about CDC. Have a look and let us know if you need more help.
    PS: I suggest you to bookmark that link, once in a month 2 webcasts will be uploaded.
    Thanks,
    G

  • Joining 2 related records using PL SQL in Apex - Problems when there are more than 2 related records?

    Hi
    I am combining 2 related records of legacy data together that make up a marriage record.  I am doing this in APEX using a before header process using the following code below which works well when there are only 2 related records which joins the bride and groom record together on screen in apex.  I have appended a field called principle which is set to 'Y' for the groom and 'N' for the bride to this legacy data
    However there are lots of records where in some instances there are 3, 4 , 5, 6 or even 1 record which causes the PL/SQL in APEX to not return the correct data.  The difference in these related columns is that the name of the bride or groom could be different but it is the same person, its just that from the old system if a person had another name or was formally known as they would create another duplicate record for the marriage with the different name, but the book and entry number is the same as this is unique for each couple who get married.
    How can I adapt the script below so that if there are more than 2 records that match the entry and book values then it will display a message or is there a better possible work around?  Cleaning the data would be not an option as there are thousands of rows of where these occurrences occur
    declare 
         cursor c_mar_principle(b_entry in number, b_book in varchar2) 
         is 
              select DISTINCT  id, forename, surname, marriagedate, entry, book,  formername, principle
              from   MARRIAGES mar 
              where  mar.entry   = b_entry
              and    mar.book = b_book
              order by principle desc, id asc; 
         rec c_mar_principle%rowtype;
    begin 
    open c_mar_principle(:p16_entry,:p16_book)  ;
    fetch c_mar_principle into rec;
    :P16_SURNAME_GROOM   := rec.surname; 
    :P16_FORNAME_GROOM   := rec.forename;
                   :P16_ENTRY := rec.entry; 
                   :P16_BOOK :=rec.book;
    :P16_FORMERNAME :=rec.formername;
    :P16_MARRIAGEDATE :=rec.marriagedate;
    :P16_GROOMID  := rec.id;
    fetch c_mar_principle into rec;
    :P16_SURNAME_BRIDE   := rec.surname; 
    :P16_FORNAME_BRIDE   := rec.forename;
                   :P16_ENTRY := rec.entry; 
                   :P16_BOOK :=rec.book;
    :P16_FORMERNAME :=rec.formername;
    :P16_MARRIAGEDATE :=rec.marriagedate;
    :P16_BRIDEID  := rec.id;
    close c_mar_principle;
    end;

    rambo81 wrote:
    True but that answer is not really helping this situation either?
    It's indisputably true, which is more than can be said for the results of querying this data.
    The data is from an old legacy flat file database that has been exported into a relational database.
    It should have been normalized at the time it was imported.
    Without having to redesign the data model what options do I have in changing the PL/SQL to cater for multiple occurances
    In my professional opinion, none. The actual problem is the data model, so that's what should be changed.

  • Displaying a message when there are no results from an XSL Query

    Using MM_XSLTransform.class.php
    I am querying an XML file to produce a list of places whose town name or address match a letter of the alphabet. The letter is passed as a variable in a URL.
    XSL:
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <xsl:param name="letter"/>
    <xsl:output method="html" encoding="UTF-8"/>
    <xsl:template match="/">
    <xsl:for-each select="dataroot/CPINFOWEB[Town=starts-with(Town, $letter) or Name=starts-with(Name, $letter)]">
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
            <td>
        <a href="detail.php?park={CostCode}"><xsl:value-of select="Name"/></a><br />
              <a href="detail.php?park={CostCode}"><xsl:value-of select="Town"/></a><br />
          <xsl:value-of select="Address"/><br />
          <br />    
          </td>
            </tr>
          </table>
          </xsl:for-each>
    </xsl:template>
    </xsl:stylesheet>
    Destination PHP file:
    setXML("../regions/CPINFOWEB-mobile.xml"); $mm_xsl->setXSL("list.xsl"); $mm_xsl->addParameter("letter",$_GET['letter']); echo $mm_xsl->Transform(); ?> 
    The result Name and Town are displayed as a URL to link to a "more details" page.
    All works fine, but when there are no results for a letter of the alphabet I obviously get a blank page.
    How do I display a "no results" message instead

    I deleted my original reply because the formatting of the XSL code was messed up by the forum. Here's trying again:
    Your current code creates a new table for each result. The opening and closing <table> tags should be outside the the <for-each> loop. To deal with the possibility of no results being found, use a conditional statement and the count() function like this:
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <xsl:param name="letter"/>
    <xsl:output method="html" encoding="UTF-8"/>
    <xsl:template match="/">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <xsl:for-each select="dataroot/CPINFOWEB[Town=starts-with(Town, $letter) or Name=starts-with(Name, $letter)]">
            <tr>
            <td>
        <a href="detail.php?park={CostCode}"><xsl:value-of select="Name"/></a><br />
              <a href="detail.php?park={CostCode}"><xsl:value-of select="Town"/></a><br />
          <xsl:value-of select="Address"/><br />
          <br />    
          </td>
            </tr>
    </xsl:for-each>
    <xsl:if test="count(dataroot/CPINFOWEB/Town) &amp;lt; 1">
        <tr>
        <td>No records found</td>
        </tr>
        </xsl:if>
    </table>
    </xsl:template>
    </xsl:stylesheet>

Maybe you are looking for

  • Compiling an existing as3 packag with flex sdk (for a flash/flex/as beginner)

    Hi I am new to flash, flex, mxml, and actionscript (with a strong background in c, python, and scheme and some background in Java, VBA, and Javascript). I have a website for which I would like to develop some simple swf content. Basically, I would li

  • ALTERNATE COLOR SCHEME TRICK FOR MACS

    Hey guys. Just found a little built in "trick" that is kinda cool. Press Control, Option, Command and 8 at the same time on your keyboard. The color scheme of your monitor will go into negative color - all colors are reversed here - whites are now bl

  • Is it possible to create folders in Finder from bins in Premiere?

    Hi there. I'm working on an incredibly organised project in which there are a few hundred different sequences arranged in bins & 'sub-bins'. Once editing is complete I plan to batch export all sequences and  to have the exports saved in the same fold

  • Does apple TV work with Belgacom's bbox

    Hi, For the Belgiums out there. I'm living in Belgium. I have ADSL via Belgacom's bbox. When I connect Apple TV it does not seem to find the wireless (wi fi) internet. WhenI put in the name of the network, it does not find it? I know, we don't have a

  • Style not list to use in Find dialog box...why?

    In find, advanced, you can search for styles. However, the style I want to search for is not listed. Other styles I have created are listed. What is the problem? I have rebooted the computer, does not solve the problem. thanks bob