Re: Long transactions?

2004-02-08 Thread Thomas Mahler
Hi David, Yes, the ODMG and OTM layer provide support for long transactions. They both provide means to transfer Objects back to transactions (aka swizzling). Thomas David Hooker wrote: Does OJB support "long transactions"? -

RE: long transactions

2003-02-28 Thread Mahler Thomas
Message- > From: Phil Warrick [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 27, 2003 8:54 PM > To: OJB Users List > Subject: Re: long transactions > > > Hi again, > > >> Right, write conflicts are detected with OL. But will there be an

Re: long transactions

2003-02-27 Thread Thomas Phan
> The example I gave was a Customer and a Product. The Customer has a > collection of Products, the relation of which is maintained in say a > CUSTOMER_PRODUCT table. Because it is "non-decomposed", I do not create a > CustomerProduct class. Now in client code, I do: > > Customer customer = // l

Re: long transactions

2003-02-27 Thread Phil Warrick
Hi again, Right, write conflicts are detected with OL. But will there be an efficient merge of the updated graph? No. Say only one of the graph's n objects was modified. Is OJB's use of its cache going to compare the before/after status of each graph object and perform a db update on only

RE: long transactions

2003-02-27 Thread Ebersole, Steven
Users List |Subject: Re: long transactions | | |> > With OL you have a version column for each row. |> > Say you load an object with version=15. |> > you send it to the client. |> > The client works on it and posts the modified object |back to the serve

Re: long transactions

2003-02-27 Thread Thomas Phan
> > With OL you have a version column for each row. > > Say you load an object with version=15. > > you send it to the client. > > The client works on it and posts the modified object back to the server. > > the server then update the database. > > With OL it checks if the version field in the inst

Re: long transactions

2003-02-27 Thread Thomas Mahler
Hi again Right, write conflicts are detected with OL. But will there be an efficient merge of the updated graph? No. Say only one of the graph's n objects was modified. Is OJB's use of its cache going to compare the before/after status of each graph object and perform a db update on only

Re: long transactions

2003-02-27 Thread Phil Warrick
Hi again (again), Hi again, With the PB api you can ignore swizzling as you can use optimistic locking with timespamp or version labels to detect write conflicts. Can you expand on the PB approach a little? How is it that no merge is necessary with optimistic locking? With OL you have a

RE: long transactions

2003-02-27 Thread Mahler Thomas
l Message- > >>|From: Phil Warrick [mailto:[EMAIL PROTECTED] > >>|Sent: Thursday, February 27, 2003 9:33 AM > >>|To: OJB Users List > >>|Subject: Re: long transactions > >>| > >>| > >>|Hi agai

RE: long transactions

2003-02-27 Thread Ebersole, Steven
utral long transaction support was just a superfluous benefit. |-Original Message- |From: Mahler Thomas [mailto:[EMAIL PROTECTED] |Sent: Thursday, February 27, 2003 9:50 AM |To: 'OJB Users List' |Subject: RE: long transactions | | |Hi all, |

Re: long transactions

2003-02-27 Thread Phil Warrick
OJB Users List |Subject: Re: long transactions | | |Hi again, | |One reason I ask is that long transactions seem to imply |_stateful_ |Session beans + OJB, and I haven't seen much discussion or |examples |relating to this combination (although there are lots

RE: long transactions

2003-02-27 Thread Mahler Thomas
version labels to detect write conflicts. cheers, Thomas > Of course writing all those DTOs is not fun, but pick your posion. > > > |-Original Message- > |From: Phil Warrick [mailto:[EMAIL PROTECTED] > |Sent: Thursday, February 27, 2003 9:33 AM > |To:

RE: long transactions

2003-02-27 Thread Ebersole, Steven
our posion. |-Original Message- |From: Phil Warrick [mailto:[EMAIL PROTECTED] |Sent: Thursday, February 27, 2003 9:33 AM |To: OJB Users List |Subject: Re: long transactions | | |Hi again, | |One reason I ask is that long transactions see

Re: long transactions

2003-02-27 Thread Phil Warrick
Hi again, One reason I ask is that long transactions seem to imply _stateful_ Session beans + OJB, and I haven't seen much discussion or examples relating to this combination (although there are lots of _stateless_ Session bean + OJB discussion/examples). My core data is essentially a tree, so