There is system property in cglib "cglib.debugLocation" , if you will set it cglib will dump classes to this directory, but you will need to modify hibernate or cglib factories to use "Class.forName".
----- Original Message ----- From: "Mao, Dean (IHG)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 29, 2003 7:56 AM Subject: [Hibernate] Caching cglib generated runtime proxies? > Hi All, > > I'm wondering if it's possible to do some generated-code at build time > instead of generating the proxies at runtime. I'm using hibernate for a > swing application and the majority of the initialization time is taken up by > hibernate's initialization of the configuration object. (I've already sped > up some of it using ideas from Andrea by using the Jade RealtimeParser and > setting the xml validation to false) When I look at the profiler, it's > always the same proxies that are being generated by cglib. Is there some > way to persist some proxies at build time so that startup runtime time is > shortened? > > > > > ------------------------------------------------------- > 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 ------------------------------------------------------- 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