Thanks for the reply.
I've looked at this issue in hibernate's JIRA and I noticed a post you
made about the possibility of moving the laziness into the
EntityPersistor instead. From my previous experience the majority of
the hibernate startup time is building the proxy objects (cglib) for
lazy entities.
I've made some changes locally which has sped up the hibernate startup
time significantly. I've posted on the JIRA under the issue you
mentioned
-----Original Message-----
From: snowtoad [mailto:tkv@(protected)]
Sent: 28 November 2006 17:38
To: users@(protected)
Subject: Re: Tomcat and long startup time (hibernate)
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 implements the on-demand instrumentation. This greatly
reduces the startup time of hibernate.
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1258
--
http://www.nabble.com/Tomcat-and-long-startup-time-%28hibernate%29-tf267
7735.html#a7583744
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)
This e-mail is bound by the terms and conditions described at http://www.subexazure.com/mail-disclaimer.html
---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)