35 classes in 2.5 seconds?  I don't believe you!  I have optimized the
logging too.  How are you getting around the cglib initialization?  The
majority of my hibernate initialization time is consumed by the cglib
creating all its proxy classes.


-----Original Message-----
From: Andrea Aime [mailto:[EMAIL PROTECTED]
Sent: Monday, September 29, 2003 3:27 AM
To: Mao, Dean (IHG)
Cc: '[EMAIL PROTECTED]'
Subject: Re: [Hibernate] Caching cglib generated runtime proxies?


Mao, Dean (IHG) wrote:

>for a startup time of 2.5 seconds, how many persisted classes are you using
>with hibernate?
>  
>
35 classes. Oh, also disabling the logging provides a good improvement:

LogManager manager = LogManager.getLogManager();
manager.reset();

This is a bit crude, better modify the logging levels for hibernate so 
that all the mapping information
printed at startup time is not printed at all.

Best regards
Andrea Aime



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to