I'm definning my own meta-type for use in <many to any>, the schema is this:
<map name="itsParameters"
         table="Element_Parameters"
         cascade="all">
    <key column="network_parameter_map"/>
    <index column="network_parameter_map_key" type="string"/>
    <many-to-any id-type="long" meta-type="ClassToIntegerMapper">
          <column name="Type" />
          <column name="Id" />
    </many-to-any> 
</map>
Where map is a attribute of a Class that is a MAP of objects.
ClassToInteger is a class that is defined in 
http://hibernate.bluemars.net/122.html
I have used this schema of work to map my own classes 
public class NEParameterTypeMapper extends ClassToIntegerMapper
{
    static public final Integer STRING_TYPE = new Integer(1);
    static public final Integer INTEGER_TYPE = new Integer(2);
    static final private ClassToIntValue[] mappings =
    {
        new ClassToIntValue(STRING_TYPE, String.class),
        new ClassToIntValue(INTEGER_TYPE, Integer.class)
    };
    public ClassToIntValue[] getMappings()
    {
        return mappings;
    }
}
but Hibernate gives me an error:
17:32:30,650 INFO  [STDOUT] [ObjectDbAccess] *ERROR* (*) Unable to export tables - could not interpret meta-type
I suppose that i don't kown where to put my class in order to hibernate can found it... or something like that... i'm lost.
Can AnyOne Help me, 
Thanks in advance, 
J.M.