How to Handle Error :- ERROR: HHH000319: Could not get database metadata org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Database may be already in use: null. Possible solutions: close all other connection(s); use the server mode [90020-196])
I am getting error while making project: ERROR: HHH000319: Could not get database metadata org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Database may be already in use: null. Possible solutions: close all other connection(s); use the server mode [90020-196])
There are following steps to solve the error and Exception code:
This is the problem while you are using Spring and Hibernate with H2 Database. you'll be doing same like below: