Toolset to dynamically create Hibernate Restrictions. OpenSessionInView and OpenSessionInConversation implementations