|
From: <jue...@we...> - 2003-12-01 17:06:09
|
Hi Matthew, We've been discussing that for a while. If Hibernate 2.1 gets final = early enough (and it seems to, being already in RC1 stage), we will = switch to it for our 1.0 RCs. If 2.1 would still be far from final, we = would probably have to support both CGLIB1 and CGLIB2 somehow. = Fortunately, that seems not to be necessary anymore! For the time being, if you don't proxy full classes (but just = interfaces) or don't use Spring AOP in the first place, you should be = able to work with Hibernate 2.1 and its CGLIB2 without hassle. The same = will apply to Hibernate 2.0 users after we've moved to CGLIB2: You don't = need to worry if you don't use Spring AOP will full proxies. I think we can live with requiring an update to Hibernate 2.1 if a user = wants full AOP proxies in combination. Actually, we probably *need* to = move to CGLIB2 once Hibernate 2.1 final is released: Power users will = want to combine full Spring AOP proxying with the current Hibernate = version, not with a previous one. Now it would be really great if CGLIB2 were final too until Spring 1.0 = final! :-) It's no problem to ship a CGLIB2 beta with our upcoming = Spring 1.0 RC1, but it worries me to include a CGLIB2 beta in Spring 1.0 = final. Haven't the Hibernate guys the same problem? Or are they fine = with shipping a CGLIB2 beta with Hibernate 2.1 final? So I suggest to release our 1.0 RC1 shortly after Hibernate 2.1 final, = already with CGLIB2 support. As I said, we will just force users with = full AOP proxies to upgrade to Hibernate 2.1 if using the two in = combination. We could release a 1.0 M4 shortly before that though, still = with CGLIB1 - to ease migration paths for Hibernate 2.0 users. Juergen -----Original Message----- From: spr...@li... [mailto:spr...@li...]On Behalf Of Matthew E. Porter Sent: Monday, December 01, 2003 5:06 PM To: spr...@li... Subject: [Springframework-developer] Hibernate 2.1 and CGLIB I have looked through the mailing list archives but was unable to find=20 the answer to my question. Will Spring move to support Hibernate 2.1=20 (as it is the new *recommended* version) and, if so, when? Also, does anyone know if I can use it now with the cglib version=20 change? Cheers, matthew ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |