Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Object Relational Mapping
ClassCastException from Domain object to CGLIB??? Why is it trying to cast that way
Joined: Feb 05, 2001
Oct 12, 2009 20:29:54
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
Two Laptop Bag
How to Ask Questions the Smart Way FAQ
subject: ClassCastException from Domain object to CGLIB??? Why is it trying to cast that way
Calling java program from groovy...
SCJP: playing with inheritance and when what calls what.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013