I am trying to do batch insert with GORM and I try to clear session after every 50 insert. and I try this for get sessionFactory
def sessionFactory
but when I try to use sessionFactory.currentSession it returns Null Pointer Exception because sessionFactory is null. Do u know why is that?
i believe Burt’s reply on a similar question will help you with this.
by the way, you can subscribe to grails turkey group 🙂