-->
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: SortedMap support with annotations
PostPosted: Tue Aug 22, 2006 8:40 am 
Newbie

Joined: Sat Nov 19, 2005 8:07 pm
Posts: 8
Apologies in advance if this is documented elsewhere, but I searched JIRA and the forums (and Google) and came up blank.

I'm trying to map, using annotations, an object that contains a SortedMap<Integer,Integer>. This worked well using .hbm.xml files, but we're in the process of converting to annotations. When I try this with annotations, I get a fairly friendly exception telling me that SortedMap is not yet support.

When I convert it to Map<Integer,Integer> it works just fine. And that's my workaround for now with a separate accessor to get a sorted version. My question is simply, when is support for SortedMap planned? I couldn't find it in JIRA anywhere, and no mention of it on the forums. Should I log this in JIRA so that it doesn't get lost in the shuffle?

Hibernate version: 3.2.0.cr2
Hibernate annotations version: 3.2.0.CR1

Thanks in advance.

_________________
-Tim Fennell
Stripes: Because web development should just be easier.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 24, 2006 12:52 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Done in SVN.
http://opensource.atlassian.com/projects/hibernate/browse/ANN-419
That would be fantastic if you could actually write a unit test for this thing so that I can add it and close the case.

_________________
Emmanuel


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.