code: public WorkspaceStorageConnection openConnection(boolean readOnly) throws RepositoryException
     {
        try
        {
           if (this.containerConfig.dbStructureType.isMultiDatabase())
           {
              return new PostgreSCSMultiDbJDBCConnection(getJdbcConnection(readOnly), readOnly, containerConfig);
           }
  
           return new PostgreSCSSingleDbJDBCConnection(getJdbcConnection(readOnly), readOnly, containerConfig);
        }
        catch (SQLException e)
        {
           throw new RepositoryException(e);
        }
     }
docs: {@inheritDoc}