Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-364] Enable Transactions for Titanium.Database (Mobile)

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:52:49.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.6.0 M10
ComponentsiOS
Labelsdatabase, defect, ios, release-1.6.0, transactions
ReporterJohann Richard
AssigneeReggie Seagraves
Created2011-04-15T02:27:57.000+0000
Updated2011-04-17T01:52:49.000+0000

Description

It would be very helpful if Transactions were enabled in Titanium.Database (Mobile) -- be it by exposing/wrapping the PLSQLite Transaction methods in Titanium.Database or by allowing the corresponding SQLite SQL Statements (BEGIN; ROLLBACK; COMMIT)

Comments

  1. thynctank 2011-04-15

    I second this, it's breaking some functionality/tests in JazzRecord ORM at the moment.

  2. Damien Elmes 2011-04-15

    When I checked on 1.2.x, db.execute("begin") /rollback/commit was working fine...

  3. Stephen Tramer 2011-04-15

    My bad; the drillbit test I wrote was pulling SELECT operations in the middle of the transaction. Bad mojo.

  4. Stephen Tramer 2011-04-15

    Further testing reveals that this is an Android issue, still. Assigning to Don for triage; going to commit a Drillbit test.

  5. Jeff Haynie 2011-04-15

    (from [90e349c4c2a6438fbb68a59a5f2b83379dce68f3]) [#364] Drillbit test for begin/rollback/commit and savepoints in database. https://github.com/appcelerator/titanium_mobile/commit/90e349c4c2a6438fbb68a59a5f2b83379dce68f3"> https://github.com/appcelerator/titanium_mobile/commit/90e349c4c2a6...

  6. Don Thorp 2011-04-15

    Created #3151 to track the android side

JSON Source