Isn't the reason for this that you get a hibernate proxy for the node instead of the
real Node. The class hierarchy is not known by this proxy. you can retrieve the real
object and try typing there...
| public static Object getProxiedObject(Object proxy) {
| if (proxy instanceof HibernateProxy) {
| LazyInitializer initializer = ((HibernateProxy) proxy)
| .getHibernateLazyInitializer();
| return initializer.getImplementation();
| }
|
| return proxy;
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986534#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...