Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Object Relational Mapping and the fly likes OpenEntityManagerInViewFilter doesn't work on Glassfish Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "OpenEntityManagerInViewFilter doesn Watch "OpenEntityManagerInViewFilter doesn New topic
Author

OpenEntityManagerInViewFilter doesn't work on Glassfish

Boris Romashov
Ranch Hand

Joined: Feb 23, 2009
Posts: 38
My project is built on Spring + JPA + Hibernate.
In my web.xml I have


JPA Entity:


Controller:


JSP:


In Tomcat JSP shows master field properly, in Glassfish it displays null.
Why ?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: OpenEntityManagerInViewFilter doesn't work on Glassfish
 
Similar Threads
Error 500: Filter [Spring OpenEntityManagerInViewFilter]: could not be loaded
Unable to incluse a css file in spring
OpenEntityManagerInViewFilter on Glassfish doesn't work
Need Spring 3.0 help with annotations/setup
JSF 2 : hibernate session problem in manadged beans