Pruteanu Dragos created CASSANDRA-14943:
-------------------------------------------

             Summary: Java Driver - insert UDT type
                 Key: CASSANDRA-14943
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14943
             Project: Cassandra
          Issue Type: New Feature
            Reporter: Pruteanu Dragos


Inserting data in UDT fields is possible using string statements like: 

INSERT INTO sampleTable( id, udt_filed ) VALUES ( 1, \{a:'aaa',b:'bbb} )

This seems not to work if using Prepared statement and passing udt_field as 
setObject( map ) or setString( "JSON '\{a:'aaa',b:'bbb} '").

Could be one of this be fixed ? I need this for external tools which accept 
less java objects.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to