groovy> c = Customer.get(1)
groovy> c.sites
Result:
=======================
and in the terminal window where I launched grails console, I get the same stack trace as before:
[41123] hibernate.LazyInitializationException failed to lazily initialize a collection of role: Customer.sites, no session or session was closed
[snip the rest]
This is grails 1.0 running on a Mac, BTW. Just in case this problem is caused by a plugin, I've just created a brand new app and added a simple pair of Customer / Site objects. Same error unfortunately.
Jon