hibernate - Unable to access java.sql.DatabaseMetaData -
i trying make hibernate project using maven after running application, giving me below error :
slf4j: failed load class "org.slf4j.impl.staticloggerbinder". slf4j: defaulting no-operation (nop) logger implementation slf4j: see http://www.slf4j.org/codes.html#staticloggerbinder further details. initial sessionfactory creation failed.org.hibernate.hibernateexception: unable access java.sql.databasemetadata determine appropriate dialect use exception in thread "main" java.lang.exceptionininitializererror @ com.x.student.impl.studentapp.<init>(studentapp.java:20) @ com.x.student.impl.studentapp.main(studentapp.java:33) caused by: org.hibernate.hibernateexception: unable access java.sql.databasemetadata determine appropriate dialect use @ org.hibernate.dialect.resolver.dialectfactory.determinedialect(dialectfactory.java:140) @ org.hibernate.dialect.resolver.dialectfactory.builddialect(dialectfactory.java:96) @ org.hibernate.cfg.settingsfactory.buildsettings(settingsfactory.java:117) @ org.hibernate.cfg.configuration.buildsettingsinternal(configuration.java:2836) @ org.hibernate.cfg.configuration.buildsettings(configuration.java:2832) @ org.hibernate.cfg.configuration.buildsessionfactory(configuration.java:1843) @ com.x.student.impl.studentapp.<init>(studentapp.java:16) ... 1 more caused by: java.sql.sqlexception: unsupported feature @ oracle.jdbc.dbaccess.dberror.throwsqlexception(dberror.java:134) @ oracle.jdbc.dbaccess.dberror.throwsqlexception(dberror.java:179) @ oracle.jdbc.dbaccess.dberror.throwsqlexception(dberror.java:269) @ oracle.jdbc.dbaccess.dberror.throwunsupportedfeaturesqlexception(dberror.java:689) @ oracle.jdbc.oracledatabasemetadata.getdatabasemajorversion(oracledatabasemetadata.java:4442) @ org.hibernate.dialect.resolver.dialectfactory.determinedialect(dialectfactory.java:130) ... 7 more
Comments
Post a Comment