docs: protected Session createSession() throws Exception {
          Config config = configBean.getConfig();
          DataSource dataSource = InitialContext.doLookup(config.getDataSourceJNDI());
          return new Session(dataSource, config.getDialect());
      }