Si lo hace:
ctx.getBeansOfType(Datastore).values().each { Datastore d ->
ctx.addApplicationListener new MyPersistenceListener(d)
}
Esto debería funcionar sin necesidad de instalar el complemento de Hibernate
Si lo hace:
ctx.getBeansOfType(Datastore).values().each { Datastore d ->
ctx.addApplicationListener new MyPersistenceListener(d)
}
Esto debería funcionar sin necesidad de instalar el complemento de Hibernate