How to find this lock/issue

I've got a java database procedure that updates a bunch of rows. It runs really well most of the time but then gets completely stuck other times. It just seems to be hanging, so I can only assume that it is stuck on a database lock. When I look in enterprise manager I don't see any user locks. When I query v$lock with something like the following
select * from v$lock, dba_objects
where id1=object_id
it doesn't show that there is a lock on any of the related objects (as far as I can tell). Could someone please help me diagnose this better?
Thanks,
Dan

yes I meant to say I had for update nowait. That part seems to work when I try to run code that would update a currently locked set of records, it does return immediately. When I explicitly lock it I see it in the v$lock view. But when this hangs I see nothing.
I'm going to and switch this java procedure to run client side and perhaps I can get some better debug messages.

Similar Messages

  • How to find out  Locks on the database objects

    how to find out Locks on the database objects

    The following notes should be helpful:
    Note: 200590.1 - bde_session_locks.sql - Locks for given Session ID
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=200590.1
    Note: 1039273.6 - SCRIPT: VIEWING LOCKS ON OBJECTS HELD BY SPECIFIC USER
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=1039273.6
    You can also search Metalink, there are many notes/scripts published there which would be also helpful.

  • I cant find my purchased ringtones on my itunes account? Anybody know how to find this? It's not popping up under Music in my purchased history. It is soooo frustrating because they make it so hard to find anything ringtone related on the itunes store!!!

    I cant find my purchased ringtones on my itunes account? Anybody know how to find this? It's not popping up under Music in my purchased history. It is soooo frustrating because they make it so hard to find anything ringtone related on the itunes store!!!

    They will be wherever you put them.
    You only get one download.

  • How to find the LOCKED ROWS in a table?

    Not locked objects, but for a table the locked rows.

    Check below links :
    http://www.jlcomp.demon.co.uk/faq/locked_rows.html
    How to find the locked row.
    who are waiting for same record?
    HTH
    Girish Sharma

  • HT4061 Need to find MEID # on my ipad 2 (non-cellular) to use Verizon's wi-fi while on vacation.Can anyone explain to me how to find this number?   Thanks in advance .  Scott

    Need to find MEID # on my ipad 2 (non-cellular) to use Verizon's wi-fi while on vacation.Can anyone explain to me how to find this number?   Thanks in advance .  Scott

    iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number
    http://support.apple.com/kb/HT4061
     Cheers, Tom

  • My iPod was stolen and insurance company want it's serial number before replacing it. They have advised iTunes stores this information as a device connected to iTunes. Can anyone advise how I find this information?

    IiPod serial number stored in iTunes, can anyone advise how I find this information for my insurance company?

    Juliebathgate wrote:
    IiPod serial number stored in iTunes, can anyone advise how I find this information for my insurance company?
    Hi,
    If you have made a backup at any time of your iPod in iTunes, it should be in Preferences, under Devices tab.
    In iTunes
    Open iTunes Preferences.
    From the Preferences window click on the Devices.
    Once you are there you should see a list under "Device Backups:".
    Hover your mouse pointer to the device and in a little while it should display the serial number of the device (with an iPhone it will also display a phone number used with it and the IMEI code and with an iPad it will display the IMEI in addition to the serial number).
    A pircture of where it can be found: http://km.support.apple.com/library/APPLE/APPLECARE_ALLGEOS/HT4946/en_US/HT4946- devices-iphone-001-en.png

  • TS3694 how to find this solution?

    how i find this solution in iphone 3g .. i need help to recover this.

    The first step in finding a solution is to state the problem.

  • How to find this link

    Library -> Logistics -> Logistics Execution (LE) -> Transport (LE-TRA) -> Shipment Cost Processing -> Shipment Cost Processing with Service Providers -> Shipment Costs as Delivery Costs).
    How to find this above link.
    Please help me?
    How to connect to sap library
    With regards
    lakki

    Hi Lakki,
    Please go through this link it will help you,
    http://help.sap.com/saphelp_47x200/helpdata/en/93/74413b546011d1a7020000e829fd11/frameset.htm
    I hope it will help you,
    Regards,
    Murali.

  • How to find this Search object relavant to which root object?

    Hi All,
      how to find this Search object relavant to which root object?
      As I am having search object 'BTQuery1O', so which is root object for this?
      how to find this?

    Hi Carl,
               Search object BTQuery1O and the attribute structure associated with it is CRMST_QUERY1O_BTIL,
               even if we enhance this structure with zfield, as it is search object, then it should queried on some main database
               table, so it is 'CRMD_ORDERADM_H', here we need to add our zfield first to it, so that after added to search object then
               only search query work, so that's the reason I am asking is it possible to find 'CRMD_ORDERADM_H' relevant from
               GENIL_MODEL_BROWSER, or any way also?

  • HT1551 Want to play tv shows purchased on iPad on Apple tv. When I touch icon for apple tv and choose "apple tv" it asks for an apple tv password. We have never set up any password and can't get past this screen. Does anyone know how to find this password

    Want to play tv shows purchased on iPad on Apple tv. When I touch icon for apple tv and choose "apple tv" it asks for an apple tv password. We have never set up any password and can't get past this screen. Does anyone know how to find this password?

    You can remove the Airplay password from the Settings menu on your AppleTV.

  • I need a domain key for the icrop app. Any ideas on how to find this?

    I need a domain key for the icrop app. Any ideas on how to find this?

    Can you open the Preview program without loading a file, like by itself?
    If it doesn't load then I suspect a corrupt Preview preference file.
    Deleting the System Preference or other .plist file
    Can you open other files with Preview, like jpg's and images?
    How about other PDFs? or is it just that one you have downloaded?
    Run through this list of fixes
    Step by Step to fix your Mac

  • How to find this OSS note ?

    Hi,
    i have an issue in Tcode MR8M and i find the OSS note N° 182625 that propose a solution for it, but this solution concern previous releases (4.0B and 4.5B).
    our release is 5.0 so is it possible to excute this note in our system and what is the impact of that ?
    How to find the note concerning my release ?
    Please advise
    Regards.

    Hi,
    It's not possible to implement the note which refers to previous version of SAP; the system will reject this update. You can look for OSS by entering the error message number you are receiving and trying to see if there is relevant info.
    Regards,
    Eli

  • How to resolve Oracle lock issue

    Hi All,
    What is Oracle lock issue in BW and how to resolve it.
    Regards,
    Ravi

    Hi Ravi,
    The object lock issues that we sometimes encounter in SAP BW production support role.
    Lets take the below example where the InfoObject(0material) load has failed and the load monitor (T-Code: RSMO) looks like this.
    Go through the link below
    http://proradian.com/blog/2008/07/sap-bw-production-support-object-lock-issues/
    Regards,
    Marasa.

  • Trying to figure out how to find this error?

    Hi,
    I have a project that keeps throwing this error, but I can't see, to figure out how to find it:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    It's a very large project. How can I search for this?
    thanks,
    Dave

    ok, so it showed me a few things... THANKS, but none of which were exactly a problem:
    at ALeCard_CBP_0101_fla::MainTimeline/frame23()[ALeCard_CBP_0101_fla.MainTimeline::frame23:4 3]
    at flash.display::MovieClip/gotoAndPlay()
    at ALeCard_CBP_0101_fla::MainTimeline/fl_ClickToGoToScene2523()[ALeCard_CBP_0101_fla.MainTim eline::frame25:302]
    so the top one is just a part of a button
    downloadButton.buttonMode = true;
    which is fine.
    then, the other one points to a part of a function that I've used in a dozen other places and it works fine:
    MovieClip(this.root).gotoAndPlay(23);
    something I did find-and I still can't figure out why-is that download button was causing issues. I have NO idea why since it's an exact duplicate from another file.
    but this is cool to have this information-thanks!
    Dave

  • Facetime says connecting after you answer the call but doesn't actually connect and both iphone 5s were quick reset-ted and facetime was turnt on and off, any reasons like why or how and how to fix this concerning issue

    facetime says connecting after you answer the call but doesn't actually connect and both iphone 5s were quick reset-ted and facetime was turnt on and off, any reasons like why or how and how to fix this concerning issue

    Apple has released a document which is reported to address the recent FaceTime issue.
    http://support.apple.com/kb/TS5419

Maybe you are looking for