Re: [hibernate-dev] CGLIB

2010-05-12 Thread Hardy Ferentschik
Seems it is a simple choice after all. Let's just drop it. --Hardy On Wed, 12 May 2010 10:41:38 +0200, Strong Liu wrote: > that cglib with annotations issue only shows when using cglib to > instrument the domain class in compile time. > > but I'd agree with drop it, actually i'm happy with th

Re: [hibernate-dev] CGLIB

2010-05-12 Thread Strong Liu
that cglib with annotations issue only shows when using cglib to instrument the domain class in compile time. but I'd agree with drop it, actually i'm happy with that :D, cglib issues has taken too much time from us On May 12, 2010, at 4:10 PM, Emmanuel Bernard wrote: > I fixed the bug where f

Re: [hibernate-dev] CGLIB

2010-05-12 Thread Emmanuel Bernard
I fixed the bug where field level annotations are swallowed (patch not applied by the CGLIB team though) http://sourceforge.net/tracker/index.php?func=detail&aid=2796998&group_id=56933&atid=482368 But I could not fix the bug where generics information is simply swallowed (not enough internal kn

Re: [hibernate-dev] CGLIB

2010-05-11 Thread Steve Ebersole
I thought one of the issues was that cglib does not handle annotations?  That's a pretty big 'workaround' if that's the case. -- Sent from my Palm Pre st...@hibernate.org http://hibernate.orgOn May 11, 2010 1:06 PM, Strong Liu wrote: these are the issues Steve mentioned bel

Re: [hibernate-dev] CGLIB

2010-05-11 Thread Steve Ebersole
Afaik it simply a matter of what library you might already be using.  I have heard it or javassist do one thing better or faster, but I have not seen any evidence of that (nor have I tried to quantify). -- Sent from my Palm Pre st...@hibernate.org http://hibernate.orgOn May 11, 2010 9:34 AM, Ha

Re: [hibernate-dev] CGLIB

2010-05-11 Thread Strong Liu
these are the issues Steve mentioned below: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4703 https://jira.jboss.org/jira/browse/JBPAPP-2971 to be fair, these issues can be workaround, and we already have patches, users who run into these issues can pick up our patch for cglib a

Re: [hibernate-dev] CGLIB

2010-05-11 Thread Hardy Ferentschik
Is there any advantage of CGLIB over javassist? On Tue, 11 May 2010 16:24:12 +0200, Steve Ebersole wrote: > I think the time has come to drop CGLIB support :( It is just becoming > near impossible to get them to respond to issues. We even recently sent > them 2 patches of major issues and st

[hibernate-dev] CGLIB

2010-05-11 Thread Steve Ebersole
I think the time has come to drop CGLIB support :( It is just becoming near impossible to get them to respond to issues. We even recently sent them 2 patches of major issues and still cannot get them to apply the changes upstream and cut releases. So that leaves us the choice of deprecating CGLI

[hibernate-dev] CGLIB proxy policy

2008-05-21 Thread Shahiduzzaman
In the CGLIBLazyInitializer class callbacks are created for the proxy class. Two callback types are registered - InvocationHandler.class, NoOp.class. And the callback filter is setup in the following way - private static final CallbackFilter FINALIZE_FILTER = new CallbackFilter() { publi

Re: [hibernate-dev] CGLIB

2008-05-20 Thread Mark Hobson
2008/5/20 Emmanuel Bernard <[EMAIL PROTECTED]>: > Maybe you can write a jarjarjar maven plugin ;) Check the maven-shade-plugin for similar functionality: http://maven.apache.org/plugins/maven-shade-plugin/index.html Mark ___ hibernate-dev mailing list

Re: [hibernate-dev] CGLIB

2008-05-20 Thread Emmanuel Bernard
Maybe you can write a jarjarjar maven plugin ;) On May 20, 2008, at 13:28, Steve Ebersole wrote: Since it is really ASM for which we are interested in isolation, I guess we would take the cglib-nodep jar which 'bundles' ASM as net.sf.cglib.asm (perhaps via jarjar as well) and run jarjar on

Re: [hibernate-dev] CGLIB

2008-05-20 Thread Steve Ebersole
Since it is really ASM for which we are interested in isolation, I guess we would take the cglib-nodep jar which 'bundles' ASM as net.sf.cglib.asm (perhaps via jarjar as well) and run jarjar on that to repackage net.sf.cglib -> org.hibernate.cglib (or some-such). Is that your understanding

Re: [hibernate-dev] CGLIB

2008-05-19 Thread Max Ross
jarjar can be a good option when you're looking to avoid version conflicts. Guice uses this to depend on a specific version of cglib. On Mon, May 19, 2008 at 1:29 PM, Steve Ebersole <[EMAIL PROTECTED]> wrote: > Our (default) dependency on CGLIB is starting to c

[hibernate-dev] CGLIB

2008-05-19 Thread Steve Ebersole
Our (default) dependency on CGLIB is starting to cause problems due to other libraries using newer versions of ASM (3.x) then the released versions of CGLIB use (2.x). We have now been waiting about a year for a new CGLIB release to use these newer ASM APIs. With 3.3 being eminent, we nee