OJB warns you every time you write to the database without doing so in a
transaction.

If you dont have any need for a transaction, then thats acceptable... but it
will WARN you!

It's considered best practice to perform writes in a transaction, especially
when there are multiple associated writes!

Daniel.

> -----Original Message-----
> From: Reinaldo Nolasco Sanches [mailto:[EMAIL PROTECTED]
> Sent: 13 January 2005 15:49
> To: [email protected]
> Subject: No running tx found
>
>
> I don't know because that WARN appears in my log:
>
> 4000000041e690db1ad9c974
> [org.apache.ojb.broker.core.PersistenceBrokerImpl] WARN: No running tx
> found, please only store in context of an PB-transaction, to avoid
> side-effects - e.g. when rollback of complex objects
>
> I don't found any help...
>
> Thanks for any help :)
>
>
> --
> Reinaldo Nolasco Sanches
> Core Developer - Tecnologia Mandic
>
> mandic:mail www.mandic.com.br
> O melhor e-mail que a tecnologia � capaz de criar!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to