Ok the Entity class relationship defined on the Department.getUsers is
@javax.persistence.OneToMany and thats on the getter and not the attribute.
So, JSP could not be calling the attribute directly as the LazyInitializationException is
thrown and @OneToMany that would cause it is defined on the getter.
My jboss-aop.xml if defined in a separate jar file in the root of the .ear.
| MyEAR.ear/
| |
| |-----MyEJBClient.jar/
| | |
| | |----- META-INF/jboss-aop.xml
| | |
| | |----- com.mycomp.aop.myinterceptors.*
| | |----- com.mycomp.entity.*
| |
| |-----MyWebApp.war/
| |
| |---- the Servlets + JSP
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231584#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...