Register / Login
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Object Relational Mapping
ClassCastException from Domain object to CGLIB??? Why is it trying to cast that way
posted 7 years ago
Anyone ever come across the scenario where you eager fetched some Domains so that they are the real domain object, that later when accessing them Hibernate tried to cast them to CGLib Proxies instead?
Our Domain objects are Groovy, so it is possible that Groovy is doing something weird accessing the class attribute.
Perfect World Programming, LLC
How to Ask Questions the Smart Way FAQ
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
Boost this thread!
SCJP: playing with inheritance and when what calls what.
Calling java program from groovy...