Managing tables and relations, Android SQLite using Storm

Posted Leave a commentPosted in Java, 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, or the meta data reading […]

Getting started with SQLite Android

Posted Leave a commentPosted in Java, Storm

Adding to Project To add storm to your Android project, please use below for Gradle in your project specific Gradle file. This would add Cubestack bitray Mave repository to your project maven { url “http://dl.bintray.com/cubestack/maven” } Once Maven repository is added, you may import Storm to your project with current version (1.0g) or any other […]