I posted a question a few days ago mentionning Spring's OpenEntityManagerInViewFilter: http://stackoverflow.com/questions/2385858/uirepeat-inside-a-uirepeat-and-lazyinitexception
What I'd like to know is of a way to test if an EntityManager is available during a request. What is a good way of doing this?