Skip to content

Commit eae2c53

Browse files
Merge pull request mendix#8730 from jveldhuizen/patch-6
Update committing-objects.md with information about association reinserts for autocommitted objects
2 parents cc4fe7e + 45a257e commit eae2c53

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • content/en/docs/refguide/modeling/application-logic/microflows-and-nanoflows/activities/object-activities

content/en/docs/refguide/modeling/application-logic/microflows-and-nanoflows/activities/object-activities/committing-objects.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ An autocommit is an automatic commit from the platform, which is done to keep th
116116
{{% alert color="warning" %}}
117117
An autocommit is not the same as an explicit commit!
118118

119+
When objects are autocommitted, all changed member values, including associations, are saved in the database as well. These members are still marked as changed until these objects are explicitly committed. As a consequence, association rows for these objects are deleted and reinserted in the database when these objects are explicitly committed.
120+
119121
If a rollback is triggered for any reason (for example, if the user session is terminated by the user closing the browser), then autocommitted objects are deleted from the database. For more information about how Mendix handles persistable objects, see [Persistability](/refguide/persistability/).
120122
{{% /alert %}}
121123

0 commit comments

Comments
 (0)