Re: Code in Transaction object for JPA?

2007-01-09 Thread Dain Sundstrom
BTW the new TransactionSynchronizationRegistry has a nice place to keep transaction related data like this. -dain On Jan 9, 2007, at 8:00 PM, David Jencks wrote: OK david jencks On Jan 9, 2007, at 8:53 PM, Dain Sundstrom wrote: In the org.apache.geronimo.transaction.manager.Transaction cl

Re: Code in Transaction object for JPA?

2007-01-09 Thread David Jencks
OK david jencks On Jan 9, 2007, at 8:53 PM, Dain Sundstrom wrote: In the org.apache.geronimo.transaction.manager.Transaction class we have the following code: public Object getEntityManager(String persistenceUnit) { return entityManagers.get(persistenceUnit); } public v

Code in Transaction object for JPA?

2007-01-09 Thread Dain Sundstrom
In the org.apache.geronimo.transaction.manager.Transaction class we have the following code: public Object getEntityManager(String persistenceUnit) { return entityManagers.get(persistenceUnit); } public void setEntityManager(String persistenceUnit, Object entityManager) {