How to see changes in database made by other users

If few users are connected to one database what should be done that all users could see changes (updates, inserts) made by one of them?
I have set conn.setTransactionIsolation(Connection.TRANSACTION_READ_COMMITTED);
and statement = DatabaseConnection.conn.createStatement
(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY);
but phrase dmd.othersUpdatesAreVisible(ResultSet.TYPE_SCROLL_SENSITIVE) returns false.
I will be grateful for any help

I was thinking about it, but the possibility of of
refreshing data without users beinig involved and
only when it is needed Something of a contradiction. If the user is not involved then you don't know if the information is needed or surplus to requirements.
seems more elegant to meOn the contrary - it's an architectural kludge. Solutions of this type are fragile. This may be acceptable in return for an improved user experience, but you need to weigh this particular improvement against possible degradation elsewhere as a result of it.
Databases are designed to be queried. You're trying to have the database notify you. Given this you will have to trade some quality in return for the feature you're after.
Note also that transactionality is pretty much about avoiding the scenario (views on incomplete or conflicting transactions) that you're seeking. Given how much effort goes into avoiding this are you absolutely sure you've thought through the possible consequences of it? What about transactions that get rolled back and thus (effectively) never occur, for example - should your users be able to see these?
So, your trade-offs are:
Polling - Pro: gives you the behaviour you ask for. Con: Fragile, may cause performance problems, possibly unwise for business reasons. Have you performed usability testing (http://useit.com/) to ensure your users actually need this?
Manual updates - Pro: reliable, performant, ACID. Con: Not the dynamic behaviour you ask for.
There are two other possibilities which have not been discussed. I mention them for the sake of completeness, but I don't recommend them.
Database Notification - Pro: as manual. Con: not a portable solution; if possible at all you will need to take advantage of database specific features such as triggers and Java stored procedures. Adds considerable complexity to the database layer and thus requires alert and informed DBAs (worth their weight in gold).
Application Notification - Pro: portable to some extent. Con: agnostic about updates occurring outside your application. Requires a solid architectural base to be robust.
(edit: after re-reading the OP, I'm not sure if he does or does not want to see incomplete transactions; disregard those points if he doesn't.)

Similar Messages

  • How to roll back changes made by other user in nwdi?

    hi all
    my doubt is.
    if there are errors in the WD NWDI project (cause developer before me had deleted/ added some of the code which is causing those errors).
    how to  roll back the code changes which were made by other user.
    i think through sync option but  when we sync to a earlier date we cant check out the code to make changes.
    help me.

    thanks rohit.
    but if there are changes in the context, i mean if one more attribute is created and it is been used a UI element.
    then the above process works.
    My doubt is.
        src folder(configuration,packages,mimes)
    Will these file contain all the code including  the context attributes and the mapping informatin and every thing else.
    (except Libs)???????
    can you plz tell me where the context attributes and mapping informantion and source code and model information are stored (in which folder).
    thanks in advance

  • How to see when and who made changes in some table???

    How to see when and who made changes in some table?
    Some makes me problems and I want to see who are the usernames.
    Thanks

    Nikoline wrote:
    How to see when and who made changes in some table?
    Some makes me problems and I want to see who are the usernames.
    ThanksEither you need to implement Oracle Audit, or use Logminer Utility to read archived redo log files

  • How to see changes in DB at another comp?

    When starting the same appliction on several comps I don't see changes in tables made by the same user on another comp unless I restart the application. F5 doesn't help. I see changes only if I make changes myself. As I understand Commit-operation makes me see changes made by other users. What can I do? I can make Commit every time I choose the row. But it makes the app slowly and sometimes I don't need Commit.
    Studio Edition Version 11.1.2.4.0

    Hi user,
    I see changes only if I make changes myself. As I understand Commit-operation makes me see changes made by other users.
    yes. if you commit then only changes made unless it dont made.
    What can I do?
    you should commit.
    I can make Commit every time I choose the row.
    no need to choose the row. just hit commit. Transaction Control Lanaguage 1.Commit. 2.Rollback I hope you about it.
    well come to ADF Commit/Rollback is for Application Module (i.e) entire transaction. not for any single row.
    But it makes the app slowly and sometimes I don't need Commit.
    here. what you mean slowly? if you dont commit nothing will be went to the db. then how others check it out the your changes.
    better you can leave your usecase. get into deeper.
    thanks.

  • How can I change the database & schema used by an Application?

    Hi community,
    I am very new on Essbase and I need help to find out how can I change the database connection (and schema) used by the database of an Application. The figure is that I need to point this database to a QA environment (currently it points to DEV).
    If I do a right click over the properties of the database, I can see the following tabs: [ General ][ Dimensions ][ Statistics ][ Modifications ][ Compression ]. However, there is no option to change the database connection.
    Is there a way to do this?
    Thanks in advance for any help! Cheers!

    Are you trying to change a database connection of Planning application?
    Essbase application do not have a relational connection.
    Regards
    Celvin
    http://www.orahyplabs.com

  • How to check changes in a HU done by users.

    Hi Guys
    How to check changes in a HU done by users.
    Thanx in advance

    Hi,
    you can check changes of HUs in the change docs. You can see this in transaction humo -> mark the relevant HU -> menu: goto - chnge docs (F4).
    Regards,
    Ely

  • How do we connect two databases in Oracle other than Database Link?

    Good Morning,
    How do we connect two databases in Oracle other than Database Link?
    I am using Oracle 10g, I heard that we can connect two database in Oracle through ODBC. Is it possible? How?
    Thanks
    Nihar

    See if this helps.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:4406709207206#18830681837358

  • How can i hide a pages file from other users

    How can I hide a pages file so other users can't open or see it?

    My own tip is to save this kind of doc in an encrypted disk image (the .dmg items)
    Such item resemble to every downloaded installer so it doesn' take special attention and the encryption scheme is an efficient one.
    Yvan KOENIG (VALLAURIS, France) dimanche 21 août 2011 14:53:01
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Changes are not reflecting in other users

    HI all it's urgent
    One user abcd who had made some changes is not reflecting to other users after transport, we have 2 clients 100 and 200 ,changes are reflecting in own user id ,we transported with scc1 transaction
    with regards
    vinod

    Dear Vinod,
    Can you explain what did you try to do ? what changes do you make ?
    Dimitry

  • Error: 1013020 Cannot clear data for database [Daily] while other users are

    I'm trying to clear a (BSO, v 11.1.2.1) database, and it's failing with the following message:
    Error: 1013020 Cannot clear data for database [Daily] while other users are connected.
    There are no other users connected first of all. Second of all, I've never had a database fail to clear just because other users were connected. Has anyone seen this before?
    Sabrina

    WHen ever u start essbase application ..there is services starts in task manager called "ESSSvr" . The number get increased when keep opening as number of application you open ..So what i say is when u see no users in sesssion and no batch runs ahead , u can stop the Application in EAS and automatically it will log off all the users from that respective application ..And then start again the application and u can perform ur task
    this usually happnes when some one is connected with excel addin or Same EAS open by another user remotely..thats what i have seen in my exp's

  • HOW TO SEE CHANGES MADE IN VKOA SETTINGS

    Hi,
    Can anyone tell me how to see the changes made in VKOA settings.I think some one has changed the G/Ls in my VKOA settings.I want to see the who has made the changes and when and all details regarding it.
    warm regards
    Somnath Chatterjee

    Dear somnath
    In VKOA, double click any Tab which you normally make use of it.  Now on top choose "Selection - Deleted Entries".
    Thanks
    G. Lakshmipathi

  • How can I change my database options after it's created ?

    Hi ,
    I'm using a 10 g oracle on a solaris 10 machine .I created a database and now I m willing to change the database option.I tried to use dbca but the Configuration Options checkbox is disabled.Is there any other way to change the database option ??.For instance ading the JVM support ?.
    Cheers.

    You will need to run the installation scripts....as noted in My Oracle Support (support.oracle.com)..
    Note:
    Database Version 10.2.0:
    Note.276554.1 How to Reload the JVM in 10.1.0.X and 10.2.0.X
    and
    Master Note for Oracle JVM [ID 1098505.1]
    Read, learn, Share,
    Regards
    Tim
    Please mark this thread as answered...

  • How can i change the database name on MaxDB?

    Hello.  I need to do a homogeneous copy where the source system is the productive system and the target system is the quality system. Therefore after to restore the data backup i need to change the database name of quality system (from CLP to CLQ) but i'm not sure that it could be possible because in the MaxDB documentation i didn't found nothing about that. please can you tell me if it is possible and how i change it?
    I work with MaxDB 7.6.04.11.  Thanks for your help.

    > I will try to explain better: the SID of the source database is CLP and the SID of the target database is CLQ, when you say "once you restore the DB, it will use the new SID", i understand that the new SID in the target database would CLP or am i wrong? and i need that the SID in the target database remains CLQ after the restore.
    Hi Ivonne,
    what you've described as your requirement is exactly what will happen, when you just perform the procedure that Eric described to you.
    A recovery won't change the SID of the instance you perform the recovery to.
    All it does is: take the instance as is and load the data pages to the data area. Afterwards the log files may be recovered.
    Think of the instance as a kind of container for your database.
    The instance itself is not the database - so the SID does not change with the content of the database.
    Hmm... why not simply try it?
    Create a little test instance and back it up.
    Create another instance with a different name and recover the backup of the first instance.
    You will still have both instances, each with its original name.
    regards,
    Lars

  • How to see changes in production order...w/o using OCM...

    Hi
    As far as i know without OCM; we can't see changes made in terms of quantity, dates in production order
    But is there any alternative way, table or something which shows me changes made in atleast either of two i.e. quantity / dates for a production order
    Please give some hint....
    Rgds
    Edited by: Vicky Khabrani on May 9, 2008 6:37 AM

    Hi Pradeep
    Thanks for your reply....So this means there is no way out....
    By the way in COOIS; where can i see below things...I can't see them.......
    Choose following field from "Choose field option"
    Changed on
    Changed at
    Last changer.
    I guess something is wrong....Above fiels are not appearing in COOIS
    Rgds

  • How to see changes to a general ledger account?

    Hi,
    Is there a transaction code how I can see changes to a general ledger account?
    Best regards,
    Eric

    FS04 / FSp4 / FSS4

Maybe you are looking for