Hey all,
I've spent the last month investigating Groovy, Grails, Gorm and
Hibernate to see how to build a fully dynamic ORM layer on top of
Groovy.
My final decision is to move to Cayenne because it fully supports
dynamic loading. Here is a nabble post I made with the relevant
information (the last post has the final code working with a dynamic
load of Cayenne and dynamic compile of Groovy classes):
http://cayenne.195.n3.nabble.com/ClassLoader-vs-GroovyClassLoader-td1837050.html#a1837050
I'm thinking of starting an open source project based upon this
information, something that doesn't couple itself to Grails (or any
container for that matter), just an open source ORM layer for Groovy
using Cayenne. I found it to be MUCH easier then trying to make
Hibernate support the dynamic nature of Groovy.
I'm posting this here because it appears that we are all trying to
reach a similar goal and I thought you might find some luck looking at
Cayenne, if you get Hibernate to work then you have my complete
respect :)