This project contains a facade for OriendDb with specific focus on the components that embed a document based database in a java application without the need for a dedicated server.
This project is currently not hosted on any repository-manager so the fastest way to get it is clone this git-repo and run mvn:install in the root package
All dependencies are hosted in Maven Central, so just running mvn:install will download the required dependencies.
OrientDb supports multiple database engines, but for the sake of this tutorial, we will be making a database located on the same machine as the code.
String path = "plocal:/path/to/db"
String user = "admin"
String pass = "admin"
ODBFacade db = new ODBFacade(path, user, pass);
db.create();
The above code will check if a db exists in the path specified, and will create it if it doesn't find one.
(TO BE COMPLETED)