Hi,
I am using below code for getting a session in a method of serviceImpl class and calling this method from a run method of a
thread class.
SessionFactoryUtils.getSession(getSessionFactory() , false)
but in production i got a hibernate exception and session is closed and exception details are below. This exception is came only once.
Please give me solution for this issue and tell me why it is coming