{ "id": "60996", "key": "TIMOB-364", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11243", "name": "Release 1.6.0 M10", "archived": true, "released": true, "releaseDate": "2011-02-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:52:49.000+0000", "created": "2011-04-15T02:27:57.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "database", "defect", "ios", "release-1.6.0", "transactions" ], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:52:49.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

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

{html}", "attachment": [], "flagged": false, "summary": "Enable Transactions for Titanium.Database (Mobile)", "creator": { "name": "johannrichard", "key": "johannrichard", "displayName": "Johann Richard", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "johannrichard", "key": "johannrichard", "displayName": "Johann Richard", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "123164", "author": { "name": "thynctank", "key": "thynctank", "displayName": "thynctank", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

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

{html}", "updateAuthor": { "name": "thynctank", "key": "thynctank", "displayName": "thynctank", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:27:58.000+0000", "updated": "2011-04-15T02:27:58.000+0000" }, { "id": "123165", "author": { "name": "damienelmes", "key": "damienelmes", "displayName": "Damien Elmes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

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

{html}", "updateAuthor": { "name": "damienelmes", "key": "damienelmes", "displayName": "Damien Elmes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:27:58.000+0000", "updated": "2011-04-15T02:27:58.000+0000" }, { "id": "123166", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

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

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:27:59.000+0000", "updated": "2011-04-15T02:27:59.000+0000" }, { "id": "123167", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

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

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:27:59.000+0000", "updated": "2011-04-15T02:27:59.000+0000" }, { "id": "123168", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [90e349c4c2a6438fbb68a59a5f2b83379dce68f3])\n[#364] Drillbit test for begin/rollback/commit and\nsavepoints in database. \nhttps://github.com/appcelerator/titanium_mobile/commit/90e349c4c2a6...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:27:59.000+0000", "updated": "2011-04-15T02:27:59.000+0000" }, { "id": "123169", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Created #3151 to track the android side

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:28:00.000+0000", "updated": "2011-04-15T02:28:00.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }