Databinder.ensureSession

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Databinder.ensureSession

crasmussen
This might have been answered on the old forum, but the link no longer works.

I'm trying to get the Hibernate session on a JMS consumer thread. I thought that the Databinder.ensureSession method was designed to handle such a case, but I'm getting the dreaded "There is no application attached to current thread" exception.

Any ideas?

Clark