You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Tyler Hobbs (JIRA)" <ji...@apache.org> on 2015/11/18 01:03:10 UTC

[jira] [Comment Edited] (CASSANDRA-10631) JSON Update not working with PreparedStatement

    [ https://issues.apache.org/jira/browse/CASSANDRA-10631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15009071#comment-15009071 ] 

Tyler Hobbs edited comment on CASSANDRA-10631 at 11/18/15 12:03 AM:
--------------------------------------------------------------------

Sorry for the slow response, I didn't realize I was reviewer on this one.  Can you rebase if necessary and also run tests against 3.0 and 3.1?

EDIT: Other than that, +1 on the changes.


was (Author: thobbs):
Sorry for the slow response, I didn't realize I was reviewer on this one.  Can you rebase if necessary and also run tests against 3.0 and 3.1?

> JSON Update not working with PreparedStatement
> ----------------------------------------------
>
>                 Key: CASSANDRA-10631
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10631
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CQL
>         Environment: Windows 7, Datastax Java Driver 2.2.0-rc2
>            Reporter: Henrik Karlsson
>            Assignee: Sylvain Lebresne
>             Fix For: 2.2.x
>
>         Attachments: test-json.zip
>
>
> When using PreparedStatement to insert and update a row with JSON the first "INSERT INTO {tablename} JSON ?" statement works OK. But when calling it a second time with a changed value on a field the field is not updated. If I use a SimpleStatement instead ("INSERT INTO {tablename} JSON '"+json+"'") the modified field is updated as expected.
> Attaching a test project that shows the problem.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)