Created
October 20, 2015 09:09
-
-
Save cosbor11/ae0ab6d11c6ebef9a7d1 to your computer and use it in GitHub Desktop.
onyx database remote persistence manager usage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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