I've been getting this error for quiet some time in my application.
I have tested the application on local setup it seems to work fine but when i deploy it on dev ENV i get the below error.
The application seems to run fine at certain times and i get the error some times.
i am clueless on where the problem is.
Below is the stack trace
i have checked my Hibernate.cfg.xml file
there are no duplicate entries
I dont get this error all the times.
we create a new session when a particular factory is selected.