Java
Managing tables and relations, Android SQLite using Storm
With Storm, tables can be mapped to entities with @Table annotation. It works similar to most of the ORM solutions with few exceptions. Example Mapping: @Table(name = “DEMO_ENTITY”, version = 2) class Entity { @PrimaryKey @Column(name=”ID”, type = FieldType.INTEGER) private int id; } Every table must have a @PrimaryKey annotation, Read more…