Welcome to siena project!

Siena is a persitence API for Java inspired by the Google App Engine Python Datastore trying to draw a bridge between SQL and NoSQL worlds.

News


Example usage

// creates one employee
Employee emp = new Employee();
emp.firstName = "John";
emp.lastName = "Doe";
emp.insert();
// updates it
emp.age = 23;
emp.update();

//retrieves the same employee
Employee sameEmp = Model.getByKey(Employee.class, emp.id);

// gets some employees with filtering/ordering
List<Employee> someEmployees = Employee.all()
		.filter("firstName", "Mark")
		.order("-lastName")
		.fetch(10);		

// inserts a few employees created before
Employee.batch().insert(emp1, emp2, emp3, emp4);

Presentation

If you want to know more about Siena philosophy, go to our Github Presentation


Main features

Advanced features