Hibernate session (from Spring bean) during wicketapplication startup

2010-05-24 Thread pieter claassen
I try to bootstrap my MySQL database during the wicket application strartup but get the following error with a bootstrap method in my wicketapplication.java. How should I best get hold of a transaction during my wicket startup or if this is not possible, what is the most appropriate alternative?

Re: Hibernate session (from Spring bean) during wicketapplication startup

2010-05-24 Thread Igor Vaynberg
pull the platformtransactionmanager out and start a transaction manually, or use @transactional annotation on some bean managed by spring. -igor On Mon, May 24, 2010 at 10:53 PM, pieter claassen pie...@claassen.co.uk wrote: I try to bootstrap my MySQL database during the wicket application