Hi,
Yes you may do this in both ways, you may use factory if you have several
users or use pool directly if you have single user.

On Mon, Sep 21, 2015 at 11:28 AM Mihai Ocneanu <[email protected]>
wrote:

> Thank you both for your answers.
>
> Andrey, would you say this is what you mean when you mentioned
> OParttionedDatabasePool? Is this the proper way?
>
> OPartitionedDatabasePoolFactory factory = new
> OPartitionedDatabasePoolFactory();
>
> OPartitionedDatabasePool oPartitionedDatabasePool = factory.get(SERVER_URL
> , USER_LOGIN, USER_PASS);
>
> ODatabaseDocumentTx odbTx = oPartitionedDatabasePool.acquire();
>
> Thanks,
> Mihai
>
> --
>
> ---
> 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.
>

-- 

--- 
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