Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about cannot rollback - no transaction is active (code 1)(关于这个问题,中文标记) #1016

Open
ShiminChen007 opened this issue Feb 19, 2020 · 3 comments

Comments

@ShiminChen007
Copy link

ShiminChen007 commented Feb 19, 2020

in my project ,i have see this exception when code doing .executeDeleteWithoutDetachingEntities()

android.database.sqlite.SQLiteException
cannot rollback - no transaction is active (code 1)

android.database.sqlite.SQLiteConnection.nativeExecute(Native Method)
android.database.sqlite.SQLiteConnection.execute(SQLiteConnection.java:553)
android.database.sqlite.SQLiteSession.endTransactionUnchecked(SQLiteSession.java:439)
android.database.sqlite.SQLiteSession.endTransaction(SQLiteSession.java:401)
android.database.sqlite.SQLiteDatabase.endTransaction(SQLiteDatabase.java:522)

@ShiminChen007 ShiminChen007 changed the title adbout cannot rollback - no transaction is active (code 1)(关于这个问题,中文标记) about cannot rollback - no transaction is active (code 1)(关于这个问题,中文标记) Feb 19, 2020
@e-snail
Copy link

e-snail commented Nov 3, 2020

same question to me

@DRPrincess
Copy link

same question to me

1 similar comment
@waxwe
Copy link

waxwe commented Jun 22, 2021

same question to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants