I would guess that actually breaks regardless as the thing that gets serialized in the two cases is completely different under the covers between those two versions of hibernate because of the introduction of the javassist capability. If this situation is really a requirement, we will probably need to add some serious deserialization logic to the serializable-proxy.
As for needing a version of hibernate where javassist is the default bytecode library, I don't get why. For the hibernate-int code we could handle that specifically in the MBean. For the EJB3 case, we should be able to do something similar. I am very against changing this default in Hibernate itself. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott M Stark Sent: Thursday, April 13, 2006 12:34 PM To: jboss-development@lists.sourceforge.net Subject: RE: [JBoss-dev] Should 4.0.4 have cgilib in jbossall-client.jar In terms of backward compatibility, I suppose a jboss-4.0.3SP1 hosted client of a 4.0.4.GA hosted hibernate component needs to have a cglib based proxy? > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Scott M Stark > Sent: Thursday, April 13, 2006 10:29 AM > To: jboss-development@lists.sourceforge.net > Subject: RE: [JBoss-dev] Should 4.0.4 have cgilib in > jbossall-client.jar > > So we need a hibernate version that has javassist set as the > default proxy factory/byte code manipulation framework. Can > we do this for the base release or does it need to be a jboss > specific release? A container issue for reducing the client > side dependencies to only javassist is: > > http://jira.jboss.com/jira/browse/JBAS-3101 > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Max Rydahl Andersen > > Sent: Thursday, April 13, 2006 10:21 AM > > To: jboss-development@lists.sourceforge.net > > Subject: Re: [JBoss-dev] Should 4.0.4 have cgilib in > > jbossall-client.jar > > > > On Thu, 13 Apr 2006 18:58:25 +0200, Scott M Stark > > <[EMAIL PROTECTED]> > > wrote: > > > > > cglib should not be the default proxy framework as of the > hibernate > > > 3.2 release. I thought this was the case. Propagation of multiple > > > libraries doing the same thing needs to be cleaned up. > > > > hibernate default is still cglib. > > > > but we can run on javaassist. just need to set a property. > > > > /max > > > > > > > >> -----Original Message----- > > >> From: [EMAIL PROTECTED] > > >> [mailto:[EMAIL PROTECTED] On > > Behalf Of > > >> Bill Burke > > >> Sent: Thursday, April 13, 2006 9:53 AM > > >> To: jboss-development@lists.sourceforge.net > > >> Subject: Re: [JBoss-dev] Should 4.0.4 have cgilib in > > >> jbossall-client.jar > > >> > > >> cglib should be in client as Hibernate needs them on > serialization. > > >> > > >> Jason T. Greene wrote: > > >> > jboss-head has cglib classes in the jbossall-client.jar, > > however, > > >> > jboss-4.0 does not, which one is correct? > > >> > > > >> > xxxxxxxxxxxxxxxxxxxxxxxx > > >> > Jason T. Greene > > >> > Developer - Web Services > > >> > JBoss Inc. > > >> > xxxxxxxxxxxxxxxxxxxxxxxx > > >> > > > >> > > > >> > > > >> > ------------------------------------------------------- > > >> > This SF.Net email is sponsored by xPML, a groundbreaking > > scripting > > >> > language that extends applications into web and mobile > > >> media. Attend > > >> > the live webcast and join the prime developer group > > >> breaking into this new coding territory! > > >> > > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > > >> > _______________________________________________ > > >> > JBoss-Development mailing list > > >> > JBoss-Development@lists.sourceforge.net > > >> > https://lists.sourceforge.net/lists/listinfo/jboss-development > > >> > > > >> > > >> -- > > >> Bill Burke > > >> Chief Architect > > >> JBoss Inc. > > >> > > >> > > >> ------------------------------------------------------- > > >> This SF.Net email is sponsored by xPML, a groundbreaking > scripting > > >> language that extends applications into web and mobile > > media. Attend > > >> the live webcast and join the prime developer group > breaking into > > >> this new coding territory! > > >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720& > > >> dat=121642 > > >> _______________________________________________ > > >> JBoss-Development mailing list > > >> JBoss-Development@lists.sourceforge.net > > >> https://lists.sourceforge.net/lists/listinfo/jboss-development > > >> > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by xPML, a groundbreaking > scripting > > > language that extends applications into web and mobile > > media. Attend > > > the live webcast and join the prime developer group > > breaking into this > > > new coding territory! > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 > > > _______________________________________________ > > > JBoss-Development mailing list > > > JBoss-Development@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/jboss-development > > > > > > > > -- > > -- > > Max Rydahl Andersen > > callto://max.rydahl.andersen > > > > Hibernate > > [EMAIL PROTECTED] > > http://hibernate.org > > > > JBoss Inc > > [EMAIL PROTECTED] > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > language that extends applications into web and mobile > media. Attend > > the live webcast and join the prime developer group > breaking into this > > new coding territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720& > > dat=121642 > > _______________________________________________ > > JBoss-Development mailing list > > JBoss-Development@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/jboss-development > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking > scripting language that extends applications into web and > mobile media. Attend the live webcast and join the prime > developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > _______________________________________________ > JBoss-Development mailing list > JBoss-Development@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jboss-development > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development