@Deprecated
    public synchronized ODatabaseSession getSession(String username, String password) {
        String orientdbVersion = Arrays
            .stream(this.getContainerInfo().getConfig().getEnv())
            .filter(env -> env.startsWith("ORIENTDB_VERSION"))
            .map(env -> env.split("=")[1])
            .findFirst()
            .orElseThrow(() -> new IllegalStateException("no required env var"));
        boolean isGreaterThan32 = new ComparableVersion(orientdbVersion).isGreaterThanOrEqualTo("3.2.0");
        if (isGreaterThan32) {
            String script = String.format(
                "CREATE DATABASE %s plocal users(%s identified by '%s' role admin)",
                databaseName,
                username,
                password
            );
            if (!orientDB.exists(databaseName)) {
                orientDB.execute(script);
            }
        } else {
            orientDB.createIfNotExists(databaseName, ODatabaseType.PLOCAL);
        }
        if (session == null) {
            session = orientDB.open(databaseName, username, password);

            scriptPath.ifPresent(path -> loadScript(path, session));
        }
        return session;
    }
@deprecated use {@link #OrientDBContainer(DockerImageName)} instead
modules/orientdb/src/main/java/org/testcontainers/containers/OrientDBContainer.java