Posted By

T1tan on 11/04/09


Tagged

java spring


Versions (?)

spring open entity manage in view filter configuration


 / Published in: XML
 

  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
Posted By: T1tan on November 4, 2009

must go before struts filter-mapping configuration, otherwise nothing will work because of the filters' sequence

You need to login to post a comment.