1. 24793 [main] WARN org.hibernate.cfg.SettingsFactory - Could not obtain connection metadata coderanch.comhello i m trying hibernate example using Oracle the same code has executed successfully for me using mysql but whenever i tried it using oracle its giving me error specifying 24793 [main] WARN org.hibernate.cfg.SettingsFactory - Could not obtain connection metadata the complete log is as follows : 797 [main] INFO org.hibernate.annotations.common.Version - Hibernate Commons Annotations 3.2.0.Final 859 [main] INFO org.hibernate.cfg.Environment - ... |
2. error in org.hibernate.cfg.SettingsFactory.buildSettings(.)? forum.hibernate.orgHello, I think I have found an error in org.hibernate.cfg.SettingsFactory.buildSettings(Properties props) impelementation. The problem is in folowing code-fragment of SettingsFactory class: Code: public Settings buildSettings(Properties props) { Settings settings = new Settings(); //SessionFactory name: String sessionFactoryName = props.getProperty(Environment.SESSION_FACTORY_NAME); ... |