You're exactly right, it isn't possible to store a collection of plain
strings. In practice we've found we don't often need to do this e.g
when we store a value we usually associate a type or source with it as
So it's not a bug and it isn't a high priority to change at the
moment. Has anyone else on the list found this to be restrictive?
On 02/08/2011 19:03, Thomas TRIPLET wrote:
> I'm trying to create new classes in my data model and I'd like to include a
> collection of strings. UNfortunately, this doesn't seem possible. I've tried
> the following combinations, with no luck:
> -<collection name="items" type="java.lang.String"/>
> -<collection name="items" referenced-type="java.lang.String"/>
> -<collection name="items" referenced-type="String"/>
> The only solution I've found is to encapsulate the strings into a dedicated
> "fake" class, but this is not very convenient. Is this a bug or is there an
> alternate solution?
> Thomas Triplet, Ph.D.
> http://www.thomastriplet.net >
> dev mailing list
> [hidden email] > http://mail.intermine.org/cgi-bin/mailman/listinfo/dev