Re: Stuck transaction w/MySQL

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Sat Jun 21 2003 - 18:29:08 EDT

  • Next message: David Benoff: "Changes to flattened relationships not getting persisted"

    On Friday, June 20, 2003, at 09:13 PM, Michael Amster wrote:

    > Hi:
    >
    > I have a number of cases where I am still trying things out and
    > generate some bad queries with MySQL. In such cases it looks like
    > Cayenne is not letting go of the transaction. For development I want
    > to be able to dump the transaction queue and "restart" Cayenne with a
    > new transaction. This is especially true when using AUTO_PK - I will
    > regen the model, restart my application, and then when I try a new
    > insert, it has the old "bad" query still in the queue.
    >
    > Am I missing something obvious? Is there some way to "flush" Cayenne
    > to a known state with nothing in the queue? Does it remember the
    > AUTO_PK assignments outside the database table in MySQL?

    Hi Michael,

    I don't think I understand anything of what you've described here.
    There is no such thing as transaction queue in Cayenne.

    Could you be more specific?

    Andrus



    This archive was generated by hypermail 2.0.0 : Sat Jun 21 2003 - 18:27:21 EDT