Top "Ormlite" questions

ORMLite is a Java open source software framework that provides lightweight object relational mapping (ORM) between Java classes and SQL databases.

Programmatically erase data of a sqlite database using ormlite library

I'd looking for a method to erase all data of a ormlite database or delete the database (and then recreate …

java android ormlite
ORMLite many to many relation Android

I have two classes : UniteStratigraphique.java : @DatabaseTable(tableName = "unitestratigraphique") public class UniteStratigraphique { public final static String ID_FIELD_NAME = "id"; @…

android many-to-many ormlite foreign-collection
ORMLite and Images saved as BLOB on Android

So I recently switched my database stuff over to ORMLite in my android tablet application I am writing. So far …

android database ormlite
Create table with Foreign Collection Field

I have this abstract class: DomainItem abstract public class DomainItem { @DatabaseField(generatedId = true) protected long id; @ForeignCollectionField(eager = false) protected …

java ormlite foreign-collection
Gradle Build Error - NullPointerException thrown during app:compileDebugJava gradle task

I keep receiving this error message everytime I try to make a gradle build. I recently made a build before …

android gradle android-studio ormlite dagger
Is it possible to have an enum field in a class persisted with OrmLite?

I'm trying to persist the following class with OrmLite: public class Field { @DatabaseField(id = true) public String name; @DatabaseField(canBeNull = …

java sqlite ormlite
ORMLite Select Distinct Fields

I have a SQLite table (on Android) that has numerous fields, but certain fields are repeated/denormalized. I would like …

android sqlite ormlite
ORMLite not loading child foreign fields

I'm using ORMLite 4.42 for an Android app. I have an entity which has foreign fields. These fields have foreign fields …

android ormlite
Multiple, combined OR conditions in ORMLite

I like to have a query like this: select data from table where (x > 1 and x < 100) or (x &…

java ormlite
Using limit () and offset () in QueryBuilder (ANDROID , ORMLITE)

@SuppressWarnings("deprecation") public List<Picture> returnLimitedList(int offset, int end) { List<Picture> pictureList = new ArrayList<…

android list limit offset ormlite