-->
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.  [ 3 posts ] 
Author Message
 Post subject: Incompatibility between Annotations 3.1beta9 and Tools
PostPosted: Sat Apr 15, 2006 6:35 pm 
Newbie

Joined: Sun Apr 09, 2006 4:57 pm
Posts: 10
Location: Milan (Italy)
Hibernate 3.2RC1 + Annotations 3.1beta9


In the new release 3.1beta9 of annotations @org.hibernate.annotations.Table=(name=...) has been replaced by @org.hibernate.annotations.Table=(appliesTo=...) to reduce confusion.

Unfortunatly the hbm2ddl tool ask for the old grammar, so you cannot compile a source and use it for ddl generation.

Anybody has a workaround to suggest to me? When the next Annotation release is scheduled? Can you fix it in a next nightly build, if not already done?

marco pancotti
italy


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 15, 2006 7:59 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Tools are tightly linked to Hibernate Core as is the annotations library. Obviously, the next release will have this sorted (and it maybe so in the source). Max can give you the most accurate answer. In the mean time you could try subsituting hibernate core libs and see if it works ok (it may not) otherwise try a SVN build as I would be surprised if Max has not addressed this issue.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 16, 2006 2:34 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
we are kinda caught on the black side of the moon with respect to this one since annotations and seam/ejb3 for the moment is "out-of-synch" thus no matter which one I fix for something will brake.

i'm hoping for seam/ejb3 to get in sync soon so we can get everything aligned again. That said anyone wanting to submit a patch for this is very welcome and i'll do it asap since seam should be ready within the next couple of days.

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.