Re: [DISCUSS] getPersistenceManagerProxy

2007-02-22 Thread Guido Anzuoni
Craig L Russell wrote: > > On Feb 21, 2007, at 12:24 AM, Guido Anzuoni wrote: > >> Craig L Russell Sun.COM> writes: >> >>> >>> Hi Guido, >>> >>> Thanks for your comments. >>> >>> On Feb 12, 2007, at 4:39 AM, Guido Anzuoni wrote: >>> when it associate the PM with the transaction, but ther

Re: [DISCUSS] getPersistenceManagerProxy

2007-02-21 Thread Craig L Russell
On Feb 21, 2007, at 12:24 AM, Guido Anzuoni wrote: Craig L Russell Sun.COM> writes: Hi Guido, Thanks for your comments. On Feb 12, 2007, at 4:39 AM, Guido Anzuoni wrote: when it associate the PM with the transaction, but there could be ordering issues with other Synchronization objects

Re: [DISCUSS] getPersistenceManagerProxy

2007-02-21 Thread Guido Anzuoni
Craig L Russell Sun.COM> writes: > > Hi Guido, > > Thanks for your comments. > > On Feb 12, 2007, at 4:39 AM, Guido Anzuoni wrote: > > > It is not clear when the real PersistenceManager will get closed. > > In a RESOURCE_LOCAL scenario close on the proxy could be propagated > > to the > > r

Re: [DISCUSS] getPersistenceManagerProxy

2007-02-15 Thread Craig L Russell
Hi Guido, Thanks for your comments. On Feb 12, 2007, at 4:39 AM, Guido Anzuoni wrote: It is not clear when the real PersistenceManager will get closed. In a RESOURCE_LOCAL scenario close on the proxy could be propagated to the real PM before/after deassociation in the Thread-local Yes, th

Re: [DISCUSS] getPersistenceManagerProxy

2007-02-12 Thread Guido Anzuoni
It is not clear when the real PersistenceManager will get closed. In a RESOURCE_LOCAL scenario close on the proxy could be propagated to the real PM before/after deassociation in the Thread-local (why an implementation specific variable ? Is it really needed to be implementation specific ?) In a J

Re: [DISCUSS] getPersistenceManagerProxy

2007-02-11 Thread Craig L Russell
Hi Dain, Thanks for your comments. These rules are intended to be identical to the JPA semantics. One intended side effect is that the container can simply make the PMF call to get a proxy in order to inject a PM into a component. Of course, container injection behavior is not specified

Re: [DISCUSS] getPersistenceManagerProxy

2007-02-11 Thread Dain Sundstrom
Sounds exactly like the JPA rules, so it makes sense to me. If there are supposed to be differences in comparison to the JPA rules, I suggest you explicitly call them out due the the extreme similarity between the two in this text. -dain On Feb 9, 2007, at 2:00 PM, Craig L Russell wrote:

Re: [DISCUSS] getPersistenceManagerProxy

2007-02-11 Thread Andy Jefferson
> What's RESOURCE_LOCAL? Non JCA? See JPA spec 6.2.1.2. Non JTA -- Andy

Re: [DISCUSS] getPersistenceManagerProxy

2007-02-11 Thread Erik Bengtson
What's RESOURCE_LOCAL? Non JCA? Quoting Craig L Russell <[EMAIL PROTECTED]>: > Please review and comment on this proposed change to the > specification, as part of the JDO 2.1 maintenance release. > > > (PersistenceManagerFactory interface) > 11.3.1 Access via proxy > PersistenceManager getPersi

[DISCUSS] getPersistenceManagerProxy

2007-02-09 Thread Craig L Russell
Please review and comment on this proposed change to the specification, as part of the JDO 2.1 maintenance release. (PersistenceManagerFactory interface) 11.3.1 Access via proxy PersistenceManager getPersistenceManagerProxy(); Returns a PersistenceManager instance that is thread-safe, for use