davesykes
Apr 5th, 2006, 11:59 AM
Firstly, thanks for the jcr springmodule, it's making my life a lot easier.
I have been trying to get a test app going that uses a Spring MVC web front end, and Jackrabbit for the back end using the springmodules template.
I am just using the local transaction example based on the sample from springmodules.
All is going well, but when I try accessing the properties of a node in my jsp page I get
javax.jcr.RepositoryException: this session has been closed
Inside the business objects the same calls work fine.
I guess I am looking for something similar to the hibernate OpenSessionInViewFilter, is there anything like this for the jcr implementation?
If not, is the best option to create a set of transport objects that I can copy the information from the nodes/properties into and pass on to the view?
Thanks,
Dave Sykes
I have been trying to get a test app going that uses a Spring MVC web front end, and Jackrabbit for the back end using the springmodules template.
I am just using the local transaction example based on the sample from springmodules.
All is going well, but when I try accessing the properties of a node in my jsp page I get
javax.jcr.RepositoryException: this session has been closed
Inside the business objects the same calls work fine.
I guess I am looking for something similar to the hibernate OpenSessionInViewFilter, is there anything like this for the jcr implementation?
If not, is the best option to create a set of transport objects that I can copy the information from the nodes/properties into and pass on to the view?
Thanks,
Dave Sykes