Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E4F98200BF6 for ; Tue, 10 Jan 2017 10:31:59 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E1C03160B3D; Tue, 10 Jan 2017 09:31:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 37830160B31 for ; Tue, 10 Jan 2017 10:31:59 +0100 (CET) Received: (qmail 39857 invoked by uid 500); 10 Jan 2017 09:31:58 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 39846 invoked by uid 99); 10 Jan 2017 09:31:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jan 2017 09:31:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 55A4D2C03DC for ; Tue, 10 Jan 2017 09:31:58 +0000 (UTC) Date: Tue, 10 Jan 2017 09:31:58 +0000 (UTC) From: "David Albrecht (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IGNITE-4531) Update DML operation not working for @QuerySqlField with name MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 10 Jan 2017 09:32:00 -0000 [ https://issues.apache.org/jira/browse/IGNITE-4531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15814468#comment-15814468 ] David Albrecht commented on IGNITE-4531: ---------------------------------------- Hi, I am using -DIGNITE_H2_DEBUG_CONSOLE=true as debug console. Currently I don't have a test.which reproduces the behaviour. > Update DML operation not working for @QuerySqlField with name > ------------------------------------------------------------- > > Key: IGNITE-4531 > URL: https://issues.apache.org/jira/browse/IGNITE-4531 > Project: Ignite > Issue Type: Bug > Components: SQL > Affects Versions: 1.8 > Reporter: David Albrecht > Priority: Critical > > After putting a java class Operation with > {code} > @QuerySqlField(name = "operationNumber", index = true) > private String mOperationNumber; > @QuerySqlField(index = true) > private String mUuid; > {code} > in the cache. Via debug console I can see the following fields: > _val: > Operation [... ,mUuid=FF42930B6D3242B5A0B9D631E017027E, mOperationNumber = 0010, ...] > and a column named: OPERATIONNUMBER with value 0010. > The query > {code} > String updateQueryString = "UPDATE Operation set operationNumber = ? WHERE mUuid = ?"; > SqlFieldsQuery updateQuery = new SqlFieldsQuery(updateQueryString ).setArgs("SCHEDULED","FF42930B6D3242B5A0B9D631E017027E"); > cache.query(updateQuery); > {code} > results in: > Operation [... ,mUuid=FF42930B6D3242B5A0B9D631E017027E, mOperationNumber = 0010, operationNumber=SCHEDULED, ...] > and a column named: OPERATIONNUMBER with value 0010. > The column 'OPERATIONNUMBER' and the field 'mOperationNumber' is not updated! -- This message was sent by Atlassian JIRA (v6.3.4#6332)