Re: [hibernate-dev] HHH-5024 : MappedSuperclass and Static Metamodel Generator

2012-01-09 Thread Steve Ebersole
Ok, this is odd. For the mappedsuperclass/idclass one, the metamodel classes were provided. I ditched those and had the metamodel generator generate them. And it seemed to have the same confusion: public abstract class AbstractAttribute_ { public static volatile SingularAttribute va

Re: [hibernate-dev] HHH-5024 : MappedSuperclass and Static Metamodel Generator

2012-01-09 Thread Steve Ebersole
I also got a working test case now using EmbeddedId as well. See tests in * hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/metadata/mappedsuperclass/embeddedid * hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/metadata/mappedsuperclass/idclass On Mon 09 Jan 2012 03:

Re: [hibernate-dev] HHH-5024 : MappedSuperclass and Static Metamodel Generator

2012-01-09 Thread Steve Ebersole
I should point out... this *only* fails when the entity (ProductAttribute) is annotated with an @IdClass On Mon 09 Jan 2012 03:06:51 PM CST, Steve Ebersole wrote: > There is definitely an issue here. The code in HEM is just wrong. I am > not familiar enough with the code/spec here in regards to

[hibernate-dev] HHH-5024 : MappedSuperclass and Static Metamodel Generator

2012-01-09 Thread Steve Ebersole
There is definitely an issue here. The code in HEM is just wrong. I am not familiar enough with the code/spec here in regards to static metamodel generation to determine the appropriate fix on my own. The model in question there is essentially: @MappedSuperclass abstract class AbstractAttribu