Here is a simple peace of Java code:

ODatabaseDocumentTx db = new ODatabaseDocumentTx(url);
db.open(user, password);
...

The problem is that when DB host is unavailable db.open() is waiting for 
connection forever. But it simple console application, it must fail if 
there is no DB connection. Is there any way to check DB host availability 
before opening connection?

-- 

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