Hi Dain,

On Apr 8, 2007, at 1:02 PM, Dain Sundstrom wrote:

On Apr 8, 2007, at 10:20 AM, Craig L Russell wrote:

Hi Dain,

On Apr 8, 2007, at 12:17 AM, Dain Sundstrom wrote:

Is it possible to reuse instances from transaction to transaction?

I would like to be able to create a bean in one transaction, detach it and reattach the same instance in a new transaction. My goal here is specifically to reuse instances across transactions because they have a very expensive creation cost

Do you have some reason to believe this? Entities are cheap. They're not like CMP beans that are so expensive they need to be pooled.

You keep forgetting I'm using JPA to implement CMP :)

No, this is the same approach that Sun app server 7, 8, and 9 use. I'm very aware of the issues. ;-)

Craig


-dain



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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to