How to store the arraylist in ormlite database

前端 未结 2 1526
天命终不由人
天命终不由人 2020-12-10 18:47

I am trying to save the arraylist of class objects into the ormlite database , but it is giving the error , java.lang.IllegalArgumentException: No fields have a DatabaseFiel

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-10 19:23

    I think you need to use Foreign Collections. Take a look here:

    • Foreign Collections
    • Another similar question

提交回复
热议问题