The docs state:

ODatabaseDocumentTx db = ODatabaseDocumentPool.global()
>       .acquire("remote:localhost/petshop", 
>       "admin", "admin_passwd");
>
> at http://orientdb.com/docs/last/Document-API-Database.html

I suggest the following instead

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


-Adam

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to