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 :)

-dain


Reply via email to