code: private synchronized void open() throws DatabaseException {
          try {
              if (!isOpen()) {
                  connection = connectionFactory.getConnection();
                  final String databaseProductName = determineDatabaseProductName(this.connection);
                  statementBundle = databaseProductName != null
                          ? ResourceBundle.getBundle("data/dbStatements", new Locale(databaseProductName))
                          : ResourceBundle.getBundle("data/dbStatements");
                  prepareStatements();
                  databaseProperties = new DatabaseProperties(this);
              }
          } catch (DatabaseException e) {
              releaseResources();
              throw e;
          }
      }
docs: Opens the database connection. If the database does not exist, it will
  create a new one.
  
  @throws DatabaseException thrown if there is an error opening the
  database connection