[hibernate-dev] [JPAModelgen] MixedConfigurationTest failing

Hardy Ferentschik hardy at hibernate.org
Wed Mar 14 08:20:13 EDT 2012


Hi,

fyi, seems Sanne is backing you up :-( He tried to build as well and got also failures - http://fpaste.org/xuOr/
The actual test failures are misleading in this case, because each tests processes all test resources prior the assertions.
If any of the test classes cannot be processed you get a lot of false positives.  It seems you already digged a deeper
when you make ZeroCoordinates the culprit. 

I think it would be time to track this via a proper Jira issue. Do you mind creating one? You can also attach the patch
you've sent me.

I will dig deeper asap.

--Hardy


On Mar 14, 2012, at 1:05 PM, Guillaume Smet wrote:

> On Wed, Mar 14, 2012 at 12:53 PM, Hardy Ferentschik <hardy at hibernate.org> wrote:
>> @Generated(value = "org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor")
>> @StaticMetamodel(ZeroCoordinates.class)
>> public abstract class ZeroCoordinates_ {
>> 
>> 
>> }
> 
> Nope. I have attributes in it (and SingularAttribute import is missing
> as it's added to the wrong MetaEntity).
> 
> From the test case, I saw that it wasn't supposed to but as they are
> defined in the XML files, I am not so surprised they are generated.
> 
> I don't know why I have this behaviour...





More information about the hibernate-dev mailing list