[ https://issues.apache.org/jira/browse/IGNITE-6771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Ozerov resolved IGNITE-6771. ------------------------------------- Resolution: Won't Fix This behavior is not going to be changed for now. > Insert query failed if kye field is present in value fields > ----------------------------------------------------------- > > Key: IGNITE-6771 > URL: https://issues.apache.org/jira/browse/IGNITE-6771 > Project: Ignite > Issue Type: Bug > Components: sql > Affects Versions: 2.2 > Reporter: Pavel Konstantinov > Priority: Minor > > I'm imported model from DB where a table hasn't a primary key. > Then using web console I added key field manually (the first field in the > table). > Note: > {code} > <property name="writeThrough" value="true"/> > {code} > Then I generated the project and started one server node. > I'm opened query in web console and tried to execute insert query > and got an error > {code} > ...duplicate field > {code} > The issue disappeared only after I removed the same field from value fields. > I guess it is possible to handle that automatically in POJO logic. -- This message was sent by Atlassian JIRA (v7.6.3#76005)