'hibernate.dialect' must be set when no Connection available error

前端 未结 9 1864
误落风尘
误落风尘 2021-02-20 01:22

I am getting the following error when using Hibernate:

\'hibernate.dialect\' must be set when no Connection available

And I am using a datasource fo

9条回答
  •  伪装坚强ぢ
    2021-02-20 01:45

    Just encountered this issue. In my case it was the hibernate.dialect configuration.I added the following to SessionFatcory config in spring context file:

    
        
            
                com.testapp.service.geolocation.LocationData
                com.testapp.service.profiles.Profile
            
            
         
            hibernate.dialect=org.hibernate.dialect.HSQLDialect
        
     
    

提交回复
热议问题