Current my entity model has the following fields, with
@Table(value = "address") @AutoValue @AutoGson public abstract class AddressNew {
@Id public abstract long _id();
public abstract String address1();
//create function here
@AutoValue.Builder public abstract static class Builder {
public abstract Builder _id(long _id);
public abstract Builder address1(String address1);
}
}
In the generated Dao, it would call the builder constructor that doesn't exist. particularly here
public final class SqliteMagic_AddressNew_Dao {
public static AddressNew setId(AddressNew entity, long id) {
return new AutoValue_AddressNew.Builder(entity)._id(id).build();
}
//...
}
Current my entity model has the following fields, with
In the generated Dao, it would call the builder constructor that doesn't exist. particularly here