Cupboard (https://bitbucket.org/qbusict/cupboard) is a very convinient library, but unfortunately it does not support mapping lists to the database and lists need to be handled by hand. But what is the way to handle them?
You can let Cupboard to the serializing for you by using a FieldConverter
. I've recently released the cupboard-tools project that contains a FieldConverter
that uses Gson
to serialize and deserialize lists or other objects.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With