Re: [hibernate-dev] Hibernate Metamodel Generator 1.1.0.Final

2010-12-01 Thread Robin Sander
I've attached a small maven project to the issue which shows the bug. (run 'mvn process-sources) On 30.11.2010, at 23:18, Hardy Ferentschik wrote: > Hi Robin, > > I think it is more a question of which type of classes/model you have, > compared to how many classes. > However, it is obviously a

Re: [hibernate-dev] object is not an instance of declaring class

2010-12-01 Thread Emmanuel Bernard
Well that's Christmas before time. I think it fixes it properly. I forgot that the unproxy method was returning the wrapped object. On 1 déc. 2010, at 12:08, Sanne Grinovero wrote: > Emmanuel, > now I'm failing org.hibernate.search.test.proxy.ProxyTest.testDeteleProxy() > as it actually succedes

Re: [hibernate-dev] object is not an instance of declaring class

2010-12-01 Thread Sanne Grinovero
Emmanuel, now I'm failing org.hibernate.search.test.proxy.ProxyTest.testDeteleProxy() as it actually succedes but it is annotated as @FailureExpected(jiraKey = "HSEARCH-577") so it seems I've actually fixed the non-resolved HSEARCH-577, is that a correct interpretation of this unit test? Sanne

Re: [hibernate-dev] object is not an instance of declaring class

2010-12-01 Thread Sanne Grinovero
thank you, "unproxy" worked great. Not sure why it wasn't there already as I didn't change this area, apparently it was unlikely to receive a proxy in this method. Sanne 2010/12/1 Emmanuel Bernard : > This exception in general can have a bunch of causes. > > In you case though, in Hibernate Search

Re: [hibernate-dev] object is not an instance of declaring class

2010-12-01 Thread Emmanuel Bernard
This exception in general can have a bunch of causes. In you case though, in Hibernate Search there are several tools at your disposal. All in HibernateHelper. For the most part they abstract away Hibernate calls for when we will make Hibernate Search fully independent of Hibernate Core. unprox