spring open entity manage in view filter configuration


/ Published in: XML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <filter>
  2. <filter-name>SpringOpenEntityManagerInViewFilter</filter-name>
  3. <filter-class>
  4. org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter
  5. </filter-class>
  6. </filter>
  7.  
  8. <filter-mapping>
  9. <filter-name>SpringOpenEntityManagerInViewFilter</filter-name>
  10. <url-pattern>/*</url-pattern>
  11. </filter-mapping>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.