Search code examples
jdodatanucleus

DataNucleus - HashMultimap datastore created as mediumblob


I am trying to use the type HashMultimap in one of my entity object.

@Persistent
private HashMultimap<String, String> testMap;

JDO

<field name="testMap" persistence-modifier="persistent" serialized="false">
    <join />
</field>

However when i run schema tools with DataNuclues, the field is created as a mediumblob. My question is whether i can force this to be create as a join table.

What i am after is basically a data type of a hashmap that can support duplicate key value.

I am using MySQL as datastore

Thanks


Solution

  • Andy from DataNucleus

    HashMultimap is not supported in the default package