db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <Craig.Russ...@Sun.COM>
Subject Re: DatastoreConnection / optimistic txs
Date Sun, 08 Apr 2007 17:23:23 GMT
Hi Erik,

On Apr 8, 2007, at 8:47 AM, Erik Bengtson wrote:

> Quoting Craig L Russell <Craig.Russell@Sun.COM>:
>
>> This is a backward-incompatible change. But maybe we should consider
>> to request a datastore connection that would have that semantic by
>> adding a boolean flag to the getDataStoreConnection method indicating
>> that you want to be able to perform transactional updates with it.
>>
>
> Contractually speaking this change is incompatible, but it's  
> undetermined when
> flush gets first called by the JDO implementation, so this feature  
> is not
> portable.

I'm afraid I don't know what you mean by "this feature" and "this  
change". If you want to guarantee that the datastore connection you  
get is enlisted in the JDO transaction, we can add a flag to  
guarantee it.

Craig
>

Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!


Mime
View raw message