Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 607 Bytes

File metadata and controls

26 lines (19 loc) · 607 Bytes

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);