The doc should be updated.  The link actually says to use 
OrientGraphFactory, but it says it use to use ODatabaseDocumentPool.  That 
should be remove, or put at the bottom of the doc.  Also, it should say 
that the graph.shutdown will return the connection back to the pool.  I'm 
willing to change it.  How would i do that?

Thanks


On Tuesday, January 27, 2015 at 8:02:41 AM UTC-6, Andrey Lomakin wrote:
>
> HI,
> No, not this one.,
> Please do following:
>
> graphFactory = new OrientGrpahFactory();
> graphFactory.setupPool(0, 64);
> graph = graphFactory.getTx();
>
> And yes, connection back to the pool when shutdown is called.
>
>
> On Tue, Jan 27, 2015 at 3:50 PM, alexander anguiano <job...@gmail.com 
> <javascript:>> wrote:
>
>> What pool  is recommended for graph database for 2.0?
>>
>> Is this one?
>>
>> http://www.orientechnologies.com/docs/last/orientdb.wiki/Graph-Factory.html
>>
>> Also, how is the connection returned to the pool.
>>
>> is it when the shutdown is called?
>>
>> I'm trying to trackdown a database pool leak.
>>
>>  -- 
>>
>> --- 
>> 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-databa...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Best regards,
> Andrey Lomakin.
>
>  

-- 

--- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to