Parsing with jackson and inserting same object to sqlite using ormlite android
问题 I am parsing json data using Jackson from api call and trying to insert the data in sqlite using ormlite . For this i am using same model class. Here is my model classes public class Site { @DatabaseField(generatedId=true,columnName="ID") private int id; @DatabaseField(columnName="NAME") private String name; @ForeignCollectionField(eager=true) Collection<Visit> visits; Site() { } public int getId() { return id; } public void setId(int id) { this.id = id; } public String getName() { return