|
From: Matthew E. P. <ma...@me...> - 2003-12-01 17:36:51
|
This was a good answer since it provides a roadmap. Can someone post=20 this on the wiki or the website for others who may have the same=20 question? Cheers, matthew On Dec 1, 2003, at 11:04 AM, j=FCrgen h=F6ller [werk3AT] wrote: > Hi Matthew, > > We've been discussing that for a while. If Hibernate 2.1 gets final=20 > early enough (and it seems to, being already in RC1 stage), we will=20 > switch to it for our 1.0 RCs. If 2.1 would still be far from final, we=20= > would probably have to support both CGLIB1 and CGLIB2 somehow.=20 > Fortunately, that seems not to be necessary anymore! > > For the time being, if you don't proxy full classes (but just=20 > interfaces) or don't use Spring AOP in the first place, you should be=20= > able to work with Hibernate 2.1 and its CGLIB2 without hassle. The=20 > same will apply to Hibernate 2.0 users after we've moved to CGLIB2:=20 > 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=20 > user wants full AOP proxies in combination. Actually, we probably=20 > *need* to move to CGLIB2 once Hibernate 2.1 final is released: Power=20= > users will want to combine full Spring AOP proxying with the current=20= > Hibernate version, not with a previous one. > > Now it would be really great if CGLIB2 were final too until Spring 1.0=20= > final! :-) It's no problem to ship a CGLIB2 beta with our upcoming=20 > Spring 1.0 RC1, but it worries me to include a CGLIB2 beta in Spring=20= > 1.0 final. Haven't the Hibernate guys the same problem? Or are they=20 > 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,=20= > already with CGLIB2 support. As I said, we will just force users with=20= > full AOP proxies to upgrade to Hibernate 2.1 if using the two in=20 > combination. We could release a 1.0 M4 shortly before that though,=20 > 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 > the answer to my question. Will Spring move to support Hibernate 2.1 > (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 > 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 > > > ------------------------------------------------------- > 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 |