grails - Could not determine Hibernate dialect for database name [NuoDB]! -


i trying build groovy project based on gorm, nuodb. getting error - could not determine hibernate dialect database name [nuodb]!

the weird thing works mysql. initial suspect database configuration nuodb, checked , re-checked configuration parameters, per provided here nuodb docs

i upgraded grails-datastore-gorm-hibernate4 version 3.1.1.release 1.1.0, discussed here same issue sof question

the application i'm building based on example presented using gorm standalone (without grails) - github link

i not able understand if problem due specific grails version, or due nuodb. possible grails/gorm not support nuodb yet ?

my application.properties -

spring.datasource.driverclassname=com.nuodb.hibernate.nuohibernatedriver spring.datasource.url=jdbc:com.nuodb.hib://localhost/test spring.datasource.username=username spring.datasource.password=password #spring.datasource.hibernate.dialect=com.nuodb.hibernate.nuodbdialect #spring.datasource.dialect=com.nuodb.hibernate.nuodbdialect hibernate.dialect:com.nuodb.hibernate.nuodbdialect hibernate.show_sql:true hibernate.hbm2ddl.auto:create entitymanager.packagestoscan:com.mypackage cache.provider_class =net.sf.ehcache.hibernate.ehcacheprovider 

i tried experimenting various key values dialect parameter, none worked.

my build.gradle -

enter buildscript { repositories { maven { url "https://repo.spring.io/libs-release" } mavenlocal() mavencentral() } dependencies {    classpath("org.springframework.boot:spring-boot-gradle-plugin:1.1.9.release")  } } apply plugin: 'java' apply plugin: 'eclipse' apply plugin: 'groovy' apply plugin: 'spring-boot'  repositories {    maven  {      url "http://repo1.maven.org/maven2"  }  }  dependencies {    compile("org.springframework.boot:spring-boot-starter")    //compile("org.grails:gorm-hibernate4-spring-boot:1.1.0.release")    compile "org.grails:grails-datastore-gorm-hibernate4:3.1.1.release"    //runtime 'mysql:mysql-connector-java:5.1.29'    runtime 'org.apache.tomcat:tomcat-jdbc'    runtime group: 'com.nuodb.jdbc', name: 'nuodb-jdbc', version: '2.3.1'    runtime group: 'com.nuodb.hibernate', name: 'nuodb-hibernate', version: '2.3.1'    testcompile ('org.spockframework:spock-core:1.0-groovy-2.3') {    exclude module: "junit-dep"    exclude module: "groovy-all"   }   testcompile("org.springframework.boot:spring-boot-starter-test")   testcompile('org.spockframework:spock-spring:1.0-groovy-2.3')   testcompile("junit:junit")  }  task wrapper(type: wrapper) {    gradleversion = '2.1' } 

the error logs stacktrace :

2016-09-23 13:28:08.333  info 6228 --- [           main] trationdelegate$beanpostprocessorchecker : bean 'transactioninterceptor' of type [class org.springframework.transaction.interceptor.transactioninterceptor] not eligible getting processed beanpostprocessors (for example: not eligible auto-proxying) 2016-09-23 13:28:08.346  info 6228 --- [           main] trationdelegate$beanpostprocessorchecker : bean 'org.springframework.transaction.config.internaltransactionadvisor' of type [class org.springframework.transaction.interceptor.beanfactorytransactionattributesourceadvisor] not eligible getting processed beanpostprocessors (for example: not eligible auto-proxying) 2016-09-23 13:28:27.309  warn 6228 --- [           main] s.c.a.annotationconfigapplicationcontext : exception encountered during context initialization - cancelling refresh attempt  org.springframework.beans.factory.beancreationexception: error creating bean name 'com.orange.kbu.domain.apidatavalidator': cannot resolve reference bean 'sessionfactory' while setting bean property 'sessionfactory'; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'sessionfactory': cannot resolve reference bean 'hibernateproperties' while setting bean property 'hibernateproperties'; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'hibernateproperties': cannot resolve reference bean 'dialectdetector' while setting bean property 'properties' key [hibernate.dialect]; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'dialectdetector': invocation of init method failed; nested exception org.codehaus.groovy.grails.orm.hibernate.exceptions.couldnotdeterminehibernatedialectexception: not determine hibernate dialect database name [nuodb]! @ org.springframework.beans.factory.support.beandefinitionvalueresolver.resolvereference(beandefinitionvalueresolver.java:336) @ org.springframework.beans.factory.support.beandefinitionvalueresolver.resolvevalueifnecessary(beandefinitionvalueresolver.java:108) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.applypropertyvalues(abstractautowirecapablebeanfactory.java:1457) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.populatebean(abstractautowirecapablebeanfactory.java:1198) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.docreatebean(abstractautowirecapablebeanfactory.java:537) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbean(abstractautowirecapablebeanfactory.java:475) @ org.springframework.beans.factory.support.abstractbeanfactory$1.getobject(abstractbeanfactory.java:302) @ org.springframework.beans.factory.support.defaultsingletonbeanregistry.getsingleton(defaultsingletonbeanregistry.java:228) @ org.springframework.beans.factory.support.abstractbeanfactory.dogetbean(abstractbeanfactory.java:298) @ org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:193) @ org.springframework.beans.factory.support.defaultlistablebeanfactory.preinstantiatesingletons(defaultlistablebeanfactory.java:706) @ org.springframework.context.support.abstractapplicationcontext.finishbeanfactoryinitialization(abstractapplicationcontext.java:762) @ org.springframework.context.support.abstractapplicationcontext.refresh(abstractapplicationcontext.java:482) @ org.springframework.boot.springapplication.refresh(springapplication.java:691) @ org.springframework.boot.springapplication.run(springapplication.java:320) @ org.springframework.boot.springapplication.run(springapplication.java:952) @ org.springframework.boot.springapplication.run(springapplication.java:941) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:606) @ org.codehaus.groovy.reflection.cachedmethod.invoke(cachedmethod.java:90) @ groovy.lang.metamethod.domethodinvoke(metamethod.java:324) @ org.codehaus.groovy.runtime.callsite.staticmetamethodsite.invoke(staticmetamethodsite.java:43) @ org.codehaus.groovy.runtime.callsite.staticmetamethodsite.call(staticmetamethodsite.java:88) @ org.codehaus.groovy.runtime.callsite.callsitearray.defaultcall(callsitearray.java:45) @ org.codehaus.groovy.runtime.callsite.abstractcallsite.call(abstractcallsite.java:108) @ org.codehaus.groovy.runtime.callsite.abstractcallsite.call(abstractcallsite.java:116) @ com.orange.kbu.application2.main(application2.groovy:74) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:606) @ org.codehaus.groovy.reflection.cachedmethod.invoke(cachedmethod.java:90) @ groovy.lang.metamethod.domethodinvoke(metamethod.java:324) @ groovy.lang.metaclassimpl.invokestaticmethod(metaclassimpl.java:1439) @ org.codehaus.groovy.runtime.invokerhelper.invokemethod(invokerhelper.java:875) @ groovy.lang.groovyshell.runscriptormainortestorrunnable(groovyshell.java:265) @ groovy.lang.groovyshell.run(groovyshell.java:502) @ groovy.lang.groovyshell.run(groovyshell.java:491) @ groovy.ui.groovymain.processonce(groovymain.java:650) @ groovy.ui.groovymain.run(groovymain.java:381) @ groovy.ui.groovymain.process(groovymain.java:367) @ groovy.ui.groovymain.processargs(groovymain.java:126) @ groovy.ui.groovymain.main(groovymain.java:106) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:606) @ org.codehaus.groovy.tools.groovystarter.rootloader(groovystarter.java:106) @ org.codehaus.groovy.tools.groovystarter.main(groovystarter.java:128) caused by: org.springframework.beans.factory.beancreationexception: error creating bean name 'sessionfactory': cannot resolve reference bean 'hibernateproperties' while setting bean property 'hibernateproperties'; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'hibernateproperties': cannot resolve reference bean 'dialectdetector' while setting bean property 'properties' key [hibernate.dialect]; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'dialectdetector': invocation of init method failed; nested exception org.codehaus.groovy.grails.orm.hibernate.exceptions.couldnotdeterminehibernatedialectexception: not determine hibernate dialect database name [nuodb]! @ org.springframework.beans.factory.support.beandefinitionvalueresolver.resolvereference(beandefinitionvalueresolver.java:336) @ org.springframework.beans.factory.support.beandefinitionvalueresolver.resolvevalueifnecessary(beandefinitionvalueresolver.java:108) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.applypropertyvalues(abstractautowirecapablebeanfactory.java:1457) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.populatebean(abstractautowirecapablebeanfactory.java:1198) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.docreatebean(abstractautowirecapablebeanfactory.java:537) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbean(abstractautowirecapablebeanfactory.java:475) @ org.springframework.beans.factory.support.abstractbeanfactory$1.getobject(abstractbeanfactory.java:302) @ org.springframework.beans.factory.support.defaultsingletonbeanregistry.getsingleton(defaultsingletonbeanregistry.java:228) @ org.springframework.beans.factory.support.abstractbeanfactory.dogetbean(abstractbeanfactory.java:298) @ org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:193) @ org.springframework.beans.factory.support.beandefinitionvalueresolver.resolvereference(beandefinitionvalueresolver.java:328) ... 50 common frames omitted caused by: org.springframework.beans.factory.beancreationexception: error creating bean name 'hibernateproperties': cannot resolve reference bean 'dialectdetector' while setting bean property 'properties' key [hibernate.dialect]; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'dialectdetector': invocation of init method failed; nested exception org.codehaus.groovy.grails.orm.hibernate.exceptions.couldnotdeterminehibernatedialectexception: not determine hibernate dialect database name [nuodb]! @ org.springframework.beans.factory.support.beandefinitionvalueresolver.resolvereference(beandefinitionvalueresolver.java:336) @ org.springframework.beans.factory.support.beandefinitionvalueresolver.resolvevalueifnecessary(beandefinitionvalueresolver.java:108) @ org.springframework.beans.factory.support.beandefinitionvalueresolver.resolvemanagedmap(beandefinitionvalueresolver.java:384) @ org.springframework.beans.factory.support.beandefinitionvalueresolver.resolvevalueifnecessary(beandefinitionvalueresolver.java:165) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.applypropertyvalues(abstractautowirecapablebeanfactory.java:1457) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.populatebean(abstractautowirecapablebeanfactory.java:1198) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.docreatebean(abstractautowirecapablebeanfactory.java:537) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbean(abstractautowirecapablebeanfactory.java:475) @ org.springframework.beans.factory.support.abstractbeanfactory.dogetbean(abstractbeanfactory.java:321) @ org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:193) @ org.springframework.beans.factory.support.beandefinitionvalueresolver.resolvereference(beandefinitionvalueresolver.java:328) ... 60 common frames omitted caused by: org.springframework.beans.factory.beancreationexception: error creating bean name 'dialectdetector': invocation of init method failed; nested exception org.codehaus.groovy.grails.orm.hibernate.exceptions.couldnotdeterminehibernatedialectexception: not determine hibernate dialect database name [nuodb]! @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.initializebean(abstractautowirecapablebeanfactory.java:1554) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.docreatebean(abstractautowirecapablebeanfactory.java:539) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbean(abstractautowirecapablebeanfactory.java:475) @ org.springframework.beans.factory.support.abstractbeanfactory$1.getobject(abstractbeanfactory.java:302) @ org.springframework.beans.factory.support.defaultsingletonbeanregistry.getsingleton(defaultsingletonbeanregistry.java:228) @ org.springframework.beans.factory.support.abstractbeanfactory.dogetbean(abstractbeanfactory.java:298) @ org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:193) @ org.springframework.beans.factory.support.beandefinitionvalueresolver.resolvereference(beandefinitionvalueresolver.java:328) ... 70 common frames omitted caused by: org.codehaus.groovy.grails.orm.hibernate.exceptions.couldnotdeterminehibernatedialectexception: not determine hibernate dialect database name [nuodb]! @ org.codehaus.groovy.grails.orm.hibernate.support.hibernatedialectdetectorfactorybean.afterpropertiesset(hibernatedialectdetectorfactorybean.java:116) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.invokeinitmethods(abstractautowirecapablebeanfactory.java:1613) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.initializebean(abstractautowirecapablebeanfactory.java:1550) ... 77 common frames omitted  2016-09-23 13:28:27.359  info 6228 --- [           main] .b.l.classpathloggingapplicationlistener : application failed start classpath: [] 2016-09-23 13:28:27.359  info 6228 --- [           main] utoconfigurationreportlogginginitializer :   error starting applicationcontext. display auto-configuration report enabled debug logging (start --debug)   2016-09-23 13:28:27.361 error 6228 --- [           main] o.s.boot.springapplication               : application startup failed  org.springframework.beans.factory.beancreationexception: error creating bean name 'com.orange.kbu.domain.apidatavalidator': cannot resolve reference bean 'sessionfactory' while setting bean property 'sessionfactory'; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'sessionfactory': cannot resolve reference bean 'hibernateproperties' while setting bean property 'hibernateproperties'; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'hibernateproperties': cannot resolve reference bean 'dialectdetector' while setting bean property 'properties' key [hibernate.dialect]; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'dialectdetector': invocation of init method failed; nested exception org.codehaus.groovy.grails.orm.hibernate.exceptions.couldnotdeterminehibernatedialectexception: not determine hibernate dialect database name [nuodb]! @ org.springframework.beans.factory.support.beandefinitionvalueresolver.resolvereference(beandefinitionvalueresolver.java:336) @ org.springframework.beans.factory.support.beandefinitionvalueresolver.resolvevalueifnecessary(beandefinitionvalueresolver.java:108) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.applypropertyvalues(abstractautowirecapablebeanfactory.java:1457) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.populatebean(abstractautowirecapablebeanfactory.java:1198) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.docreatebean(abstractautowirecapablebeanfactory.java:537) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbean(abstractautowirecapablebeanfactory.java:475) @ org.springframework.beans.factory.support.abstractbeanfactory$1.getobject(abstractbeanfactory.java:302) @ org.springframework.beans.factory.support.defaultsingletonbeanregistry.getsingleton(defaultsingletonbeanregistry.java:228) @ org.springframework.beans.factory.support.abstractbeanfactory.dogetbean(abstractbeanfactory.java:298) @ org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:193) @ org.springframework.beans.factory.support.defaultlistablebeanfactory.preinstantiatesingletons(defaultlistablebeanfactory.java:706) @ org.springframework.context.support.abstractapplicationcontext.finishbeanfactoryinitialization(abstractapplicationcontext.java:762) @ org.springframework.context.support.abstractapplicationcontext.refresh(abstractapplicationcontext.java:482) @ org.springframework.boot.springapplication.refresh(springapplication.java:691) @ org.springframework.boot.springapplication.run(springapplication.java:320) @ org.springframework.boot.springapplication.run(springapplication.java:952) @ org.springframework.boot.springapplication.run(springapplication.java:941) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:606) @ org.codehaus.groovy.reflection.cachedmethod.invoke(cachedmethod.java:90) @ groovy.lang.metamethod.domethodinvoke(metamethod.java:324) @ org.codehaus.groovy.runtime.callsite.staticmetamethodsite.invoke(staticmetamethodsite.java:43) @ org.codehaus.groovy.runtime.callsite.staticmetamethodsite.call(staticmetamethodsite.java:88) @ org.codehaus.groovy.runtime.callsite.callsitearray.defaultcall(callsitearray.java:45) @ org.codehaus.groovy.runtime.callsite.abstractcallsite.call(abstractcallsite.java:108) @ org.codehaus.groovy.runtime.callsite.abstractcallsite.call(abstractcallsite.java:116) @ com.orange.kbu.application2.main(application2.groovy:74) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:606) @ org.codehaus.groovy.reflection.cachedmethod.invoke(cachedmethod.java:90) @ groovy.lang.metamethod.domethodinvoke(metamethod.java:324) @ groovy.lang.metaclassimpl.invokestaticmethod(metaclassimpl.java:1439) @ org.codehaus.groovy.runtime.invokerhelper.invokemethod(invokerhelper.java:875) @ groovy.lang.groovyshell.runscriptormainortestorrunnable(groovyshell.java:265) @ groovy.lang.groovyshell.run(groovyshell.java:502) @ groovy.lang.groovyshell.run(groovyshell.java:491) @ groovy.ui.groovymain.processonce(groovymain.java:650) @ groovy.ui.groovymain.run(groovymain.java:381) @ groovy.ui.groovymain.process(groovymain.java:367) @ groovy.ui.groovymain.processargs(groovymain.java:126) @ groovy.ui.groovymain.main(groovymain.java:106) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:606) @ org.codehaus.groovy.tools.groovystarter.rootloader(groovystarter.java:106) @ org.codehaus.groovy.tools.groovystarter.main(groovystarter.java:128) caused by: org.springframework.beans.factory.beancreationexception: error creating bean name 'sessionfactory': cannot resolve reference bean 'hibernateproperties' while setting bean property 'hibernateproperties'; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'hibernateproperties': cannot resolve reference bean 'dialectdetector' while setting bean property 'properties' key [hibernate.dialect]; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'dialectdetector': invocation of init method failed; nested exception org.codehaus.groovy.grails.orm.hibernate.exceptions.couldnotdeterminehibernatedialectexception: not determine hibernate dialect database name [nuodb]! @ org.springframework.beans.factory.support.beandefinitionvalueresolver.resolvereference(beandefinitionvalueresolver.java:336) @ org.springframework.beans.factory.support.beandefinitionvalueresolver.resolvevalueifnecessary(beandefinitionvalueresolver.java:108) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.applypropertyvalues(abstractautowirecapablebeanfactory.java:1457) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.populatebean(abstractautowirecapablebeanfactory.java:1198) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.docreatebean(abstractautowirecapablebeanfactory.java:537) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbean(abstractautowirecapablebeanfactory.java:475) @ org.springframework.beans.factory.support.abstractbeanfactory$1.getobject(abstractbeanfactory.java:302) @ org.springframework.beans.factory.support.defaultsingletonbeanregistry.getsingleton(defaultsingletonbeanregistry.java:228) @ org.springframework.beans.factory.support.abstractbeanfactory.dogetbean(abstractbeanfactory.java:298) @ org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:193) @ org.springframework.beans.factory.support.beandefinitionvalueresolver.resolvereference(beandefinitionvalueresolver.java:328) ... 50 common frames omitted caused by: org.springframework.beans.factory.beancreationexception: error creating bean name 'hibernateproperties': cannot resolve reference bean 'dialectdetector' while setting bean property 'properties' key [hibernate.dialect]; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'dialectdetector': invocation of init method failed; nested exception org.codehaus.groovy.grails.orm.hibernate.exceptions.couldnotdeterminehibernatedialectexception: not determine hibernate dialect database name [nuodb]! @ org.springframework.beans.factory.support.beandefinitionvalueresolver.resolvereference(beandefinitionvalueresolver.java:336) @ org.springframework.beans.factory.support.beandefinitionvalueresolver.resolvevalueifnecessary(beandefinitionvalueresolver.java:108) @ org.springframework.beans.factory.support.beandefinitionvalueresolver.resolvemanagedmap(beandefinitionvalueresolver.java:384) @ org.springframework.beans.factory.support.beandefinitionvalueresolver.resolvevalueifnecessary(beandefinitionvalueresolver.java:165) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.applypropertyvalues(abstractautowirecapablebeanfactory.java:1457) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.populatebean(abstractautowirecapablebeanfactory.java:1198) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.docreatebean(abstractautowirecapablebeanfactory.java:537) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbean(abstractautowirecapablebeanfactory.java:475) @ org.springframework.beans.factory.support.abstractbeanfactory.dogetbean(abstractbeanfactory.java:321) @ org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:193) @ org.springframework.beans.factory.support.beandefinitionvalueresolver.resolvereference(beandefinitionvalueresolver.java:328) ... 60 common frames omitted 

you can try provide hibernate dialect definition via config.groovy. @ least helped me. if take hibernatedialectdetectorfactorybean source code:

            configobject config = grailsapplication != null ? grailsapplication.getconfig() : null;             properties properties = config != null ? config.toproperties() : new properties();             hibernatedialect = dialectfactory.builddialect(properties, connection);             hibernatedialectclassname = hibernatedialect.getclass().getname(); 

dialectfactory requires property hibernate.dialect defined in config. question dialect class should exist! dialectfactory factory either constructs dialect provided dialectname or tries determine registered dialect_resolvers.

i have provided org.hibernate.dialect.oracle10gdialect through config , able start application on oracle 12 in personal case (old hibernate doesn't not have oracle12dialect). hope helps , i'm not mistaken.

another solution define beans , use own applicationcontext-hibernate.xml, put stub datasource.groovy

datasource { dialect = 'any existing dialect name' } 

unfortunately without stub not able start.


Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -