Hi:
If I use the following command to acquire a database instance in one 
particular thread
ODatabaseDocumentPool.global().acquire(..

Can I get the same database instance within the same thread using

ODatabaseRecordThreadLocal.INSTANCE.get() 

The doc says below, does it apply acquire from the pool?

Every time you create, open or acquire a database connection, 
the database instance is *automatically* set into the current ThreadLocal 
<http://download.oracle.com/javase/6/docs/api/java/lang/ThreadLocal.html> space,

Thanks

-- 

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