Help the records removed from synchronization between two databases

Hi guys,.

I am new SOA and process management, so please bear with me.

I created composite simple synchronization using two Dbadapters. A DbAdapter to share records and others to insert and update data in another database. My question is how can I detect deletions and delete records in another database.

One of my friends told me to use DB triggers, but I want to do with SOA application using preferably the BPEL components.

Any help would be useful.

Thank you

You can query the database if records are soft deletion, survey in the soft deleted records and then update the database target.

If these are harsh destruction then the only thing I can think is: -.

Source database: select * from source

Target database: delete all records

Target database: insert the records from the source.

Other triggers would be best.

Tags: Fusion Middleware

Similar Questions

  • Synchronization between two databases with only 2% of the data; Please help me

    Hi all

    I have two oracle databases in 2 different servers PROD and TEST instances. the two databases are in gr 10 2 in linux servers.

    My PROD database contains about 300 GB of data and is dedicated for production area.
    My Test database is dedicated to Spanish test for PROD database. (small server in terms of space and RAM comparing to PROD db)
    I would like to synchronize every week TEST db with PROD db with only 2% of the data and all the structures
    Could someone tell me, if you use a datapump export I can import only 2% of the amount of data and the structures ot theere is another way to do it?
    Thank you very much

    best regards,
    W

    I'm not really sure what you're talking about. There is no option, expdp and impdp x % of the data, is that? And if Oracle can sovle repositories inetegrity (PK, FK), it cannot be assumed which tables are lookup table (to be entirely exported) and can not assume the logical data integrity.

    Nicolas.

  • Copy of the object between two databases

    Hi, in SQLDeveloper I can copy the objects 'tools-> copy of database... "between two databases such as (tables, views, indexes, triggers, constraints, etc, etc...), but how can I do it with SYNONYMS and GRANT of the object? Thanks for your help.

    You can watch the cart (view > trolley).

    The cart can generate a script to include SUBSIDIES, and you must add synonyms. You can then run these scripts in your target database.

    Drag the table to your shopping cart. Add synonyms.

    Export your basket. Select "grants."

    Decide if you want the data or not.

  • How to remove a path between two anchor points

    Hello

    everything is in the title,

    could you tell me please how to remove a path between two anchor points without using the tool Eraser path?

    When I select these two folders and press to remove all disappeared.

    PS: I want to keep the anchor after the removal

    Thank you

    with the Selection tool direct (white pointer), click the path segment (no points) or select slide above without going on something else and tap on delete.

  • Photosmart C6380 - cannot delete the document removed from the print queue.

    Photosmart C6380 - cannot delete the document removed from the print queue.

    Hello

    From the desktop, hold down the Windows key and press R.  In the run window, type services.msc and press to enter.  Scroll down to the print spooler , made service right click and select Properties, then click the Stop button.  Now search for C:\Windows\System32\Spool\PRINTERS, then delete the work inside this folder - you may need to click a command prompt to get the authority to open the PRINTERS folder.

    Restart the computer and you should find that the documents have been deleted.

    Kind regards

    DP - K

  • How to remove the hairline of white space between two forms in color

    I'm setting up a complex visual image in Illustrator. I used the processing step and repeat certain geometric shapes, and then color them in with the paint bucket using a swatch file direct. Then I deleted the original geometric shape contours, leaving just the plug-in software component color fill. Everything is great, except in two or three apparently random locations there is a hairline white between two forms of color component software plug-in. I don't want to change the dimensions of the forms to try to hide the white space, because who is going to introduce another problem. Any suggestions?

    You can butt them using the spacing to distribute at the bottom of the palette alignment function.

    Select your items, and then click one of them to designate it as the 'key' object (this is one that will stay in place while others move in relationship with him according to your actions).

    If the Align Panel is not slammed shut, choose window > align.

    If the spacing section distribute is not visible at the bottom of the alignment palette, choose Show Options in the Panel menu.

    The spacing value to distribute the value 0. Set align it: the Key object alignment option

    Click on the button appropriate to spread (horizontal or vertical).

  • All the music removed from the iPhone

    I was listening to music on my phone today when he stopped playing. Looking at my library, all my music not downloaded from iTunes has been removed from my phone. I do not press anything and have no idea of what has past. Does anyone else have this problem? Advice?

    First thing to try is to restart or force reboot your device (nothing will be lost):

    Restart your iPhone, iPad or iPod touch - Apple Support

    If this doesn't help, given that not downloaded from iTunes music has been lost - try to download previous purchases:

    Download your purchases past - Apple Support

    You can also try to unsync/delete and re-sync your music from iTunes.  To remove all music go to settings > general > use > storage > storage management > music > tap Edit in the top-right, then press the sign less than all music.

    If none of these suggestions help, then you may need to reset your device and restore from a backup.

  • FRM-30187: size of the column of type CHAR in the record group must be between 1 and 2000.

    Hi, forms 6i, db 10g

    I created a lov based on this query

    select * from items_qty_vu -- database view
    

    and the view code is

    CREATE OR REPLACE FORCE VIEW items_qty_vu (serial, item_id, expiry_date, qty)
    AS
       WITH item_units_plus AS
            (SELECT item_id, unit_id, factor,
                    LEAD (factor, 1, 1e99) OVER (PARTITION BY item_id ORDER BY factor)
                                                                   AS next_factor,
                    ROW_NUMBER () OVER (PARTITION BY item_id ORDER BY factor DESC)
                                                                           AS rnk
               FROM item_units)
       SELECT     ID.serial, ID.item_id, ID.expiry_date,
                  SUBSTR
                     (SYS_CONNECT_BY_PATH (   TRUNC (  MOD ((  ID.qty
                                                             - ID.qty_allocated
                                                            ),
                                                            iup.next_factor
                                                           )
                                                     / iup.factor
                                                    )
                                           || ' '
                                           || u.unit_name,
                                           ', '
                                          ),
                      3
                     ) AS qty
             FROM item_detail ID JOIN items i ON i.item_id = ID.item_id
                  JOIN item_units_plus iup ON iup.item_id = ID.item_id
                  JOIN units u ON u.unit_code = iup.unit_id
            WHERE CONNECT_BY_ISLEAF = 1
       START WITH iup.rnk = 1
       CONNECT BY iup.rnk = PRIOR iup.rnk + 1 AND ID.serial = PRIOR ID.serial
         ORDER BY ID.serial;
    
    

    When I compile the form, I face the error FRM-30187,

    If I replace my query "select * from items_qty_view" with "select item_id, serial, expiry_date of items_qty_vu", it compiles successfully.

    As salamualikum, Salem,.

    You must follow my instructions carefully.

    1. Select the record group.

    2. go in the record group property

    3. Select and open the column specifications

    4. highlight the column and check the decrease of the length, the bellows of the size that you cross more than 2000 then 2000.

    Compilation of now and you're done.

    Wow. you did.

    Hamid

  • How can I make a network between two databases?

    Hello all;
    Is going to set up oracle 10 g - (
    I try to Exchange data between two different databases.)
    Each database is configured in different operating systems.

    For ex: a database of windows XP (separate virtual machinne)
    a database of linux rhel (separate virtual machinne)

    I'm waiting for suggestions...

    Thank you...

    Published by: 969352 on March 19, 2013 10:04

    969352 wrote:

    What virtualization product do you use?

    * #* vmware - toolbox - cmd - v
    8.1.3.9911 (build-203739)

    VMWARE product information:

    Version: 7.0.0 build - 203739

    Ok. You will need to ensure that the ip addresses you assign to your virtual machines are in the same subnet that the adapter created by the installation of vmware. Once you get the fixed basic network installation, you can treat these virtual machines like any machine in your data center. Forget the vm console and access it exactly as you would for any remote server - putty for the Linux and Windows Remote Desktop to the Windows machine.

    To a prompt on the host computer, post this:

    c:> ipconfig -all
    

    You will get feedback on multiple net cards, of which two are identified as with vmware - vmNet1 and vmNet8. Note the IP addresses of the two. We'll need later.
    You'll also need to know how you have configured the network cards on your virtual machine - NAT, bridged, hostonly?

    Note that these issues are out of scope for this forum. I don't mind helping, but I don't have an installation of vmware for details of the reference.

    Which have really tried to do? ( Data transfer )

    I tried to Exchange data from windows to linux DB database

    It's pretty vague. Exactly how did you try to "Exchange data"? A SQL using a db_link? import/export? Pigeons?
    >

    Where are you stuck?

    I don't know, how to set up the ip address and the necessary information for the windows database.

    Configuration of an IP address is purely a matter of admin OS and out of range for this database forum.
    Google is your friend, but only if you use: [url http://lmgtfy.com/?q=configure+windows+ip+address] http://lmgtfy.com/?q=configure+windows+ip+address
    >

    It's all Edstevens... Thank you...

  • Create database link between two databases?

    Hi all

    Can someone tell me how to do?

    I have two databases in oracle 9i: 'mydb' & 'mydb1 '.

    mydb contains a table 'tab1' with a single domain (of the int data type) and mydb1 contains a table "tab2" with two fields (int, char).

    I tried to do this:

    System is one of the usernames and another username is olapsys
    Manager is the password of the system, and olapsys got the password = myolapsys

    I tried to create a link, but it gave me an error:

    CREATE DATABASE LINK mylink access the system identified by the Manager using "mydb.tab12";

    then I tried running this query in olapsys:

    Select * from tab12@mylink;

    Error:
    ORA-12154: TNS: could not resolve service name

    Help, please.

    Thank you and best regards,

    Lucky

    CREATE DATABASE LINK mylink to connect to the system identified by the Manager using "local service alias ';

    where local service alias is the name of the local service that you configured in the tnsnames.ora to connect to mydb1.

  • creation of link db between two databases.

    Hello

    I want to generate a query of two tables on two different databases on the same server. For this I am trying to create a db link.

    for example: I table 1 in soft base oracle people and table 2 in the hra database and I want to do a relationship. So I want to build a query from these two tables.

    I found the syntax for creating link db as

    create public database link
    myLink
    to connect to
    remote_username
    identified by
    mypassword
    using 'tns_service_name ';

    I use the interface of Toad to connect to these two databases. If I create the link to the db, how can I and where do I write the syntax above (in the database)?

    All entries would be very appreciated.


    Kind regards.

    Check this box
    http://docs.Oracle.com/CD/E11882_01/server.112/e26088/statements_5005.htm

    P.c.: This is the best place to post https://forums.oracle.com/forums/category.jspa?categoryID=18

    Mark as correct :)

    http://cool-bi.com

    Published by: Srini VIEREN on May 9, 2013 10:08

  • problem with the locking insert and delete between two linked tables help please.

    Hi guys I have a problem with a table of locking in Oracle forms, but when I try in SQL happens here too many users. I was wondering if anyone can shed some light on this?

    I created two scenerios one that works and is not based on the primary key and foreign key constraints (but one that works is not possible for us because it would mean change design table that we can not do).

    I've hardcoded in 1127,1128 number to make it easier (in reality it is a sequence)

    OK scenerio one (our scenerio)

    two tables
     CREATE TABLE testSFLABPR 
       (     LABP_REF_IRN VARCHAR2(25 BYTE), 
         LABP_REF_REF VARCHAR2(30 BYTE), 
         LABP_REF_SL NUMBER(8,0), 
         LABP_CONFIG_ID NUMBER(8,0),
          CONSTRAINT PK_testLABPR_IRN_SL PRIMARY KEY (LABP_REF_IRN,LABP_REF_SL)
       ) ;
    
     CREATE TABLE testSFLABP 
       (     LABP_IRN VARCHAR2(25 BYTE), 
         LABP_OPNO NUMBER(3,0), 
         labp_no NUMBER(8,0),
          CONSTRAINT PK_testSFLABP PRIMARY KEY (LABP_IRN, LABP_OPNO, LABP_NO) ENABLE, 
          CONSTRAINT testFK_SFLABP_SFLABPR FOREIGN KEY (LABP_IRN,labp_no)
           REFERENCES TESTSFLABPR (LABP_REF_IRN,LABP_REF_SL) ENABLE
       ) ;
    OK now session is done the following
    DELETE FROM      testSFLABPR     WHERE   LABP_CONFIG_ID            = 1127;          
                   
    INSERT INTO testSFLABPR(
            LABP_REF_IRN,
            LABP_REF_SL,
            LABP_REF_REF,
            LABP_CONFIG_ID
            )
            VALUES
            (
            'SOPENSHELVING',
            1127,
            1127||'CF Route',
            1127
            );
            
    INSERT INTO testSFLABP
          (
          LABP_IRN,
          LABP_OPNO,
          LABP_NO)
    VALUES (
    'SOPENSHELVING',
    1,
    1127);
    session one remains in this State.

    second session now does the following
    DELETE     FROM testSFLABPR     WHERE   LABP_CONFIG_ID            = 1128;     
    second session is now locked until a commit or rollback occurs.

    If I run the exact scenerio even with only a primary key on the table without locks held
     CREATE TABLE testSFLABPR 
       (     LABP_REF_IRN VARCHAR2(25 BYTE), 
         LABP_REF_REF VARCHAR2(30 BYTE), 
         LABP_CONFIG_ID NUMBER(8,0),
          CONSTRAINT PK_testLABPR_IRN_SL PRIMARY KEY (LABP_REF_IRN)
       ) ;
    
     CREATE TABLE testSFLABP 
       (     LABP_IRN VARCHAR2(25 BYTE), 
         LABP_OPNO NUMBER(3,0), 
         labp_no NUMBER(8,0),
          CONSTRAINT PK_testSFLABP PRIMARY KEY (LABP_IRN, LABP_OPNO, LABP_NO) ENABLE, 
          CONSTRAINT testFK_SFLABP_SFLABPR FOREIGN KEY (LABP_IRN)
           REFERENCES TESTSFLABPR (LABP_REF_IRN) ENABLE
       ) ;
    INSERT INTO testSFLABPR(
            LABP_REF_IRN,
            LABP_REF_REF,
            LABP_CONFIG_ID
            )
            VALUES
            (
            'SOPENSHELVING',
            1127||'CF Route',
            1127
            );
            
    INSERT INTO testSFLABP
          (
          LABP_IRN,
          LABP_OPNO,
          LABP_NO)
    VALUES (
    'SOPENSHELVING',
    1,
    1127);
    DELETE     FROM testSFLABPR     WHERE   LABP_CONFIG_ID            = 1128;
    I hope I posted all the information that is relevant... version of DB were is Oracle Database 10g Release 10.2.0.3.0 - Production

    Any help is appreciated...

    Creating indexes on columns of the FK. Something like:

    CREATE INDEX testFK_SFLABP_SFLABPR_IDX
    ON testSFLABP(LABP_IRN,labp_no)
    /
    

    SY.

  • synchronization between two jsf master detail pages

    Hi guys,.

    I have two jsf pages, how do I synchronize the selected line (af:table) on the first page of a master detail (the secondary table) with the second page.

    In my case in the second page I can make changes in a Popup window, but the selected line (the secondary table) on the first page is displayed in the pop-up window

    I want the selected record from the table in detail in the second page will be displayed in the pop-up window


    Thanks for your help

    Published by: fakhri_tn on November 13, 2012 23:47

    Hello

    Always mention your JDev version.

    Watch this video. : http://www.youtube.com/watch?v=rv3NV4rz6Lo

    Arun-

  • Synchronization between two periods loops FPGA

    First of all, I appreciate the forums here and have read a lot of interesting topics. This is the first time I can't solve it with research and I hope for your entry.

    Information:

    I'm using LabVIEW 2009 f3, PXI-1033 with the PXI-7813R.

    Problem:
    In my FPGA program, I have two loops, where you need to run as fast as possible (has) and the second just quickly (B). Has turns 20 MHz to 40 MHz and B . These are for the two loops limiting speeds. B cannot run faster and Has should not run more slowly.
    Loop has captures the sensory information and integrates data as many loops as indicated by the user. When completed, please send a trigger to B, which calculates the new position information and sends it to the machine. Only at certain times, B must achieve something and said nothing to the rest of the time.

    I thought of two ways, but doesn't work for me.

    (i) with the help of a Boolean trigger. As in a loop, the Boolean value of A can become true and switches to the next loop to false, B is not capture all the triggers and a 50% chance of getting the triggers and isn't perfectly synchronized.

    (II) using the occurrences. Sounds very interesting, but these are prohibited between the periods differently loops.

    I played with many scenarios, but may not understand proper. Someone at - it suggestions?

    This seems to be a fairly simple producer/consumer scenario.

    I would like to use a device worn FIFO to transfer data from the loop of producer (top) to the loop of consumer (bottom).

    Depending on how often the producer generates data (each cycle or every nth cycle?) the case around the write FIFO structure will allow him to write only when your requirements are met.

    The consumer loop reads the FIFO with a timeout of '0 '. When the FIFO is to expire, the consumer runs to the case which does nothing. When the FIFO does not expire, who processes the data and sends it to the side of Windows runs.

    In my example, I used 2 structures of cases to illustrate the two different modes. In your code, you must use a single structure of matter.

    There is no advantage to set a loop "sleep", even if no data exists on the FPGA. Because you are running in hardware and the non-profit CPU cycles these loops can operate simultaneously at no increase in the latency of a

  • Need help to set up a network between two Windows 7 computers

    I have two Windows 7 computers at home: one is a desktop computer that is connected directly to the internet (with a network cable), and the other is a laptop computer that is not directly connected to the internet with a network cable.  We have a configuration of wireless network for your laptop is set up of this network and has internet access.

    What I want to do is set up a network between the two of them, so that the laptop can access the printer that is directly connected to the desktop computer.  I got this configuration when both computers are Windows XP, but since we their past to Windows 7 I can not it works.  I tried to create a home network, I set the printer on sharable and given him a name, but I can't access it on the laptop.

    The printer is actually a photocopier, but it is directly connected to the desktop computer.  In fact, it is connected to the router than the phone company provided.  But we want the laptop to be able to access it and use it.  As I said, we had this configuration when these computers are computers Windows XP, but I tried following the instructions to do this for Windows 7 and I can't make it work.

    Also, I'm not that computer savy, so please if you tell me to run a program it please tell me how to find and launch this program.

    Thanks for any help.

    Hello

    Welcome to the Microsoft Community Forum.

    Before you start with the troubleshooting steps, I would need some information on the subject, so that we can better help you.

    1. What happens exactly when you try to access the shared printer on the network home?
    2. You receive an error message/code?
    3. Have you tried sharing the computer and using collective housing resources?

    As you mentioned, you can share printer for two other computer running on Windows 7, you can check the items below that will provide you with information on how to work with the host group, and also another article that will you provide steps on how to share a printer on the network.

    Homegroup from start to finish

    Share a printer

    Hope that the information provided is useful. Let us know in case you need additional assistance.

    Thank you.

Maybe you are looking for

  • For the work week schedule

    How can I set up an alert for a WORK event, only from Monday to Friday? Marcela of Guardia The Panama Republic

  • issues of data type of waveform in labview

    Hello! IM creating an osciloscope in labview, but im having problems try to get a few items in waveform. I need to get items such as the XSCALEMAXIMUM to the type of waveform data (dark brown) not on DBL (orange). I already watch every single video o

  • New fingerprint reader of laptop not detected

    Hello I just got an Elitebook 1040 G1 running win7 64 bit and have been installing all the necessary things I'll need for daily use. Out of curiosity I tried to get the reader of fingerprints, put up just to have as an option if I wanted to. After in

  • play music instead of silence on the default script

    I'm trying to configure the IPCC Express If Agents are busy or not ready, default script from the IPCC plays the welcome message then the time of silence then greeting and so on... I want to replace the time of silence by music file How can I do this

  • Display.getWidth () and Display.getHeight () does not

    I have added two variables public static int in the main class (large public static Sub and I initialize these variables in the class as Main() constructor): w = Display.GetWidth (); h = Display.GetHeight (); I have no error, but when I try to use th