Re: [hibernate-dev] Still true with Javassist? Any final method prevents Hibernate from creating single-ended association proxies

2011-07-08 Thread Robin Sander
On 08.07.2011, at 14:02, Emmanuel Bernard wrote: > >> So this boils down whether a final method can be intercepted or not. But >> isn't Javassist capable of doing so? > > I imagine you can intercept a final method via bytecode enhancement but we do > proxy generation, not bytecode enhancement

Re: [hibernate-dev] Still true with Javassist? Any final method prevents Hibernate from creating single-ended association proxies

2011-07-08 Thread Robin Sander
t; > On 8 juil. 2011, at 11:44, Robin Sander wrote: > >> >> Isn't that totally independent from a method beeing final or not? >> If I have a method: >> >> public int getSum() { >> return field1 + field2; >> } >> >> Then this wou

Re: [hibernate-dev] Still true with Javassist? Any final method prevents Hibernate from creating single-ended association proxies

2011-07-08 Thread Robin Sander
some of the entity state (likely), > the initialization won't be triggered since you will call your getters from > inside the instance. So it's a good general rule to mandate non final methods > on entities. > > Emmanuel > > On 8 juil. 2011, at 09:59, Robin San

[hibernate-dev] Still true with Javassist? Any final method prevents Hibernate from creating single-ended association proxies

2011-07-08 Thread Robin Sander
Hi all, excuse me if this list isn't indented for such a question, but I asked this question about a year ago in the forums without any answers and I think it should be easy to answer for any Hibernate core developer: According to Hibernate's (3.6.5) reference documentaion (Section 21.1.3, Si

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

2010-12-01 Thread Robin Sander
However, it is obviously a problem in some situations and we will try > to fix it and release a new version asap. > Maybe you could attach a testcase to the issue? > > --Hardy > > > > On Tue, 2010-11-30 at 22:34 +0100, Robin Sander wrote: >> hi there, >> &g

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

2010-11-30 Thread Robin Sander
hi there, did anybody use this release successfully with Hibernate 3.6? I ran into a ConcurrentModificationException the first time I've tried and from looking into the sources I assume this exception should occurs in any model containing more than a couple of classes. (see http://opensource.a