DataBase Adapter Rollback option for Logical/Physical Delete in SOA  11g

Hi All,
We have a requirement where we need to rollback the logical delete performed by the DB Adapter (after polling a table) if there is any failure in the process down the line. We are trying to implement this using Mediator or OSB. For example if we are polling a table for changed records and performing logical delete, down the line if the business service (OSB) or the external reference (Mediator) are down/faulted, the records which were logically deleted are not getting rolled back in the table. Would any one please let me know if you have come across the same kind of scenario?
Is there any property we need to set while configuring the polling DB Adapter?
Thank You.

Thank you very much for the reply Anuj,
I have created a db adapter which polls on a table with logicaldeletestrategy in JDeveloper 11g,
then I imported the XSD, mapping.xml, wsdl and JCA file into OSB using OSB consol. In the console
I generated proxy and wsdl for that proxy using JCA file. Then created one more db adapter in JDev
which inserts the records polled by the first db adapter into another table, followed the same
process of importing the above mentioned 4 files and generated a business service. In proxy service
route node I am using a transformation (which also I imported from Jdev) to route the data polled
by proxy service to the business service. Here I am using an XA datasource both the JCA's also
I made the 3 changes reccommended by Arun but still I am not getting the results.
I tried physical delete same issue with that too. When I am doing physical delete the proxy service
atleast picking up the records and deleting them. But when I tried logical delete the proxy is not even
picking up the records. Am I missing anything here?
Thank You,
Edited by: user12237005 on Apr 7, 2011 2:17 PM

Similar Messages

  • Restrict Select-Options for Logical Database field

    The way we restrict select options for custom defined select option fields on selection screen.. can we restrict select options for standard Logical Database fields?
    i.e. report uses PNPCE logical database and has field called PERNR. I want to restrict select options for this PERNR field so that it has options for 'Select single values' only.
    Thanks,
    Falguni
    Edited by: Falguni V on Nov 13, 2010 6:42 AM

    You can user AT SELECTION-SCREEN event, and check whether any record is having high value for PNPPERNR.

  • Database adapter MCF configuration for jDeveloper

    Hi All-
    Help me to understand the mcf configuration in database adapter wsdl.
    When we develop BPEL process, the database adapter wsdl file has mcf configuration mentioned in it from the connection we made in jDeveloper. wsdl file also has JNDI locaton which we actually need to define in application control of SOA suite which in runtime gets the database detail from application control of SOA suite, not from mcf details.
    It always recomended to remove the mcf, is it because if the JNDI mention is not defined in the SOA application control, it may look for the mcf configuration too and if found it will fire the database connection mentioned at design time.
    Thanks in advance.
    Regards,
    Sreejit

    Hi Sreejit,
    Please note that the .mcf properties has dependency on JDeveloper. As it is currently, the .mcf properties only have relevance on the platform on which the process was developed.
    The process can only be worked on by another developer on another platform if these properties remain in place. If deleted, the connection information can no longer be edited in the wizard, and so the connection is effectively hardcoded. This unnecessarily complicates the development process since it results in multiple versions of a single BPEL process as it moves throughout the
    development lifecycle and into Production, adding signficant busy work on top of the normal development activities. Moreover, these properties are a JDeveloper/Oracle convention and not part of the open standard WSDL specification.
    Hope this helps!
    Cheers
    Anirudh Pucha

  • Ralink RT3290LE + Bluetooth 4.0 Wifi Adapter Replacement options for Pavilion G6 2301ax!

    What Wifi Cards are Supported for
    "Ralink RT3290LE + Bluetooth 4.0 Wifi Adapter"
    Included in  Pavilion G6 2301ax.
    From india.

    Hi @PulsarLight ,
    Thank you for visiting the HP Support Forums and Welcome. I have looked into your issue of replacing the Bluetooth adapter for your HP Pavilion g6-2301ax Notebook. Here is a link to your Manual that shows the adapters on page 32.
    Hope this helps.
    Thanks.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • My daughter gave me her old iPhone 3G. I started loading my info in before hitting the "reset" option.  It is now trying to sync her address book to mine on the old phone.  The reminder screen gives no options for cancel or delete.  Please advise.

    My daughter gave me her old iPhone 3G.  I started loading my own info before doing a complete "Reset".  My iMac at home now give me a message that it is time to Sync 432 Contacts.  They happen to be my daughters contacts. The window has no Cancel or Delete option.  How do I get rid of or stop the Sync other than let it go and then start deleting them?  Help!  Ron

    or... put your photos in "My Pictures" in My Documents, and viola, itunes syncs it to the iphone. only one sentence needed =/
    maybe im missing your point here, the long paragraph is mindboggling

  • Cheapest option for logic Pro8 coputer?

    I have become used to a donated Powermac G5 to use logic P.8 /duet for midi KB and guitar -a "spare " set up .
    It seems like the G5 may have terminal restart problems and will not revive .
    Any suggestions for the least expensive good used computer to get instead .

    My attitude would be.... well, what have I got to lose.. in other words, I would try anything and removing/reseating all of the RAM is the first thing I do when a computer has a restarting problem. Also, I would try it only with the original RAM after removing all.
    It may be powersupply related but the power supply can also protect itself and shut down if it detects problems with RAM.
    just a thought
    I've heard about baking the motherboard, that's to resolder cold joints.

  • Hard drive options for Logic Express with a Mac Mini

    I'm considering getting a Mac Mini to use for recording video from a medical endoscopic camera. The reasons for choosing a Mac Mini are 1) low cost 2) small size and 3) no fans - blowing dust around an operating theatre can be a risk (therefore even if cost wasn't an issue, the fans would preclude other mac models).
    I've been looking at the spec of a Mac Mini - they have 5400 rpm hard drives and only 1 firewire 800 port. I'm using a Canopus ADVC 55 to convert analogue video to DV which connects using Firewire.
    Will the built in hard drive be ok, or should I consider replacing it with a 7200 rpm drive, or get an external Firewire drive. PResumably, with only 1 firewire port on the Mac Mini I would need to find either a hard drive with 2 firewire ports to chain devices (which I've heard can be a problem) or perhaps get a firewire hub (similar problem?).
    Currently I'm using a MacBook Pro with an internal 7200 rpm drive and this works fine (except when it gets low on hard drive space and I get dropped frames, leading to complete loss of the recording...).

    Thanks - I just did a quick search and there are some Firewire 800/400 'bilingual' hubs around at reasonable prices.
    I'm tempted to try the Mac Mini server, and perhaps have the 2 drives in a Raid 0 configuration. I could then have it backing up to a Time Capsule overnight (to mitigate the risk of using Raid 0).
    Recording to an external drive might be useful though - as it would be a quick way of moving the data to a Mac Pro for compression for archiving. I find moving 10-20GB files over 802.11n to be very time consuming.
    I'll certainly bear the dust in mind in terms of the risk to the Mac Mini (I've seen PC's having failed power supplies because the air inlets have been clogged with dust). My main concern however would be the risk of infection due to the fans causing air movement. There is an enclosed space it could be located, not great for cooling though.

  • Creating dynamic endpoint for synchronous partner link. SOA 11g

    I am on page 522 of the Developer's Guide and have hit a dead end.
    1) There is no such thing as a "Transformation" activity.
    2) If I assume they meant "Transform" I am still stuck because you can't use a wsdl as input
    3) What is a "copy rule?" I thought that meant Assign, but the Assign dialog looks NOTHING like their screen shot.
    I get the CONCEPT 100% but the actual implementation is a complete mystery because this book is fatally flawed.

    It's not a link, it is a literal book.
    Oracle SOA Suite 11g R1 Developer's Guide
    Of more importance to me than sorting out the book is sorting out the issue. I have two partner links I want to be able to set runtime endpoints for. I also want this to be done based on which deployment server the composites are on, but I can cross that bridge later.
    One of the partner links is an HTTP Adapter and the other a WS Adapter.
    I imported the WS-address schema and created en endpoint reference variable but then I get stuck. How to I use this to change the endpoint of the partner link? The developer's guide says "use a Transformation" which I am guessing means and Oracle Transform (thing that makes xlst style sheets) but Transform only accepts variables as input and output and the guide screenshot is showing wsdls being used.
    Also -- looking at "The BPEL Cookbook" (http://www.oracle.com/technetwork/articles/carey-090553.html) I get imediately lost because only partial examples are shown and repeated references are made to this "DynamicPartnerLink Sample" which I can find umpteen million references to but no source for.
    OK.. found the source for the referenced wsdl .. and it has nothing I didn't already have.
    I am using jDeveloper... I think the cookbook is referring to some other editor. I needs instructions I can follow in jDeveloper because my employer is requiring we use that.
    Edited by: Keith Fosberg on Oct 30, 2012 7:16 AM

  • Dynamically Pass sql query in Database adapter

    hi',
    How can we dynamically pass sql query in Database adapter, is there any way, I am using SOA 11G.
    Thanks
    Yatan

    Hi,
    Tried that too. No luck. Gives me this.
    The selected operation process could not be invoked.
    An exception occured while invoking the webservice operation. Please see logs for more details.
    oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'selectUsingIn' failed due to: Pure SQL Exception.
    Pure SQL Execute of select interface_id, property_name, property_value from ( (?) ) failed.
    Caused by java.sql.SQLSyntaxErrorException: ORA-00903: invalid table name
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    Regards,
    Neeraj Sehgal

  • Need Help-SOA 11g File Adapter unable to delete input file and its crashing

    Hi All
    Please find the details below:
    1. We have created a simple SOA composite to Read file from an input directory, archive the file in an archive directory using Inbound File Adapter Read
    and then use Outbound File Adapter Write to move the file to a output directory.
    2. File Adapter needs to delete the file after successful read/retrieval.
    3. We are using the "Use Trigger File" for invoking the file adapter. This is a new feature in SOA 11g
    4. Also we are using the option of reading the file as an attachment as we are not doing any transformation in the composite
    Issue Details_
    1. When the trigger file is put in the input directory for the first time, the File Adapter reads the file, archives it and moves it to the output directory
    2. However it does not delete the input file from the input directory and raises Fatal Exception mentioned below:
    [*2011-01-12T16:55:48.639+05:30] [soa_server1] [WARNING] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@19c243d]*
    [userId: <anonymous>] [ecid: 0000IptyLrL9_aY5TrL6ic1DBOS_000009,0] [APP: soa-infra] File Adapter FileAdapterTriggerFilePOC PostProcessor::
    Delete failed, the operation will be retried for max of [0] times
    [2011-01-12T16:55:48.639+05:30] [soa_server1] [WARNING] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@19c243d]
    [userId: <anonymous>] [ecid: 0000IptyLrL9_aY5TrL6ic1DBOS_000009,0] [APP: soa-infra] File Adapter FileAdapterTriggerFilePOC [[
    BINDING.JCA-11042
    File deletion failed.
    File deletion failed.
    File : C:\Dibya\AttachmentTest\InputDir\TestFile3.txt could not be deleted.
    Delete the file and restart server. Contact oracle support if error is not fixable.
    If any one has faced similar issues, kindly provide pointers on how to resolve it.
    Regards,
    Dibya

    Hi,
    Using the file adapter, you can poll from multilple locations...
    Keep the following property in your .jca file
    <property name="DirectorySeparator" value="," />
    While giving the path in File Adapter configuration, keep comma and give the next location....then the file will be picked up from the locations you gave....
    Hope this helps...
    Thanks,
    N

  • Conditional where clauses in database adapter

    I am trying to write a query in a database adapter that allows for conditional where clauses. Specifically, I want to include or not include a where clause (and clause) if an input variable is empty or not. Can a prepared statement with lexical parameters be used in a database adapter? Or is there another way to do this?
    Thanks in advance.

    I am afraid that you can only bind parameters to the SQL, you can't bind the SQL itself to the SQL. We do have QueryByExample support, where based on what fields are set in an example object, it will construct a different SQL select.
    If you pass in
    <Address>
    <street/>
    <city>
    <state>CA</state>
    </Address>
    it will return all addresses in California. If you pass in:
    <Address>
    <street/>
    <city>Los Angeles</city>
    <state/>
    </Address>
    it will return all addresses in Los Angeles.
    Thanks
    Steve

  • Oracle SOA Suite 10.1.3.4 Polling database table with Database Adapter

    We are trying to use the database adapter to poll for new and changed data in a database. To do that we try to use a sequencing table on an external database. But for that we need to specify the data-source name for the external sequencing table. Where do we need to define this data-source? We have tried with data-source defined in the Enterprise Manager, but it's not right. Also tried with the name of database connection in JDeveloper, still not working.
    Any ideas?

    Hi,
    If you are trying to understand how to create a connection pool for a data source, then this document might be helpful
    http://blogs.oracle.com/fusionmiddlewarereallife/soa_11g_bpel_composite_and_database_adapter.html

  • Diferences in data from database adapter and EJB

    I'm having a strange behaviour in a BPEL that uses a Database Adapter and EJJB for several database operations.
    What happens is that when I create records in the database through the adapter, if I retrieve them through the EJB, the records returned do not contain the newly inserted data. It seems that there is a cache in the EJB side that is not updated when an new record is inserted. If I restart the server the records appear. this does not happen if I insert through the database adapter and retrieve thought it also.
    Does anyone have a clue about this?
    Thanks in advance

    Hi Pedro
    What kind of code do you have in EJB to retrieve the data. Are you using the standard JNDI Lookup for datasource and then get connection object. Then run the query on this connection. If so, do you have like any Static variables declared that stores this information. Or do you use the Eclipse JPA layer that uses annotation on the Entities generated for each table. Incase if you use JPA architecture, there are some cache settings and may be that could be the reason.
    Thanks
    Ravi Jegga

  • Problem after restart of a database used by a database adapter in SOA suite

    We are migration from Oracle interconnect to SOA suite. I am a bit worried that I am taking a backwards step in robust drift. I restarted a Oracle database that is used as an end point in both interconnect and SOA. In both cases the database adapter in interconnect and the partner link in SOA start throwing java error messages. This is not the problem, what worries me is that with Interconnect restarting the database adapter allows queued messages to be written to the database, nothing goes missing. But with SOA suite the messages that could not be delivered before restarting SOA suite end as "canceled" that is to say they do NOT get completed. What happened to guaranteed transaction delivery? or am i missing something.

    Hi,
    The JNDI Name to use for the service connection is "eis/DB/soademoDatabase".
    This Database is a requirement of the course... (Chapter 4 of Getting Started with Oracle SOA Suite 11g R1 - A Hands-On Tutorial).

  • MASS UPDATE FOR MATERIAL CODE DELETION

    Dear all ,
    Please  provide the option for material code deletion in mass update .
    Srithar K

    Use T-code: MM17
    Table-Fields:
    MARA-LVORM (Client level)
    MARC-LVORM (Plant level)
    If its your first time, do a test run in sandbox.
    Added
    The above will flag the deletion flag. Then you will have to do a archival. To know the steps, just do a search in this forum or MM forum, you will get a step by step procedure.

Maybe you are looking for