RE: Tomcat and long startup time (hibernate)

2006-11-29 Thread snowtoad
Thanks Mike, I will have a look at your patch, I am glad you have seen the significant speedup. I am also fairly new to the hibernate code base, did you also have to modify the collections persisters? or is all byte code instrumentation done at the entity level? It would be a huge win if Max

Re: Tomcat and long startup time (hibernate)

2006-11-28 Thread snowtoad
Hi Mike, Check out the following bug report, I had a similar issue and my solution was to modify the hibernate session factory so that it only instruments persistent objects as they are encountered for the first time. I attached a patch to the bug report which is a modified session factory that