Hi All,
 
how to load fields into cache which was not part of POJO when we doing
read-through from DB.

Example:

Table: Id|Name|Salary
Pojo: Id|Name

In above example pojo having only id and name but not salary, if i want to
store salary also do we need to maintain salary also in the pojo or ?
because when we are using jdbc in ignite we can put all the fields(which not
part of pojo) in map tag like

<property name="fields">
        <map>
                <entry key="id" value="java.lang.Long"/>
                <entry key="msidn" value="java.lang.String"/>
                <entry key="salary" value="java.lang.Long"/>
        </map>
</property>

same case how we can mange when we are doing read-through from DB.

Thanks,
Ajay.


                                                                
 



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Cache-Store-in-Ignite2-0-tp15227.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to