this help. but it still not allow me to cast it to the real object. so after
looking around, this is the solution that i found :
| if (node instanceof HibernateProxy) {
| node = (Node) ((HibernateProxy)
node).getHibernateLazyInitializer()
| .getImplementation();
| }
|
then i can do something like :
| if (node instanceof TaskNode) {
| taskNode = (TaskNode) node;
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960593#3960593
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960593
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user