that is a typo, changing the name of the class to Indexcomposition doesn't
make any difference. I also added the following to the config


 <property name="binaryConfiguration">
            <bean
class="org.apache.ignite.configuration.BinaryConfiguration">
                <property name="nameMapper">
                    <bean
class="org.apache.ignite.binary.BinaryBasicNameMapper">
                        <property name="simpleName" value="true"/>
                    </bean>
                </property>
            </bean>
        </property>

the class names in .net are matching the java names in the config file


 public class Indexcomposition
    {

        [QuerySqlField]
        public int vd { get; set; }

        [QuerySqlField]
        public double sharesinindex { get; set; }

        [QuerySqlField]
        public string name { get; set; }

        [QuerySqlField]
        public string isin { get; set; }

        [QuerySqlField]
        public string sedol { get; set; }

        [QuerySqlField]
        public string ric { get; set; }

        [QuerySqlField]
        public double close { get; set; }

        [QuerySqlField]
        public decimal rate { get; set; }

    }


  <property name="queryEntities">
.....

                                <property name="fields">
                                    <map>
                                        <entry key="vd"
value="java.lang.Integer"/>
                                        <entry key="sharesinindex"
value="java.lang.Double"/>
                                        <entry key="name"
value="java.lang.String"/>
                                        <entry key="isin"
value="java.lang.String"/>
                                        <entry key="sedol"
value="java.lang.String"/>
                                        <entry key="ric"
value="java.lang.String"/>
                                        <entry key="close"
value="java.lang.Double"/>
                                        <entry key="rate"
value="java.math.BigDecimal"/>
...
                    </property>




--
Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/

Reply via email to