How would I turn on debug for cglib?  looking at the api, it seems like the
method for setDebug can't be accessed outside the package.  Is there
something in addition I would have to do to get the class files to be dumped
to the directory?  Right now, setting the cglib.debugLocation property
doesn't seem to do anything when Hibernate initializes.

-----Original Message-----
From: Juozas Baliuka [mailto:[EMAIL PROTECTED]
Sent: Monday, September 29, 2003 1:21 AM
To: Mao, Dean (IHG); [EMAIL PROTECTED]
Subject: Re: [Hibernate] Caching cglib generated runtime proxies?


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

Reply via email to