if (iURL.contains("/")) {
// OPEN DB
out.print("Connecting to database [" + iURL + "] with user '" + iUserName + "'...");
currentDatabase = new ODatabaseDocumentTx(iURL);
if (currentDatabase == null)
throw new OException("Database " + iURL + " not found");
currentDatabase.open(iUserName, iUserPassword);
currentDatabaseName = currentDatabase.getName();