Yes. The ODMG implementation stores ODMG transacations in a hashmap keyed on the Thread.
>-----Original Message----- >From: Jose Galiana [mailto:[EMAIL PROTECTED]] >Sent: 08 October 2002 12:02 >To: OJB Users List >Subject: RE: Handling multiple transactions > > >ODMG is capable to work with multiple transactions in a Servlet/JSP >enviroment? > >-----Mensaje original----- >De: Thomas Mahler [mailto:[EMAIL PROTECTED]] >Enviado el: martes, 08 de octubre de 2002 7:05 >Para: OJB Users List >Asunto: Re: Handling multiple transactions > > >One PB instance can handle only one transaction at a time. You have to >use one PB instance per request to make things work. > >The PersistenceBrokerFactory provides a PB pooling mechanism >that allows >to make this scenario performant. > >cheers, >Thomas > >Fernando Esteban Barril Otero wrote: >> Hello, >> >> I'm trying to use the PersistenceBroker API in a servlet >> environment. But when I do multiple requests I get a >> org.apache.ojb.broker.TransactionInProgressException. >> >> This is normal or I'm doing something wrong? >> >> Thanks, >> Fernando >> >> >> -- >> To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >> For >additional commands, e-mail: <mailto:[EMAIL PROTECTED]> >> >> >> >> > > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For >additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For >additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > This email and any attachments are strictly confidential and are intended solely for the addressee. If you are not the intended recipient you must not disclose, forward, copy or take any action in reliance on this message or its attachments. If you have received this email in error please notify the sender as soon as possible and delete it from your computer systems. Any views or opinions presented are solely those of the author and do not necessarily reflect those of HPD Software Limited or its affiliates. At present the integrity of email across the internet cannot be guaranteed and messages sent via this medium are potentially at risk. All liability is excluded to the extent permitted by law for any claims arising as a re- sult of the use of this medium to transmit information by or to HPD Software Limited or its affiliates. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
