--
---
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.
For more options, visit https://groups.google.com/groups/opt_out.
Thanks!
You received this message because you are subscribed to a topic in the Google Groups "OrientDB" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/orient-database/oFYb96sM7Jg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to orient-databa...@googlegroups.com.
Create document database and pass it in OrientGraph it is a bit inconvenient
--
---
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.
For more options, visit https://groups.google.com/groups/opt_out.
ODatabaseDocumentPool pool = new ODatabaseDocumentPool(url, user, password);
...
ODatabaseDocumentTx db = null;try { db = pool.acquire(); final OSQLSynchQuery<ODocument> query = getQuery(params); List<ODocument> queryResult = db.query(query, paramsMap); return results;} catch(Exception e) { e.printStackTrace();} finally { if (isNotNull(db)) db.close();}