How can I do a bulk update?

Hi
In our BC4J application I need to perform a "bulk update", that is, I need to iterate over all the rows of a View and set one attribute on each one. Tracing the SQL session, I note that the BC4J framework is doing a select for update where pk = ... for each row. Is there something similar to the "executeQuery" view method, that does a "select for update"? something like an "executeQueryAndLockAllRows()?"
I'm using PESSIMISTIC locking mode.
Thanks,
Ramiro

Hi
In our BC4J application I need to perform a "bulk update", that is, I need to iterate over all the rows of a View and set one attribute on each one. Tracing the SQL session, I note that the BC4J framework is doing a select for update where pk = ... for each row. Is there something similar to the "executeQuery" view method, that does a "select for update"? something like an "executeQueryAndLockAllRows()?"You can use batch-update features on an entity for update if your entity does not contain any refresh-on-update flags and any large data types (lobs). See help on Batch Update in the Tuning panel of an entity wizard/editor.
It will still execute select..for..update but the network roundtrip will occur in a batch rather than one roundtrip for every row leading to a much faster batch-update performance.
I'm using PESSIMISTIC locking mode.
Thanks,
Ramiro

Similar Messages

  • How can I ignore an app update and delete it from list?

    iPad 2 16GB 3G -- iOS 6.1.3 (not jailbreaked)
    SInce few weeks i have an update in App Store/Updates for the AVPlayerHD app. I never want to apply and install this update, because it is remove a feature from the app (Removed DTS audio decoding due to patent trouble). I need the DTS audio decoding, so i ignored this update, but how can i remove it from updates list without apply?

    You can't delete it off the list but you can ignore it.

  • How can i use Itunes to update more than one IPad with more than one owner

    How can i use Itunes to update more than one IPad with more than one owner?  I own an IPad and my wife owns an IPad.  I want to use my system to update both IPads.  We have different Apple Accounts and different applications.  Is this possible?

    Of course, that is too easy.  I am such a bonehead.

  • HT204053 I changed my Apple ID on all my devices and Apple services but iCloud still shows my old Apple ID. How can I get it to update?

    I changed my Apple ID on all my devices and  services but iCloud still shows my old Apple ID. How can I get it to update?

    I asked the Apple Tech support people and their advice worked for me, it's a setting on the iPad itself. see below.
    Follow the below instructions to sign in with your new account name.
    1) From the home screen, tap Settings
    2) Tap Store
    3) Tap Sign Out
    4) Tap Sign In
    5) Enter your current account name "xxxx" and your password  and tap OK.
    If you are still unable to change the sign in name on your iPad, please sign into your account on your computer and then sync the iPad so the changes will be updated.
    good luck

  • Hi, how can I disable iTunes from updating to v. 11?

    Hi, how can I disable iTunes from updating to v. 11?

    Olliev wrote:
    How do I disable itunes on my iphone 4s?
    iTunes app on the iPhone is for purchasing music.
    The fact the iPhone starts playing when connected to your car stereo is a function of your car bluetooth system.
    Consult your car dealer/bluetooth system manual.
    I have attempted to delete all music from the device (so there would be nothing to play), but 1 song remains in the iphone memory and I have been unable to delete that song.
    Connect the iPhone to computer and select it in iTunes.
    Click the Music tab and uncheck Sync music.
    Then click Apply at lower right of iTunes.

  • How can I undo a software update?

    How can I undo a software update?

    That indicates something went wrong. Make sure no anti-virus software or firewalls are running on your system. Make sure iTunes is up to date. Then, follow the directions here to force the phone into recovery mode & restore it:
    http://support.apple.com/kb/HT1808

  • How can I perform a bulk assignment to one Task

    Hi All,
    I would like to allow all resources to assign some of their time to a cProjects Task (XXXX Implementation plan). How can I perform a bulk assignment to this task, instead of performing individual assignments?
    Please help.
    Thanks,
    Srini

    Not quite sure I fully understand your question. When you go to the "roles" tab of a task you are allowed to assign multiple resources to a task either from the same role or different roles. The total work or effort for the task can be distributed accross the multiple assignments.

  • How can I get the last updated email address of the customer ??

    Dear All,
    Please let me know, How can I get the last updated email address of the customer ??
    Also, I am trying to read CDHDR table where OBJECTCLAS is ADRESSE, however what value should be passed into OBJECTID field, looks like it is ADRNR with a Suffix BP.
    Please confirm me what value should be passed into OBJECTID field.
    Thank you.
    Anitha

    Hi Anitha,
      Check if this is something that helps you:
    Change documents in BAS
    CDHDR
    address type 1
    objectclass = ADRESSE             
    objectid = addrgroup + addrnumber     (ADRC-ADDR_GROUP + ADDRNNUMBER) !!
                     'BP  000xxxxxx'
    private address (address type 2)
    objectclass = ADRESSE2
    objectid =  'BP  000xxxxxx000yyyyyyy'   
                            persnumber+adrnr private
    address type 3
    objectclass = ADRESSE3
    objectid =  'BP  000xxxxxx000zzzzzzz'
                              persnumber +comp.address
    The above details is from the link: http://wiki.sdn.sap.com/wiki/display/ERPLO/LO-MD-BP
    Regards,
    Swarna Munukoti

  • HT3500 How can change apple ID for updating of programs

    How can change apple ID for updating of programs?

    You need to delete them and then download them from the desired Apple ID.
    (85684)

  • How can I tell what Software Update Groups are members of Deployment Packages?

    I have a single SCCM 2012 SP1 CU4 server running on Windows Server 2012.
    I am trying to clean things up a little bit and I am curious:
    How can I tell which Software Update Groups use
    which Deployment Packages?  I don't see it on the Properties of either one.
    Thanks!

    Funny thing is that you can't see from the software update (in the software update group) in which deployment package(s) it exists. Your only options are manually comparing every single update (not really an option), or use PowerShell and do something
    like this:
    http://myitforum.com/myitforumwp/2014/05/12/matching-configmgr-software-updates-to-a-deployment-package-with-powershell/
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • How can I pick in bulk in one LPN and drop on the staging by sales order

    How can I pick in bulk in one LPN and drop on the staging by sales order
    I have 25 sales orders
    I need to pick these orders in bulk in one batch (Batch means load all the sales order without existing the scree)
    during drop I need to drop by sales order
    do you have a solution or similar solution for that

    How can I pick in bulk in one LPN and drop on the staging by sales order
    I have 25 sales orders
    I need to pick these orders in bulk in one batch (Batch means load all the sales order without existing the scree)
    to pick all bulk and independent tasks tog ether
    during drop I need to drop by sales order (I mean to collect all the line of the sale order)
    do you have a solution or similar solution for that

  • I have a situation where the administrator password is rejected when attempting a software update. I think this happened because of syncing a iPad to the iMac.  How can I reset the Software Update back to the administrator password?

    I have a situation where the administrator password is rejected when attempting a software update. I think this happened because of syncing an iPad to the iMac.  How can I reset the Software Update back to the administrator password?

    You can reset the password with the install disk.

  • How can reset password of bulk users in one time through AD or script?

    how can reset password of bulk users in one time through AD or script?

    Hello Mr. Lovely,
    Do you have ActiveDirectory Module which shipped with Windows Server 2008 R2? If you have it, you can complete this task very easily.
    #First, you need to import ActiveDirectory Module
    Import-Module ActiveDirectory
    #Second, generate a SecureString which contains the password.
    $securePwd = ConvertTo-SecureString -String "P@ssw0rd!" -Force -AsPlainText
    #Third, find the Active Directory users ,and use Set-ADAccountPassword for resetng the password.
    Get-ADUser -Filter {Name -like "Test*"} | Set-ADAccountPassword -NewPassword $securePwd
    Also, you can review following link for more details about the Active Directory cmdlets.
    Active Directory Cmdlets in Windows PowerShell
    http://technet.microsoft.com/en-us/library/ee617195.aspx
    Best Regards,
    Greg Gu
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • HT2404 How can I speed up the updates for my apps on my iphone 4 ?

    How can I speed up the updates for my apps on my iphone 4?  They take forever and/or a window says that the update will be available when I connect my iphone to itunes on my computer which doesn't help.

    I don't have virus protection on my iphone so this answer in not applicable

  • How can I reverse 5.1 update to a older verson?

    How can I reverse 5.1 update to an older revision so My text,bluetooth,and phone works again

    Same answer as before, nothing has changed:
    You cannot.
    Have you tried reset?
    Restore? to try and resolve your issues."

Maybe you are looking for

  • Using OCR to Create Searchable PDFs

    Hi, I'm converting about 30 bankers' boxes of paper into PDF. What I want to do is save each file as a PDF that is keyword-searchable. I DON'T want to convert everything to MS word. I'm new to this and started the job yesterday with ReadIris 11, but

  • How to show up in a google search

    I have a godaddy account that is mask forwarding to my .mac hosting. How can I make my site show up on a google search? Thanks!

  • Bridge does not keep the manual sort order

    I've tried everything I know but I cannot get Bridge to keep the manual sort order (iMac, 10.6, CS4). What is the file responsible for keeping the sort order? Perhaps removing it would help. This is really frustrating. It would be so important to kee

  • Two Errors with Build 9879

    Hello everybody.  Their are two error on my computer that my or may not be coming from this OS, but I couldn't find any other info on them. The first error happens when nothing is actively happening on my computer (ie no games, moves. browsing, or mu

  • Nervous - Spot Delivery Question

    Good morning everyone and Happy 4th! I purchased a 2015 Toyota Prius on Friday, July 2nd from a large high-volume Toyota dealership about an hour away. Before I made the actual trip up the dealer, I communicated through multiple emails negotiating pr