I'm currently upgrading my project from 2.0.2 to SquiDB 3.0.0.
@TableModelSpec(className = "Image", tableName = "images")
public class ImageSpec {
@ColumnSpec(constraints = "NOT NULL")
long postId;
@ColumnSpec(constraints = "NOT NULL")
long postTimestamp;
@ColumnSpec(constraints = "NOT NULL")
String postUrl;
}
I went through multiple clean rebuilts and even manually deleted previous generated model classes.
I did not include the squidbOptions 'androidModels' configuration to my gradle.build file and moved ContentValues usages to ContentValuesStorage. Parcelable features aren't used and not accessed.
Now the code generator creates a model object with multiple issues. Some method parameters are wrong, shown in the first screenshot below.
Non-existing methods are still being included in the constructor.
And imports for parcelable are missing, even through android specific features aren't enabled.
I'm currently upgrading my project from 2.0.2 to SquiDB 3.0.0.
I went through multiple clean rebuilts and even manually deleted previous generated model classes.
I did not include the
squidbOptions 'androidModels'
configuration to my gradle.build file and moved ContentValues usages to ContentValuesStorage. Parcelable features aren't used and not accessed.Now the code generator creates a model object with multiple issues. Some method parameters are wrong, shown in the first screenshot below.
Non-existing methods are still being included in the constructor.
And imports for parcelable are missing, even through android specific features aren't enabled.
Any ideas how to fix this?