Register / Login
Object Relational Mapping
ClassCastException from Domain object to CGLIB??? Why is it trying to cast that way
posted 6 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
SCJP: playing with inheritance and when what calls what.
Calling java program from groovy...