Replies: 2 comments 3 replies
-
Sorry. Forget this! db.begin() works. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@mdre with the latest release we removed begin() and commit() from the remote database class because transactions on the client side are not managed correctly. The server is stateless, so we'd need to bind the HTTP session to a server-side session. For now, each operation is atomic. If you need to execute multiple commands in a transaction, the only way is to execute a command as a script with |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With RemoteDatabase you connect to a db:
RemoteDatabase arcadeDB = new RemoteDatabase("localhost",2480,"ogm-test","root","rootroot");
but, is the database open? how should i start a transaction?
The local Database object has open() and transaction() method but i don't see it in RemoteDatabase.
Thank's
Beta Was this translation helpful? Give feedback.
All reactions