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]>

Reply via email to