OpenEntityManagerInViewFilter and testing the presence of an EntityManager
- by James P.
I posted a question a few days ago mentionning Spring's OpenEntityManagerInViewFilter:
http://stackoverflow.com/questions/2385858/uirepeat-inside-a-uirepeat-and-lazyinitexception
An obvious thing that should have been asked and now comes to mind is how to test for the presence of an EntityManager in a JSF project. What is a good way of doing this?