Sounds like you need a database that does "time travel". This is/was 
available in postgreSQL because it uses a non overwritting storage 
manager. So on update the old record is left and a new record is written.



Guy Rouillier wrote:

> No, EJBs can't automatically accomplish what you are trying to do.  And I
> don't know of any databases that will do it either out of the box.  I'm
> having trouble even thinking of a generalized solution.   User A can update
> column 1 in row 1 in table 1, then user B can update column 2 in row 1 in
> table 1 today.  And you want to be able to undo user A's change while
> leaving user B's change in place?  The only think I can dream up is to
> record every single change in some sort of change log table, recording who,
> when, what.  Then search this change log if you need to undo.  This is a
> difficult problem to solve and will have very high overhead.
> 
> ----- Original Message -----
> From: "Paula Turnbull" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, June 07, 2001 10:28 PM
> Subject: RE: [JBoss-user] Version control
> 
> 
> 
>>Thanks for your replies. Sorry if my question seemed a bit vague.. Thats
>>
> the
> 
>>problem with being new, you never quite know what or how to ask sometimes.
>>To try to clarfiy, my data will be stored in a database..as yet I don't
>>
> know
> 
>>which one. I guess I was trying to figure out if given multiple clients
>>manipulating data via EJBs, is there anyway to have one of these clients
>>with administrator 'rights' who can rollback changes made by any of the
>>others, at anytime. Those changes could have happened two days ago
>>potentially. I was thinking along the lines of sourcesafe's
>>
> implementation.
> 
>>I'll investigate the ideas posted. Thanks.
>>
>>>Paula
>>>
>>-----Original Message-----
>>From: Juha Lindfors [mailto:[EMAIL PROTECTED]]
>>Sent: Thursday, 7 June 2001 10:25 PM
>>To: [EMAIL PROTECTED]
>>Subject: Re: [JBoss-user] Version control
>>
>>
>>
>>Hi,
>>
>>You would need to create your own implementation of the persistence
>>
> manager
> 
>>to support versioning persistence (via CVS or by other means). We don't
>>provide you with that kind of PM yet. Could be an interesting project
>>though.
>>
>>-- Juha
>>
>>
>>At 14:54 7.6.2001 +1000, you wrote:
>>
>>>Hi all, I am new to JBoss and to J2EE. I am wondering if it is possible
>>>
> to
> 
>>>implement some sort of version control on application data on the server?
>>>The application will have multiple clients and I need to maintian version
>>>control so the site administrator can rollback to previous versions of
>>>
> data
> 
>>>that has been modified by one or more of these clients. Is it possible to
>>>integrate a third party system such as CVS? Or would I have to implement
>>>this myself?
>>>
>>>Thanks,
>>>Paula
>>>
>>>***********************************************************
>>>Paula Turnbull
>>>Java Programmer
>>>Centre for Pest Information Technology and Transfer (C-PITT)
>>>Hartley Teakle Building
>>>The University of Queensland
>>>Brisbane QLD 4072 Australia
>>>
>>>Email:        [EMAIL PROTECTED]
>>>Telephone: +61 7 3365 1840
>>>Facsimile:  +61 7 3365 1855
>>>
>>>www.cpitt.uq.edu.au
>>>www.lucidcentral.com
>>>
>>>NOTICE - This message contains information intended only for the use of
>>>
> the
> 
>>>addressee named above.  It may also be confidential and/or privileged.
>>>
> If
> 
>>>you are not the intended recipient of this message you are hereby
>>>
> notified
> 
>>>that you must not disseminate, copy or take any action in respect to it.
>>>
>>If
>>



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to