I know that the ODBC library has a commit/2 and commit/3, but I'm not sure if I am interpreting its use correctly.
If I do the following
- create a session with the {auto_commit, off} attribute
- and then do a series of separate sql_query/2 SELECT statements (not batched statements, but separate invocations of sql_query/2)
- followed by a commit/2
Are the selects all done within a single transaction guaranteeing ACID properties?