On execute.

On 2013-08-05 09:38, Ben wrote:
When is the data sent to the linked database? (on execute/on commit/on "PREPARE COMMIT")

Thank You
Ben Sagal

On Monday, 5 August 2013 10:29:45 UTC+3, Noel Grandin wrote:


    When the H2 database starts up, it will attempt to roll back the
    updates to the linked tables.

    On 2013-08-05 09:27, Ben wrote:
    What would happen if if the program embedding the H2 database
    crashes in the middle of a transactions?
    What would be the state of the linked database?
    What could be done to reset the state?

    Thank You
    Binyamin Sagal

    On Monday, 5 August 2013 10:23:01 UTC+3, Noel Grandin wrote:


        On 2013-08-05 06:08, Ben wrote:
        > How do transactions and two phase-commits work with linked
        tables.

        We don't use commit() and rollback() on the connection.
        Instead we store the updates/deletes in our own undo log and
        roll them
        back ourselves if necessary.


--
You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/groups/opt_out.



--
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to