java - ORMLite store all class fields annotation -


recently, use ormlite , found ormlite's @databasefield annotation have persisted value (link).

set false (default true) not store field in database. useful if want have annotation on of fields turn off writing of of them database.

that documentation note suggest there way have annotation on of class fields. ormlite have annotation provides 'store fields' feature? or there way instead adding @databasefield every field in class.

does ormlite have annotation provides 'store fields' feature? or there way instead adding @databasefield every field in class.

sorry no doesn't. there no way using annotations have field persisted. there other ways configure class in ormlite none automatically add details fields.


Comments