org.hibernate.engine.jdbc.internal.JdbcServicesImpl - HHH000342: Could not obtain connection to query metadata : This ResultSet is closed

Hi Vlad,

Finally today I have resolved this issue!
The problem was with the version of the postgresql installed in my local machine.
It was v10.0.And the dependency postgres jar downloaded by pom.xml was 9.1.

Today I have uninstalled it completely and installed v9.6 and I didn’t get this exception.
It worked.
Thank You. :slight_smile:

2 Likes