Getting an error Duplicate table name [cache=CustomerCache,tblName=CUSTOMER,
type1=Customer, type2=Customer] when i tried to add index as below
ccfg.setIndexedTypes(Long.class,Customer.class);
public class Customer implements Serializable {
/** Value for dwId. */
@QuerySqlField(index = true)
private long dwId;
}
class CustomerCache{
....
qryEntities.add(qryEntity);
ccfg.setIndexedTypes(Long.class,Customer.class);
ccfg.setQueryEntities(qryEntities);
return ccfg;
}
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/