-
Notifications
You must be signed in to change notification settings - Fork 303
Closed
Milestone
Description
#764 Issue Basics
- ObjectBox version :
2.5.1,3.0.0-alpha2 - Reproducibility: always
Reproducing the bug
Description
When calling removeAll() on an Entity, DB operation freezes
Code
box.removeAll()Entities
@Entity
data class MyEntity(
@Id
var id: Long? = null,
@Uid(5199960888095114421L)
var idA: Int? = null,
@Uid(8980596607626398101L)
var idB: String? = null,
@Uid(8428670953150503097L)
var idC: Int? = null
)Misc
box.remove(box.all)works
- I'm calling all this in a worker
- Earlier when
enititeshad a default values like" "forstringetc, it worked, but now have made all such fieldsnullablewith default null. - It works for the first time when app is installed ( In the worker, first
removeAlland thenputa list of entities), but when we sync again i.e.removeAllandput, it just freezes onremoveAll - I'm also observing the DB.
Metadata
Metadata
Assignees
Labels
No labels