1) What happens when you try (please file a JIRA)? 2) You can add your own type mapping. There is some writeup on Confluence, but reading the source is probably inescapable.
On Thu, Aug 28, 2008 at 1:36 PM, Sarah Haskins <[EMAIL PROTECTED]> wrote: > Is there any way to bind a SortedSet using Aegis? I want to rely on > the natural order of the objects within the SortedSet, so defaulting > to a TreeSet would be fine, but the > org.apache.cxf.aegis.type.collection.CollectionType class doesn't seem > to support anything other than ArrayList, HashSet, and Vector. > > The object that is being serialized is a hibernate annotated pojo, so > I really want to continue to use the SortedSet type because that is > the most correct hibernate type of our database model. I also don't > want to I also don't want to add "fake" getter/setter methods that > accept Lists or Sets and then convert them to TreeSets, because that > seems like a hack. > > Is there a correct way to do this, possibly using some annotation? > > Thanks in advance! >
