Connection cannot be null when 'hibernate.dialect' not set

后端 未结 15 1708
悲&欢浪女
悲&欢浪女 2020-12-16 11:12

having more issues with seting up hibernate with spring3. this time it is saying that connection is nul as the dialect is not set which it is on my hibernate.cfg.xml file.

15条回答
  •  情话喂你
    2020-12-16 11:27

    I had the the same problem and the issue was, that my computer was not entered in the pg_hba.conf of the postgres database that allows which Clients(IP-Adresses) are allowed to speak with the database.

    btw: Other users tells that the error raises too if they simply forget starting database service locally

提交回复
热议问题