@Override public int getDatabaseMajorVersion() throws DatabaseException { if (connection == null) { return 999; } try { return connection.getDatabaseMajorVersion(); } catch (DatabaseException e) { throw new DatabaseException(e); } }