How to get info who is locking a specific row in the RDBMS 9i?
Hi,
could some one please helop me with this? I would like to know the Oracle user name of the user who is locking a specific row in my table. I can display all locking requests with the following SQL statements. What I could not igure out how to find the rownum that is being locked by others?
SELECT *
FROM v$lock lk, v$session s , DBA_OBJECTS ao, wf_users wu
WHERE lk.lmode > 1
AND s.username IS NOT NULL
AND lk.SID = s.SID
AND ao.OBJECT_ID(+) = lk.id1
AND s.username = wu.NAME(+)
AND ao.owner = USER
AND ao.object_name = 'BWF_IKTATASI_ADATLAPOK';
Thank you in advance,
Tamas Szecsy
I'm not sure what's happening with your app. I wrote on up to see if it could handle the CTRL-C. Seems to work fine. Do you have any other JMenuItems with the same accelerator?
import java.awt.event.*;
import javax.swing.*;
public class Copy extends JFrame {
public Copy() {
this.initMenuBar();
this.setSize(400, 300);
this.setVisible(true);
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
private void initMenuBar() {
JMenuBar menubar = new JMenuBar();
JMenu edit = new JMenu("Edit");
JMenuItem copy = new JMenuItem(new CopyAction("Copy"));
edit.setMnemonic(KeyEvent.VK_E);
copy.setMnemonic(KeyEvent.VK_C);
copy.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_C, InputEvent.CTRL_MASK));
edit.add(copy);
menubar.add(edit);
this.setJMenuBar(menubar);
public static void main(String[] args) {
new Copy();
private class CopyAction extends AbstractAction {
public CopyAction(String label) {
super(label);
public void actionPerformed(ActionEvent e) {
System.out.println("Action Performed.");
}
Similar Messages
-
How to get info from a layer which is applied with styles ?
How to get info from a layer ? such as ( apply style or not , which effect have applied on it etc..)
I really can't solve it , Who can hlep me.. By the way , I 'am using CS version.xtools/xlib/Styles.js has a set of functions for working with layer styles. I do not know if it works with CS. I wrote it several years ago for either CS or CS2. If this doesn't work, then nothing will. The script retrieves a layer's style by saving it to disk then parsing the file for the desired ActionDescriptor.
There is a function at the bottom of the file that tests the Styles.js API.
Styles.test = function() { var doc = app.activeDocument;
var layer0 = doc.artLayers[0];
var gdesc = Styles.getLayerStyleDescriptor(doc, layer0);
if (!gdesc) {
alert("There is no layer style associated with the layer");
return;
// this will set the layer style to another layer.
// var layer1 = doc.artLayers[1];
// Styles.setLayerStyleDescriptor(doc, layer1, gdesc);
if (!gdesc.hasKey(cTID('FrFX'))) { // look for a stroke effect
return;
var frfx = gdesc.getObjectValue(cTID('FrFX'));
if (!frfx.hasKey(cTID('Clr '))) { // look for the color
return;
var clr = frfx.getObjectValue(cTID('Clr '));
// we should really check that the objectType is RGBC
var r = clr.getDouble(cTID('Rd '));
var g = clr.getDouble(cTID('Grn '));
var b = clr.getDouble(cTID('Bl '));
if (r == 0 && g == 0xFF && b == 0xFF) {
return;
clr.putDouble(cTID('Rd '), 0);
clr.putDouble(cTID('Grn '), 0xFF);
clr.putDouble(cTID('Bl '), 0xFF);
frfx.putObject(cTID('Clr '), cTID('RGBC'), clr);
gdesc.putObject(cTID('FrFX'), cTID('FrFX'), frfx);
Styles.setLayerStyleDescriptor(doc, layer0, gdesc); -
The following error comes up when I try to install the updated Firefox:
"The operation can’t be completed because some items had to be skipped. For each item, choose File > Get Info, make sure “Locked” is deselected, and then check the Sharing & Permissions section. When you are sure the items are unlocked and not designated as Read Only or No Access, try again."
When I follow the instructions in the error message, it shows that my user name has read and write access. There are a couple other items that are read only. I tried to change this to read and write, but the Sharing and Permissions options are greyed out and will not let me change them. What is the work around for this? I would really like to install the new firefox.
Thanks.Hello,
Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
'''Note:''' You might want to print these steps or view them in another browser.
#Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
#After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
#Delete the Firefox installation folder, which is located in one of these locations, by default('''This will NOT delete profile info such as bookmarks and history'''):
#*'''Windows:'''
#**C:\Program Files\Mozilla Firefox
#**C:\Program Files (x86)\Mozilla Firefox
#*'''Mac:''' Delete Firefox from the Applications folder.
#*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
#Now, go ahead and reinstall Firefox:
##Double-click the downloaded installation file and go through the steps of the installation wizard.
##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
Please report back to see if this helped you!
Thank you. -
I have a new MacBook Air and don't know how to get info from my USB stick and get info from my SD card. Can anyone help, please?
Plug the stick and/or card into the appropriate slots on the side of your Air. Do you see icons for the devices appear on the desktop? Click into them to see what files are there.
Matt -
How to "Get Info" in the iTunes Store
In the usual part of the iTunes Store, you cannot "Get Info" about media, but there is another section where you can. First, find out the item's Genre or Category.
If it is Music, find out the Artist and Album.
If it is an Audiobook, find out the Author/Narrator.
If it is a Music Video, find out the Artist.
If it is a TV episode, find out the TV Show and the Season.
Go to the iTunes Store. Scroll to bottom. There are 4 columns. Under the 2nd column, Features, choose Browse. Choose the media type (Movie, Music, etc). Choose the Genre or Category. Next:
if Music:
Choose All for a Subgenre. Choose the Artist. Choose the Album. Right-click on the desired song, and choose "Get Info."
if Movie or App:
Right-Click the desired item, and choose "Get Info."
if Audiobook:
Choose the Author/Narrator. Right-Click the desired item, and choose "Get Info."
if Music Video:
Choose the Artist. Right-Click the desired item, and choose "Get Info."
if Podcast:
Choose All for a Subcategory. Right-Click the desired item, and choose "Get Info."
if TV show:
Choose the TV Show. Choose the Season. Right-Click the desired item, and choose "Get Info."One stated to "search cmd, right click, and run as admininstrator" but where is this?
In the search field in your Vista start menu, type cmd
Next, right-click on the cmd that comes up and select "Run as administrator". -
My itunes store won't open. Any suggestions on how to get this to work? I've already downloaded the newest version of itunes. I'm also not sure what Mac operating system I have..
To find the version of Mac OS X on your computer, all you have to do is click the Apple logo and then About this Mac. For more info, take a look at this doc -> Finding your OS X version and build information
Do you see an error when you try to open the iTunes Store on your Mac?
This Apple doc is a good place to start -> iTunes: Advanced iTunes Store troubleshooting -
My mini died. bought one used from a friend... all of my songs and books are on my iPhone, and I cant figure out how to get them onto this new computer. this is frustrating. the things i really want are purchases I've made from itunes store... help
!!!!!Hey kevyg3,
I was able to find an article that I believe will help you move your iTunes purchases from your iPhone over to your new computer:
iTunes Store: Transferring purchases from your iOS device or iPod to a computer
http://support.apple.com/kb/HT1848
Hope this helps,
David -
I recently purchased songs from itunes via my pc and I dont know how to get them onto my iphone? When I click the sync button it says I will lose all the music currently on my iphone.. Help
If you're syncing with a different iTunes library than the one you previously synced with, then there is no way around it. You're gonna loose the old data. The only way round it would be to make sure that all the music files on your iPhone is also in your iTunes library. If you still have access to the computer with the old library, you could copy the files on to an external harddrive, and then import them into your new iTunes library.
If it is in fact the same library, then the music currently on your iphone, is also in your itunes library. Just make sure that the artists/albums/playlists, or whatever you sync contains these tracks, that you allready have on your phone and don't want deleted. What i do is, i create a playlist specifically for my iPhone, and i set it up to only sync with this playlist. Whenever i hear a track from my iTunes library or buy a new track that i want on my phone, i just drag it to this playlist and next time i synchronize, it's there without deleting anything else. -
Photoshop elements 10 will not migrate to my new macbook pro/retina display. There is no CD/DVD player on this machine. Any suggestions on how to get Elements onto my machine? Yes, I have the disk(s). Am I going to have to buy an external CD/DVD player to load this one program:(
I have ordered a USB3 BluRay/DVD/CD player/burner and will use that both with my iMac ( in which the Superdrive seems to be failing ) and the MBPro Retina I just bought .
-
How do get my mail on my ipad 3 to set the same email rules as is on my imac ???
Setting up and troubleshooting Mail
http://www.apple.com/support/ipad/assistant/mail/
iPad Mail
http://www.apple.com/support/ipad/mail/
Cheers, Tom -
My ipod touch 4 gen is in recovery mode and i dont know how to get out of it,i tried everything like hold the home and top button at the same time. All it did what g to the apple logo and went back to recovery mode any help?
Once the Device is asking to be Restored with iTunes... it is too late to save anything... and you must continue with the Recovery...
kevinpowell1 wrote:
how can i get it out of recovery mode?
Make sure you have the Current Version of iTunes Installed on your computer
iTunes free download from www.itunes.com/download
Then See Here > http://support.apple.com/kb/HT1808
You may need to try this More than Once... Be sure to Follow ALL the Steps...
Take your time... Pay particular attention to Steps 3 and 4.
Some users have reported as many as 8 or 9 attempts were necessary before success.
After you have Recovered your Device...
Re-Sync your Content or Restore from the most recent Backup...
Restore from Backup > http://support.apple.com/kb/ht1766
If the issue persists...
Then a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is the Next Step...
Be sure to make an appointment first... -
I have lost my "Basic" panel in the Develop module and can't figure out how to get it back. My right panel goes from the Histogram straight to the Tone Curve panel. My Basic panel should be below the Histogram. Any ideas how to get it back. I have even uninstalled my lightroom and reinstalled it with same issue. Help!!!
Right click on or near one of the other headers and a pop-up will appear and you will be able to select the Basic Panel for viewing.
-
Sophos detected 3 threats on my iMac (Maverick OSX 10.9.5) but clean up failed. Any idea how i get rid of them please? 1 is Malware the other 2 Trojans. Thanks
Thanks for your interest CSound & sorry I couldn't get back sooner. These are the full details from Quarantine Manager:
Date Threat Filename Action Available
2 Feb 2015 Troj/Zbot-Goy notification - the_royal_ban Clean up failed
2 Feb 2015 Troj/Agent -AIRO sale 2014-12-08_8704... Clean up failed
2 Feb 2015 Mal/Phish-A e document..html Clean up failed
I did have a look at a 'manual' for sophos but couldn't make sense of how to go about trying to rid something if the automatic detection / clean up process didn't work.
Any ideas?
Thanks -
How to identify one specific row in the table STPO?
Hi!
How can I identify one specific row in the table STOP? As an input for my ABAP function I have MatNr, Plant, Alternative, BomUsage and Bom Position (0010, 0020...). With these values I can ask the table MAST to get the STLNR. But how can I get all needed values to specify an entry in the table STPO then?
Thanks,
KonradHere is a actual working code that we used here.
*-- get the bom details
li_mast-mandt = sy-mandt.
li_mast-matnr = material.
li_mast-werks = '6000'.
li_mast-stlan = '1'.
call function 'GET_MAST'
exporting
all = 'X'
no_buffer = 'X'
set = 'X'
tables
wa = li_mast
exceptions
call_invalid = 1
end_of_table = 2
get_without_set = 3
key_incomplete = 4
key_invalid = 5
no_record_found = 6
others = 7.
if sy-subrc <> 0.
clear: kdf_material,
kdf_material_desc.
exit.
endif.
loop at li_mast.
*-- get the valid headers
move-corresponding li_mast to li_stko.
li_stko-stlty = 'M'.
call function 'GET_STKO'
exporting
all = 'X'
datub = l_valid_date
datuv = l_valid_date
del = ' '
no_buffer = 'X'
set = 'X'
valid = 'X'
tables
wa = li_stko
exceptions
call_invalid = 1
end_of_table = 2
get_without_set = 3
key_incomplete = 4
key_invalid = 5
no_record_found = 6
others = 7.
if sy-subrc <> 0.
continue.
endif.
loop at li_stko.
move-corresponding li_stko to li_stpo.
call function 'GET_STPO'
exporting
all = 'X'
alter = li_stko-stlal
datub = l_valid_date
datuv = l_valid_date
no_buffer = 'X'
set = 'X'
valid = 'X'
* VIEWNAME =
tables
add_wa = li_cszalt
wa = li_stpo
exceptions
call_invalid = 1
end_of_table = 2
get_without_set = 3
key_incomplete = 4
key_invalid = 5
no_record_found = 6
viewname_invalid = 7
others = 8.
if sy-subrc <> 0.
continue.
else.
exit.
endif.
endloop.
if not li_stpo[] is initial.
exit.
endif.
endloop. -
How can I assign a ringtone to a specific contact with the iphone4 ios7
How can I assign a ringtone to a specific contact with the iphone4 ios7?
From the home screen, tap on Contacts, tap on the contact you'd like to edit.
In the top right, tap the , scroll down, for Ringtone, tap on Default, select the desired ringtone.
Maybe you are looking for
-
Lightroom 5.7 Lens Correction
i have lightroom 5.7 but the Lens Correction area is not showing in my develop module - does it have to be enabled somehow?
-
When I begin to attempt to download the windows support software in boot camp, it says the windows support software is unavailable. Is there any other place I can download it for a Macbook Pro 5,5 intel core 2 duo with snow leopard without the origin
-
HT1904 block using credit card
I don't want to use my credit card how do I block that information out from this user using my card ?
-
What version of Firefox should I download? (Mac OS 10.5.8)
There are no system requirements listed. Last time, I updated to a version that is not compatible with my OS. Before I do that again, I would like to know if it will work. Thanks. J
-
My wife and I both purchase Galaxy S III's. I can text her a photo with no problems, but when she tries to text the same pic, or one of even smaller size, she often receives an error message that the file is too large (automatic compression doesn't