}
}
}
configuration.configure(configurationDocument);
configuration.addProperties(frameworkConfiguration.getProperties());
sessionFactory = configuration.buildSessionFactory();
cachedSessionFactories.put(additionalConfigurationPath, sessionFactory);
return sessionFactory;
} catch (ParserConfigurationException e) {
throw new RuntimeException("invalid DOM parser configuration",e);
} catch (SAXException e) {