[hibernate-dev] HSEARCH Dynamic proxy for FullTextSessionImpl, FTEMImpl

2010-01-13 Thread Emmanuel Bernard
Guys, I am sick of HSearch being broken every time Core adds a new method to Session / SessionImplementor and the like. I am seriously thinking about providing a dynamic proxy implementing FTSession etc and will try and prototype it. Any opinion? ___

Re: [hibernate-dev] HSEARCH Dynamic proxy for FullTextSessionImpl, FTEMImpl

2010-01-13 Thread Hardy Ferentschik
Actually I've never had this problem. Admittedly after reading your email I did a quick check and I get also a compilation error due to 'isReadOnly' not being overridden. Does Session really change that often that we have a use of a dynamic proxy? Would it not be easier to not depend on a SN

Re: [hibernate-dev] HSEARCH Dynamic proxy for FullTextSessionImpl, FTEMImpl

2010-01-13 Thread Emmanuel Bernard
It potentially changes every minor release (in particular the internal interfaces like SessionImplementor that we need to implement). One of the benefits is that an old version of HSearch would work with the latest version of Hibernate Core including the new methods and we would not have to mai

[hibernate-dev] Solution for failing Isolated query cache tests in Hibernate trunk

2010-01-13 Thread Galder Zamarreno
Hi all, In Hibernate trunk, the following tests are failing: In JBC 2LC provider: MVCCIsolatedClassLoaderTest.testClassLoaderHandlingNamedQueryRegion MVCCIsolatedClassLoaderTest.testClassLoaderHandlingStandardQueryCache In Infinispan 2LC provider: IsolatedClassLoaderTest.testClassLoaderHandlingN

Re: [hibernate-dev] Solution for failing Isolated query cache tests in Hibernate trunk

2010-01-13 Thread Steve Ebersole
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4786 On Wed, 2010-01-13 at 17:31 +0100, Galder Zamarreno wrote: > Hi all, > > In Hibernate trunk, the following tests are failing: > > In JBC 2LC provider: > MVCCIsolatedClassLoaderTest.testClassLoaderHandlingNamedQueryRegion > MVCCI

Re: [hibernate-dev] Solution for failing Isolated query cache tests in Hibernate trunk

2010-01-13 Thread Galder Zamarreno
On 01/13/2010 05:31 PM, Galder Zamarreno wrote: > Hi all, > > In Hibernate trunk, the following tests are failing: > > In JBC 2LC provider: > MVCCIsolatedClassLoaderTest.testClassLoaderHandlingNamedQueryRegion > MVCCIsolatedClassLoaderTest.testClassLoaderHandlingStandardQueryCache > > In Infinispa

Re: [hibernate-dev] Solution for failing Isolated query cache tests in Hibernate trunk

2010-01-13 Thread Steve Ebersole
> For completion, getReturnedClass().getClassLoader() will always return > null because SerializableType is initialised with java.io.Serializable > as returned class, and it's classloader returns null (quite likely cos > it's a system class?). http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Cl

Re: [hibernate-dev] Solution for failing Isolated query cache tests in Hibernate trunk

2010-01-13 Thread Galder Zamarreno
On 01/13/2010 07:10 PM, Steve Ebersole wrote: >> For completion, getReturnedClass().getClassLoader() will always return >> null because SerializableType is initialised with java.io.Serializable >> as returned class, and it's classloader returns null (quite likely cos >> it's a system class?). > h

[hibernate-dev] Hibernate 3.5.0-Beta-3 release

2010-01-13 Thread Steve Ebersole
JPA support is coming along nicely! See the highlights and links to all the goodies at http://in.relation.to/Bloggers/Hibernate350Beta3Release -- Steve Ebersole Hibernate.org ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.