You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
V/Orma: [RxCachedThreadScheduler-1] DELETE FROM `CD` WHERE ((`c1`.`ab` = ?)) - [0]
E/SQLiteLog: (1) no such column: c1.ab
W/System.err: io.reactivex.exceptions.OnErrorNotImplementedException: no such column: c1.ab (code 1 SQLITE_ERROR): , while compiling: DELETE FROM `CD` WHERE ((`c1`.`ab` = ?))
W/System.err: at io.reactivex.internal.observers.EmptyCompletableObserver.onError(EmptyCompletableObserver.java:51)
W/System.err: at io.reactivex.internal.operators.completable.CompletableSubscribeOn$SubscribeOnObserver.onError(CompletableSubscribeOn.java:74)
W/System.err: at io.reactivex.internal.operators.completable.CompletableCreate$Emitter.tryOnError(CompletableCreate.java:90)
W/System.err: at io.reactivex.internal.operators.completable.CompletableCreate$Emitter.onError(CompletableCreate.java:76)
W/System.err: at io.reactivex.internal.operators.completable.CompletableCreate.subscribeActual(CompletableCreate.java:42)
W/System.err: at io.reactivex.Completable.subscribe(Completable.java:2171)
W/System.err: at io.reactivex.internal.operators.completable.CompletableSubscribeOn$SubscribeOnObserver.run(CompletableSubscribeOn.java:64)
W/System.err: at io.reactivex.Scheduler$DisposeTask.run(Scheduler.java:579)
W/System.err: at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:66)
W/System.err: at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:57)
W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
W/System.err: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
W/System.err: at java.lang.Thread.run(Thread.java:764)
W/System.err: Caused by: android.database.sqlite.SQLiteException: no such column: c1.ab (code 1 SQLITE_ERROR): , while compiling: DELETE FROM `CD` WHERE ((`c1`.`ab` = ?))
W/System.err: at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
W/System.err: at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:903)
W/System.err: at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:514)
W/System.err: at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588)
W/System.err: at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:58)
W/System.err: at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:31)
W/System.err: at android.database.sqlite.SQLiteDatabase.compileStatement(SQLiteDatabase.java:1086)
W/System.err: at com.github.gfx.android.orma.core.DefaultDatabase.compileStatement(DefaultDatabase.java:53)
W/System.err: at com.github.gfx.android.orma.OrmaConnection.delete(OrmaConnection.java:331)
W/System.err: at com.github.gfx.android.orma.Deleter.execute(Deleter.java:49)
W/System.err: at com.example.app.MainActivity$onCreate$2.subscribe(MainActivity.kt:50)
W/System.err: at io.reactivex.internal.operators.completable.CompletableCreate.subscribeActual(CompletableCreate.java:39)
W/System.err: ... 10 more
AB.kt
@Table
class AB {
@PrimaryKey
var id: Long = 0
@Column
var name: String? = null
}
CD.kt
@Table
class CD {
@PrimaryKey
var id: Long = 0
@Column
var name: String? = null
@Column(indexed = true)
var ab: AB? = null
}
AB.kt
CD.kt
MainActivity.kt
The text was updated successfully, but these errors were encountered: