https://github.com/visallo/simple-orm
SimpleORM
https://github.com/visallo/simple-orm
Last synced: over 1 year ago
JSON representation
SimpleORM
- Host: GitHub
- URL: https://github.com/visallo/simple-orm
- Owner: visallo
- Created: 2015-03-19T21:12:54.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-09-11T03:01:15.000Z (almost 9 years ago)
- Last Synced: 2025-03-24T17:14:22.813Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 145 KB
- Stars: 7
- Watchers: 11
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# simple-orm [](https://travis-ci.org/v5analytics/simple-orm)
An ORM solution which talks with SQL and big data database solutions using the same code.
### Example Model Object
```java
@Entity(tableName = "user")
public class User {
@Id
private String id;
@Field
private String name;
... getters and setters ...
}
```
### Example Usage
```java
AccumuloSimpleOrmSession session = new AccumuloSimpleOrmSession();
SimpleOrmContext ctx = session.createContext();
session.findAll(User.class, ctx);
```