ormlite « sqlite « Java Database Q&A





1. Is it possible to have an enum field in a class persisted with OrmLite?    stackoverflow.com

I'm trying to persist the following class with OrmLite:

public class Field {
 @DatabaseField(id = true)
 public String name;

 @DatabaseField(canBeNull = false)
 public FieldType type;

 public Field() {

 }
}
The FieldType ...

2. how to generate a java class code from a sqlite database for ORMLite    stackoverflow.com

Given a sqlite database as input, I want to know how can i can generate an ORMLite java class that map with the associated database. Many thanks.

3. Ormlite throwing SQLException on create(). What am I doing wrong?    stackoverflow.com

I'm trying to replace existing database code with Ormlite in a Java project I'm working on. However, when I call create() to insert an object into the SQLite database, it throws a ...