Hi all. I'm writing a JAVA/SWT application over Spring/hibernate/MySQL.
Everithink works well, apart from the fact that each time
I start the application, the hbm.xml mapping files parsing
took very long. This is quite boring in order to perform automatic testing
especiallly, but for application every-day use as well.
In the hibernate site I found this:
http://www.hibernate.org/194.html
explainig how to "cache" the parsed objects into a file and
then lazy inizializing them t startup.
I have no idea about how to translate this into spring..
someone can please help?
thanks
davide
ps
I'm currently using this to create the context:
ApplicationContext applicationContext =new FileSystemXmlApplicationContext(application_contex t_xml_file_path)


Reply With Quote