This content has been marked as final.
Show 2 replies
-
1. Re: Cast problem
kukeltje Jul 23, 2008 6:41 PM (in response to jcarlos_andia)yes, you get from what I remeber from reading the forums, you get hibernate proxies back, not real classes. Search the forum for some tips
-
2. Re: Cast problem
jcarlos_andia Jul 24, 2008 11:01 AM (in response to jcarlos_andia)Yes, it was a proxy related issue. Solved it with:
((MyClass)((HibernateProxy)myProxy).getHibernateLazyInitializer().getImplementation())
Thanks kukeltje.