code: public Connection getConnection(CmsDbContext dbc) throws SQLException {
  
          if (dbc == null) {
              LOG.error(Messages.get().getBundle().key(Messages.LOG_NULL_DB_CONTEXT_0));
          }
          // match the ID to a JDBC pool URL of the OpenCms JDBC pools {online|offline|backup}
          return getConnectionByUrl(m_poolUrl);
      }
docs: Returns a JDBC connection from the connection pool.<p>
  
  Use this method to get a connection for reading/writing project independent data.<p>
  
  @param dbc the current database context
  
  @return a JDBC connection
  
  @throws SQLException if the project id is not supported