Menu

#13 Tables attached to transacted objects should be transacted

open
None
9
2007-02-18
2006-06-05
No

Tables and other related non-transacted objects that
are attached to transacted objects should be transacted
as well.

That is, if a table is related to a transacted object
and the tranacted object is deleted, so should the
table. This is not the case currently.

Discussion

  • Anonymous

    Anonymous - 2006-10-14

    Logged In: YES
    user_id=1456

    > I am considered about MEMDB not working
    > though. Any idea what the problem was? I
    > ran into an issue with MEMDB earlier since
    > that MEMDB was attached to the open SQLite
    > handle, not the database on disk. That is
    > why I converted back to a single SQLite
    > handle for the entire service.
    >
    > Maybe MEMDB is being attached twice? Do you
    > remember the issue?

    When you call OpenProperty() ordinary property is inserted
    to the
    MEMDB table with 'Ref' flag set but it is not copied to desk
    table
    while SaveChanges(). So after restart store fails to open
    message.
    Plus OpenProperty for transacted objects should create table
    (if it is
    table) in MEMDB and copy that table to disk inside
    SaveChanges().

     
  • Anonymous

    Anonymous - 2007-02-18
    • priority: 5 --> 9
     

Log in to post a comment.