db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Armin Waibel" <ar...@code-au-lait.de>
Subject Re: checkpoint problem
Date Mon, 28 Jul 2003 15:27:46 GMT
Hi Jeremy,

I add your patch to CVS. Thanks!

regards,
Armin

----- Original Message -----
From: "Jeremy Wilkerson" <jjwilkerson@ubtanet.com>
To: <ojb-dev@db.apache.org>
Sent: Thursday, July 24, 2003 2:57 PM
Subject: checkpoint problem


> I'm using the ODMG API of OJB 1.0.rc3 with MySQL. When I call
> checkpoint() on a Transaction, the underlying database transaction
isn't
> being committed. I added the following to
TransactionImpl.checkpoint(),
> right after doCommitOnObjects();
>
>            if (getBroker().isInTransaction())
>                getBroker().commitTransaction();
>
> It seems to work.  This likely isn't the best solution, as I'm not
very
> familiar with the OJB code.  If this problem has already been fixed
> somewhere else, someone please tell me where to look in the CVS tree.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message