These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Bug ANN-267: Still broken?
PostPosted: Mon Jan 11, 2010 12:00 pm 
Beginner
Beginner

Joined: Thu Dec 29, 2005 12:08 pm
Posts: 31
Location: Acton, MA
Hello; the comments for (spec-breaking) bug ANN-267 indicate that despite the fact it deviates from the JPA specification it will not be fixed until the specification is made concrete.

Now that the specification has been concrete for several years, is there a chance that this bug could be fixed, since without such a fix a JPA-compliant project cannot be deployed using Hibernate as the provider?

Thanks,
Laird


Top
 Profile  
 
 Post subject: Re: Bug ANN-267: Still broken?
PostPosted: Tue Jan 12, 2010 3:41 pm 
Beginner
Beginner

Joined: Thu Dec 29, 2005 12:08 pm
Posts: 31
Location: Acton, MA
{crickets}

O...K....

How's about this: since apparently one can work around this spec-breaking bug by placing @AttributeOverrides on the entity class, but because I don't want to change my entire domain model to work around one Hibernate bug, can someone tell me if there is a way to do the equivalent of an @AttributeOverrides using hbm.xml files?

That is:

If I have an annotated class, and I want to supply attribute overrides but in a Hibernate-specific XML file somewhere in such a way that bug 267 can be worked around, what is the best way to do it?

Will Hibernate mix and match annotations and hbm.xml files in the same way as it is required to do with annotations and META-INF/orm.xml?

Thanks,
Laird


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.