How can I limit the search code in prepareForDML method

Hi all

In my case, I created an IMPL class for entity where I override the prepareForDML() method and write the code.

This code is executed when I change to the attribute approveStatus on the table of the adf and push the button of validation (from DC).


That's fine, but the problem is that now I have change on another attribute of the same claimed_by vo and press on commit prepareForDML() method call and same code runs again once I don't want this want to prepareForDML() method of derivation. or part of the code will not run.


Concerning
Manish

You can check if the desired attribute has been changed or not before you run your method

  protected void prepareForDML(int i, TransactionEvent transactionEvent)
  {
    if(this.isAttributeChanged(YourAttributeIndex))
    {
      //execute your code
    }
    super.prepareForDML(i, transactionEvent);
  }

Tags: Java

Similar Questions

  • Where is View Source? How can we consider the source code of a Web site?

    Where is View Source? How can we consider the source code of a Web site?

    View the Source used to access via a drop down menu, but is no longer. Why?

    I use Firefox 24.0.

    1.) get in Firefox.
    2.) open any page you want to view the source code.
    3.) after full opening of the page "right-click" then you can see the source view of the page, click on it to see the Source of the page.
    Thank you.

  • How can I limit the number libraries which is to find Photos

    How can I limit the number libraries which is to find pictures?

    I have about 10 libraries I've migrated opening today.

    I followed the advice I got from leonie, (level 10) below.

    Photos will create a new library of Photos in your iPhoto library.  The new library will be named as the iPhoto, with the extension ".photoslibrary" library and your original library will have a new file name extension ".migratedphotolibrary".  Rename the resulting ".photolibrary", so you will always be able to open in Aperture. The icons of libraries will change also. New photo library will display an icon of 'fan photos' with the flower of the Rainbow.


    So, I have now two files in my folder "Images".   One is called "Photo library" (these are ALL of .photoslibrary) the other is 'BACKUP ONLY iPhoto libraries' (these are ALL of .photolibrary).

    When I hold down the option key and start the Photos is to find all the libraries of two files above. How can I say Photos don't not to look in the old folder "iPhoto library"?

    This isn't a feature of Photos

    You can request that Apple itself - http://www.apple.com/feedback/photos.html - but not, it is not an option

    LN

  • How can I limit the total number of hours per day, that my child may be on the computer?

    Summary of the issue
    Other issues of Windows Live family safety

    What version of Windows Live Family Safety do you use?
    Version 2011 (15.4.3538.513)
    Choose your operating system version:
    Windows 7

    Additional details
    How can I limit the total time per day my kind that can be on the computer? I see only menu in which I can determine which hours of the day, they are allowed to access. Concerning the lower self, for example him limit total daily in any hours 1 hour.

    Hello

    The feature of time safely of the family has changed recently. For more information, please see this sticky post:

    How to work the allocation of time and curfew? 

    You can also consult this thread. It has information on how parental control has changed and how to put in place.

    Thank you!

  • How can I get the color codes for the notebook

    How can I get the color codes for the notebook?

    Hello

    What is the color codes for the notebook?

    Perhaps you need a 3rd party utility like GetDiz - Free and others to be
    found using BING or Google.

    GetDiz Notepad - free - replacement
    http://www.Outertech.com/en/Notepad-replacement

    I hope this helps.

  • How can I get the activation code for PC Defender?

    I have a dell netbook.  It has viruses on it.  PC Defender is constantly on it saying that if I put in the activation code sent to my e-mail address, it will remove the virus.  The code was never sent.  I can't access it from my netbook, but I can check my email from my other laptop.  How can I get the activation code so can clean my netbook?

    PC Defender is a rogue security application.  It is also a malware!  You can remove it by following these instructions:
    http://www.bleepingcomputer.com/virus-removal/remove-Windows-PC-Defender
    Trader2100

  • How can I find the URL codes for images stored in the Windows Photo Gallery?

    How can I find the URL codes for images stored in the Windows Photo Gallery?

    If you want the path to the current record
    right click to the picture location of a photo...
    and choose... Properties / General tab.
    Location displays the path.

    If you have a photo saved on your hard drive
    car that was downloaded on the net...
    the original URL will appear not in
    the file.

  • deleted reception for windows buy but not print product code. How can I get the product code of return

    I bought a code produced, printed at the front desk but the product code does not print.  How can I get the product code of return?  I have the order #.

    Please see: key product & downloads

  • HOW CAN I FIND THE MATCHING CODE FOR LEXMARK PRO 805

    How can I find the pairing code for a printer Lexmark 805 purpose multi pro?

    Contact Lexmark support.

  • I have lost the key code for my Adobe Acrobat Standard for Windows (CD) XI.  I had at my office and need to reinstall.  How can I get the key code?

    I have lost the key code for my Adobe Acrobat Standard for Windows (CD) XI.  I had at my office and need to reinstall.  How can I get the key code?

    There is a number on the CD.  Is it possible to contact Adobe and get the key code for this product?

    Hello

    Please check the help below document:

    Quickly find your serial number

    In the case of the volume license product, please visit: site Web of Adobe License | Serial numbers | Orders | Accounts

    Kind regards

    Sheena

  • How can I use the search option in the pdf file in my mobile? [Android]

    How can I use the search option in the pdf file in my mobile?

    Yes, the text search is also available on Android Acrobat. After you open a PDF file, look in the top bar of the magnifying glass icon. If the top bar is not visible, tap anywhere on the screen to make it appear again.

    Thank you

    Acrobat DC team Mobile

  • When I try to log in to Photoshop it keeps asking me for a 'unlock code' so I can't get into my pictures. How can I get the unlock code

    When I try to log in to Photoshop, it keeps asking me for a 'unlock code' so I'm unable to access my photos how can I get the unlock code

    Thank you for your response to my query. I have the Album Starter Edition 3.2. It's a box of product registration keeps coming back when I try to log in. This starter edition has been downloaded as a trial as I have used for some years now without difficulty until I have to register and pay for the privilege of using it. I tried to register, but registration box disappears. I'm sorry to be vague, but I'm not as into it as you and still trying to familiarize themselves with computer terminology and everything very confusing sometimes. Even the delay in responding to your response to my query is due to not being able to navigate the Web site to know how to respond.

    SORRY, but I hope you can help

  • How can I change the Version Code in Flash Android from the Android market app settings?

    I recently tried to update my app on the Android app market and when I downloaded it I got the following message:

    "News of the apk (1000000) VersionCode already exists."

    In Flash Adnroid settings I changed the version label, but that did not help.

    So I have two questions:

    1. How can I change the Version code in Flash Android settings? I changed the version number and the version label, but it does not work.
    2. What is the difference between the version number and version label?

    1.1.0

    That should fix it, you must download the wrong file. I got this error before, by simply changing the flash version number and reexporting solves the problem. Flash can sometimes reroute your destination the exit .apk file folder, when your double apk download check that it has been created when you think it is, best way to do so is to publish and then transfer it, and after download be sure that it has been created a minute ago or so not on 30 March. Also try without the version label, it would be in conflict with something.

  • I don't have my key code for windows. My dealer doesn't have either. How can I retrieve the key code number?

    I don't have my key code for windows (registration card was not with the computer when I bought it).  My carrier apparently deleted the key during my computer repair code.  My retailer where I purchased the computer didn't either.  How can I retrieve my key code number?

    The Windows product key is usually displayed on the sticker on the underside of the computer.

    However, you can also get it by running the Belarc Advisor or the Magic Jellybean Key Finder.

    Google for one of those and you will find them.

  • How can I get the redemption code to install creative cloud? I paid for it but nothing

    I can't install Creative Cloud (lightroom, photoshop CC), I paid for it, but noting. I can't get the redemption code, I lost time... Can you explain to me how to do this. I can't send email... Thank you

    Are you unable to install Adobe Creative Cloud application?

    Or are you be prompted to enter the serial number when you launch CC apps?

    "If you need more information on the redemption code, you can check the link below:

    https://helpx.Adobe.com/x-productkb/global/redemption-code-purchase-help.html

    Alternatively, you can contact Adobe Support via Live Chat «:»

    https://helpx.Adobe.com/contact.html?step=CCSN_membership-account-payment_account-settings _stillNeedHelp

    Click on the button still need help and select the Chat option.

Maybe you are looking for

  • connection to the AE to a bell modem

    Just a new bell modem was installed and no matter what I do I can not connect my AE. It indicates that the ethernet cable is not connected to who he is. One had this problem in the end? Thanks in advance!

  • installation of playlist iTunes-work screensaver?

    Is it possible to disable the iTunes Screensaver Playlist ease work. It does not add value to a current iTunes library

  • HP Touchsmart IQ510 to play games?

    Hi, my girlfriend brought one of them, yesterday, the Comet and its brilliant, I just have a few questions. I tried to install The Elder Scrolls Oblivion and after that, the installation and I press 'play' it comes up with an error message saying...

  • HP first app - a problem of circle geometry

    Here's a problem for a graphical solution for (using the Geometery application): Given a unit circle, finding another circle that is framed by the axii unit circle and x and y. I tried to use the features in the application, but either I could not fi

  • micro sd 32 GB card

    I have a problem, downloading music and movies and make them work. 4g lte. You must use the mini, right?