3.0.0-beta3
Pre-release
Pre-release
- Fixes issue where
ForeignKeyContainer
were actually loading their counterpartModel
and then converting intotoModelContainer()
, which eliminated any performance gains from them. - Can manually pass in
DatabaseWrapper
to any query statement, this becomes extremely useful inMigration
classes when recursive calls togetWritableDatabase()
throws an exception. @Table(allFields = true)
now includes private fields. If you wish to ignore those, add@ColumnIgnore
to your table.- Error messaging for private fields without proper getters and setters.
- Fix a few bugs where
@PrimaryKey
and@ForeignKey
areModel
orModelContainer
objects. - added a
@ManyToMany
annotation to facilitate super-easy code-gen of association tables. - Default values of columns are respected for non-primitive, non-model types by insertion directly into their
ModelAdapter
methods when saving to the DB. - Many bug fixes and improvements
@TableEndpoint
now looks forcontentProvider()
class instead of String name. Just point it to your class.- Added unsafe query checking in
ContentProvider
, since new safe checking is very limited. - Fixed issue where
InsertConflict
was ignored inSQLiteStatement
for inserting.