Skip to content

visallo/simple-orm

Repository files navigation

simple-orm Build Status

An ORM solution which talks with SQL and big data database solutions using the same code.

Example Model Object

@Entity(tableName = "user")
public class User {
    @Id
    private String id;

    @Field
    private String name;
    
    ... getters and setters ...
}

Example Usage

AccumuloSimpleOrmSession session = new AccumuloSimpleOrmSession();
SimpleOrmContext ctx = session.createContext();
session.findAll(User.class, ctx);