Skip to content

Instantly share code, notes, and snippets.

@cosbor11
Created October 20, 2015 09:09
Show Gist options
  • Select an option

  • Save cosbor11/ae0ab6d11c6ebef9a7d1 to your computer and use it in GitHub Desktop.

Select an option

Save cosbor11/ae0ab6d11c6ebef9a7d1 to your computer and use it in GitHub Desktop.
onyx database remote persistence manager usage
PersistenceManagerFactory factory = new RemotePersistenceManagerFactory();
factory.setCredentials("onyx-remote", "SavingDataIsFun!");
factory.setDatabaseLocation("onx://localhost:8080");
factory.initialize();
PersistenceManager manager = factory.getPersistenceManager();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment