DB locking records accessed by other user/s.

Hi Experts,
Say it poor db design or whatever.. multiple users access same row to update and my application throws error that the rows are locked by some other user.
At this point of time, I can't change the design entirely but can create some additional db procedures/tables, if those can solve my problem.
Regards

What happens if multiple user access the same excel file? How do you solve it?
By creating more excel files and giving each one its own copy? How do you merge them all back once they finished editing?
And yes your problem points to poor application design, but not nessecarily on database level.
Edited by: Sven W. on Apr 7, 2011 4:29 PM

Similar Messages

  • Answer access to other user

    Hi All,
    How to give Answer access to other users in presentation server.Plz help.
    Thanks,
    Sonal

    Hello,
    Click on setting > Administration > Manage Privileges > Access > Access to Answers > click on everyone link you are add the user or groups from there
    Hope its helpful to you.
    Thanks

  • How to access unread mails of all users in Exchange server without having Passwords and without giving mailbox access to other user.

    Hi all,
       I am using Exchange server 2013, my task is to create
    Service , that
    need's to  monitor continuously for new mails of all Mailboxes in
    my server. if any user got new mail i need to get that Mail Subject, Mail Body, Sender Email Address [From emailId] .  
    Limitation
    : I don't have Passwords of mailboxes , so i gave all mailbox access permission  to one user , then i completed this   service using below code.
     But now, Client
    not willing to give Mailbox Permissions to one user because of security problems.
    How can i do this without passwords and without giving permissions to other user ?
    i don't want all mailbox access , i just need only
    access Mail Subject , Body and Sender mail address .
    How can i achieve
    this ?
    Process i follow
    => I created new user in server , and then i gave full permissions of all Mailboxes to newly created user[ex: james] in database level.
         i use below command for giving permissions in database level.
    Get-MailboxDatabase -Identity <Database Name> | Add-ADPermission -User <User> -AccessRights GenericAll
     => using below code i am searching unread mails of all user Mailboxes and then getting Subject, body and Sender Email            address . here i am have list of users,
    ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2013);
    service.Credentials = new WebCredentials("[email protected]", "password");
    service.AutodiscoverUrl("[email protected]");  foreach (Object obj in usersList) // here i have Mailbox users list in usersList
                 { var userMailbox = new Mailbox(obj.user);
    var folderId = new FolderId(WellKnownFolderName.Inbox, userMailbox);
    SearchFilter.IsEqualTo filter1 = new SearchFilter.IsEqualTo(EmailMessageSchema.IsRead, false);
    var itemView = new ItemView(50);
    var userItems = service.FindItems(folderId, filter1, itemView);
    foreach (var item in userItems)
    item.Load();
    var senderEmail = ((EmailMessage)item).From;
    var subject = item.Subject;
    var body = item.Body;

    You would need to check that possibilities via WebServices but suggest you to post this in Development forum to get help from programmers....
    http://social.technet.microsoft.com/Forums/office/en-US/home?forum=exchangesvrdevelopment
    Blog |
    Get Your Exchange Powershell Tip of the Day from here

  • Unexpected Access to Other Users' Accounts

    I just discovered tonight that I when I search for files, files in other user's accounts on this computer show up. I can open them too, but throwing them away requires that user's password. Searching the internet to see if this is a normal feature, I find questions about how to access other user's files and comments that even administrators cannot do this. Is this normal or abnormal behavior? Fast user switching is not enabled. Does anyone know where solid information can be found about the "barriers" between users' accounts? Thanks.

    Ah, thanks, BDAqua. I see that at the user level, each user folder is set to read only. So if the users aren't saving their files in their enclosed "no access" folders, but at their base user level, they are read only. If we set each user folder to "no access", then others would not be able to access the shared folder either. Is there a way to set access priviledges for users on this computer so that they're the same for users on this network? Users on the network only see the "drop box" when they open a user folder.

  • How to restrict External Drive access in other user accounts

    I just purchased an external HD and moved my iTunes and iPhoto libraries to it. No problem there.
    My Mac mini has four user accounts and I'd like to set the permissions on the external HD so that only I can write to it from my account. I'm attempting to do this through 'Get Info' on the external drive, then setting Sharing & Permissions to 'Read and Write' for myself and 'Read only' for the other three accounts. But it seems that when I set one of these it gets set for all four accounts.
    Am I doing something wrong trying to set the permissions this way, or, is there a better way to do it?
    Thanks,
    Andy

    I didn't realize you could set the privileges for other user accounts in the 'Get Info' box from my account. I added the names of the other three accounts and set them to 'Read Only' but I am still able to delete files from the drive when I'm logged into those accounts.
    What I'm trying to do is set it up so that either (1) they can't accidentally delete files from the external disk or (2) they can't even see the disk at all from those accounts. I would have thought that 'Read Only' would not allow them to delete files, but with the privilege set to 'Read Only' I'm still able to delete files from the disk.
    Maybe I'm missing a step? Or maybe there's another way to do it?
    Thanks,
    Andy

  • Access to other users' files

    I just set up a user account for my daughter, and I went to 'browse' to her files in finder to find that I am not allowed to view them!!!
    I don't remember saying to protect these files.
    How do I change access permission.
    I eventually want to set up another account for my wife, but I want her to have access to my documents and vice versa. For example, if she runs Aperture, I want to be able to add her photos to a common Aperture library.
    Any help would be greatly appreciated.
    -Mark

    I found the answer on another forum, and I thought I'd share it with you.
    Right, I am assuming you are an admin on the Mac. Go to the Users folder from Macintosh HD. Select your daughter's home directory. Then you need to select it and right-click (or Control click) and go to Get Info. At the bottom of the window there is a padlock. Click on it. A message box will appear, and you will need to enter your password. Once it is unlocked you can click on the little "+".
    Then just add yourself from the list of users that comes up and select which ever option in the right-hand column is most appropriate.
    Robert
    p.s. It will be the same when you set up your wife's but you will need to chose her to access your home folder.
    This seemed to work just fine. I had Aperture on my wife's account use my library. We can both see and modify each other's files. And if there's a folder I don't want her messing with, I can lock her out (read only).
    -Mark

  • Access database access by other user

    Dear All,
    I created one schema 'xyz' in a database and creating another new user 'pqr'.
    Now I wanted to access of XYZ schema by user 'xyz'. I have given the rights to access of schema 'xyz' to 'pqr'
    but when I open any stored procedure of 'xyz' in Pqr by schema name, it is comes in invalid state because database objects which are used in that procedure are not maintain with schema name.
    Is anything there, so that I can see all SPs of XYZ in PQR with valid state.
    thanks and regards,
    Prashant

    Now I wanted to access of XYZ schema by user 'xyz'. Did you mean 'pqr' instead of 'xyz' here?
    but when I open any stored procedure of 'xyz' in Pqr by schema nameWhere?
    >
    Is anything there, so that I can see all SPs of XYZ in PQR with valid state.
    Not sure if I understand your problem. Are you referring to recompilation of stored procedures of XYZ schema while logged in as PQR?

  • Console access with other user

    hi,
    I have installed SunOne directory server and able to access it with SunOne server console as directory manager. I want to give read only access to one another user say user1 who could use the console and see the contents (tree structure and it's attribute) of the directory server.
    I tried it by creating one new user (user1) and set ACI for him but when i am trying to login into directory server through the console, it is able to login but not able to see the tree structure of the directory server.
    Can anyone tell me where i am wrong and what is the right way to do it? or if the user other than directory manager is not able to use console? though i am able to see the tree structure when i first login with directry manager and then i switch to the new user.
    thx in advance.
    ASN

    Great ! Do you have it working with WLS 8.1 SP4 ?

  • Giving access to other users

    every time i make a user and i log in to it, i can't edit any file on the terminal, it says i don't have permission
    how can i change this?

    If you make your users using "useradd" make sure you have the "-m" flag to it, in order to make it create your homedirectory..
    If you don't use useradd, make sure you create the home directory and then chown it to your new user.
    7/M

  • LDAP/OID Users granting other users access issue

    Hi,
    I have created 4 users (User1, User2, User3, User4) and 2 groups (Group1 and Group2)
    User1 is the Group1 owner and User2 is a member of Group1
    User3 is the Group2 owner and User4 is a member of Group2
    I have made both groups private.
    I have given User2 manage privilege on a portal page and have logged in as User2 and edited the page.
    When User2 tries to Grant access to the page, they can see all the users in the OID ie User1, User3, User4, Portal etc
    My thoughts were that User2 would only be able to grant access to other users in his group(s).
    Basically, I want to be able to control which users a user can grant access to on a page. Is this possible?
    Thanks
    Joel.

    What about SSL or LDAPS !
    Can't seem to find any java examples which would support services of type:
    ldapbind -U 1,2 for java API !

  • How we can lock No more than one user can use the table  at a single time

    Hi Abapers,
    0)  which  function modules to lock & unlock a table.
    1) When you execute the program, we can check if there is any lock on this table. If yes, the user should be able to only view the table contents and not modify.
    2) If there is no lock, then lock the table and go into change mode.
    3) On exiting from the program, unlock the table using the function module.
    4) more than one user can't modify the table just display.
    Note: If there is any lock, display message saying table is locked.
    Plz help me for this requirement.
    Thanks
    Nani

    Hello Nani
    Have a look at the lock object EMMARAE (<i>Lock MARA and MARM/MAKT exclusively</i>) in transaction SE11.
    Inspect the F1 help for field <b>Lock mode</b>:
    DE ENQMODE
    Short Text
         Lock mode
    Definition
         Defines how to synchronize table record access by several users.
    The following modes exist:
         Exclusive lock
             The locked data can be read or processed by one user only. A request
             for another exclusive lock or for a shared lock is rejected.
         Shared lock
             Several users can read the same data at the same time, but as soon
             as a user edits the data, a second user can no longer access this
             data. Requests for further shared locks are accepted, even if they
             are issued by different users, but exclusive locks are rejected.
         Exclusive but not cumulative lock
             Exclusive locks can be requested by the same transaction more than
             once and handled successively, but an exclusive but not cumulative
             lock can only be requested once by a given transaction. All other
             lock requests are rejected.
    If you want to lock a standard table search whether the table is used in lock objects (<i>Where-Used-List</i>). If it is a customer table you have to create your own lock object (including two function modules: one for enqueuing and the other for dequeuing).
    The lock modules can be found in menu <b>GoTo -> Lock Modules</b>.
    Given these lock modules the logic should be quite clear after starting the program:
    1. Request lock -> if successful, continue in Change mode; -> if failed, continue in Display mode
    2. Before leaving the report remove lock (note: no problem if no lock has been set in the beginning).
    Regards
      Uwe

  • Chmod -R 700 on home directory doesn't restrict other users

    Hi All,
    I have several users sharing a mac. I wanted to secure my home directory so I opened a terminal and typed:
    cd /users
    chmod -R 700 alandye
    a ls -l confirmed permissions recursively changed for my home directory and subsidiary directories and files had been set to og-rwx.
    Then, I logged in as a different user (tknoble) , and tried to access the directory (alandye)through the finder that I had just restricted permissions on, and viola, I could read any file in there.
    This doesn't happen on Unix or Linux, why is it happening here? I tried restricting account tknoble to non-administrative, but got the same problem.
    Net/net, finder seems to be ignoring the posix file permissions.
    Can anyone explain why this is happening?
    thanks,
    Alan

    ... Still, the ACL issue and the open default permissions including the default umask on the Mac has me perplexed. I've used ACL's for years as a system manager on mainframes and other secure enterprise unix platforms, generally through a central administrative console like RACF or ACF2 on the mainframe. It identifies all ACL's on the system and allows you to administer them centrally. The idea that my mac has system generated ACL's that are only accessible through chmod on a file by file basis and are inherently set with open permissions seems like a bad security setup.
    First, the default permissions and umask values have been typical of Unix systems since I started using them back in '85. And even in the Family situation, allowing family members the ability to share information is not uncommon, and can be frustrating to the family if everything is totally locked up.
    Plus your complaints about ACLs, it just a side issue, as the /User/username folder should have only had an ACL that prevented accidental deletion. Your real problem was cached Finder information. So this ACL discussion is just a tangential issue.
    Second, a Mac is a mass market consumer personal computer, with a strong leaning towards 1 person being the owner and user of that computer. It is not typically sold as a Mainframe replacement. Having tightly locked down, no access default permissions and umask just makes life extremely difficult for the mass market consumer.
    Applying Mainframe rules to a Mac is only going to frustrate you.
    As for having an ACL admin tool besides chmod, for the most part consumers are not aware of ACLs, they are used sparingly on the Mac, and as such it is not something Apple has felt a need to invest in. Maybe there is a 3rd party utility that will provide this service for you.
    While investigating this I did discover a similar problem with a RAID array I have attached with similar file permission problems. chmod -R 700 on directories does set the permission bits correctly, but again, finder bypasses them and allows access for other users, even after a reboot. Apparently, according to this http://hints.macworld.com/article.php?story=20020418091450891 the externally attached drives ignore ownership by default.
    Again, the Mac is a mass market consumer item. Just about every external drive on a Mac is a detachable device, which can be moved around to other Macs, etc... (especially USB thumb drives, SD cards, etc...). Having these devices default to strict security would again frustrate the mass consumer Mac user, when all they want to do is get their pictures off of the SD card, or move files between 2 computers, etc...
    My point is that the defaults Apple has selected are targeted to the mass consumer Mac user. Not the data center mainframe user.
    I would encourage you to give Apple feedback on your experiences
    <http://www.apple.com/feedback/macosx.html>
    or
    BugReporter
    <http://bugreporter.apple.com>
    Free ADC (Apple Developer Connection) account needed for BugReporter.
    Anyone can get a free account at:
    <http://developer.apple.com/programs/register/>

  • Grant access to new user

    I have created a database as 'system' and try to give access for other users. I created a new user with 'create user identified by passwd' and made 'grant connect to user' and 'grant select, insert, update to table'.
    But after that the new user can't select the tables, error is 942, Table or view not found. Same in sqlplus as with jdbc.

    Shouldn't you type:
    GRANT select, insert, update to 'user'
    instead of to table like you did.

  • Can the history on my internet and downloads  on my account be accessed by other accounts on my laptop?

    Can my history be accessed by other users on my laptop?

    thebunnys wrote:
    firstly if i dont use private browing will clicking delete history from the history tab clear it completely?
    yes. as long as you dump "current history, cookies, download history, HTML5's persistent storage, and flash objects, etc... " (sorry Tim Snoots, it was easier to copy/paste the same info then type it again )

  • User1 locking other user (STS Locking Issue SAP IP)

    (STS Locking Issue SAP IP)
    User1 Is locking up other functional org layouts that he does not even have access to it.User of these layouts user2 gets message every time tries to allocate data that the Info provider is locked by user1 .
    even though user1 does not have access to orgs that user 2 has.
    How do i need to resolve this issue?

    Hello,
    if user1 locks all records for a second attribute (besides org) then this will also result in a lock of all records even though the org is distictive. Try to have a look in the lock overview of rsplan and possibly repost the lock arguments.
    Hope that helps!
    Cheers,
    Yann

Maybe you are looking for

  • I can see scan (interlace) lines on my screen! and home dock flicker!

    Hi I have noticed looking at my iphone display i'm getting horizontal scan lines when I move my eyes from top to bottom of the display there very faint but annoying and seem to happen more on greys. I have noticed on full bright screen the gray band

  • Expdp with network_link and different character sets for source and target?

    DB versions 10.2 and 10.1 Is there any limitation for implementing expdp with network_link but target and source have different character sets? I tried with many combinations, but only had success when target and source have the same character sets.

  • Need Query to that generate count of rows of all tables

    Hi i need a query which gives the result of no.of rows in talbe and coresponding table name. And then i need to compare the same with other DB schema Thanks in advance

  • Problem with userdefined combobox selection

    Hi guys, Have an "AutoSearchComboBox" as follows for searching the combolist fast.Have some problems with the selection in the AutoSearchComboBox. *public class AutoSearchComboBox extends JComboBox {* private static final long serialVersionUID = 1L;

  • Funny behavior with Item Editors

    I have a DataGrid which has a column with CheckBoxes (item editors), initially they are all unselected (suppose there are 5 rows), if i click on the 5 of them quickly to change them to selected then something funny happens, some of them change to sel