Interface JDBCMetaDataBasedModelElementFinder.PrivilegedSessionProvider

Enclosing class:
JDBCMetaDataBasedModelElementFinder

public static interface JDBCMetaDataBasedModelElementFinder.PrivilegedSessionProvider
Provides a session with elevated privileges for reading restricted schema metadata.
Author:
Ralf Wisser
  • Method Details

    • askForSessionWithPermissionToReadSchema

      Session askForSessionWithPermissionToReadSchema(Session session, Table view, String schema, String tableName, ExecutionContext executionContext)
      Returns a session with permission to read the given schema, or null if not available.
      Parameters:
      session - the current session
      view - the view or table requiring elevated access
      schema - the schema to access
      tableName - the table name to access
      executionContext - the execution context
      Returns:
      a session with permission to read the schema, or null