doc outdated: ODatabaseDocumentPool is deprecated

18 views
Skip to first unread message

ad...@cs.miami.edu

unread,
Sep 10, 2017, 2:58:23 PM9/10/17
to OrientDB
The docs state:

ODatabaseDocumentTx db = ODatabaseDocumentPool.global()
      .acquire("remote:localhost/petshop", 
      "admin", "admin_passwd");

I suggest the following instead

OPartitionedDatabasePool pool =  new OPartitionedDatabasePool(url , "admin", "admin_passswrd");
ODatabaseDocumentTx db = pool.acquire();


-Adam

Oleksandr Gubchenko

unread,
Sep 11, 2017, 12:34:33 AM9/11/17
to OrientDB
You can edit the docs, thanks!

Luigi Dell'Aquila

unread,
Sep 11, 2017, 2:21:43 AM9/11/17
to orient-...@googlegroups.com
Hi Adam,

Thank you very much, I just fixed the docs, the patch will be in the official docs in a few minutes

Thanks

Luigi


--

---
You received this message because you are subscribed to the Google Groups "OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orient-database+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages