Cassandra is not updating data with CQL, with mutator it does

2011-06-18 Thread Christian Straube
Hi,

with the following code I try to update a row

Keyspace fKeyspace = HFactory.createKeyspace(KEYSPACE, fCluster);

// Update with CQL
CqlQueryString,String,String cqlQuery =
   new CqlQueryString,String,String(fKeyspace, fStringS, fStringS, fStringS);
cqlQuery.setQuery(
INSERT INTO Fahrer (KEY, 'first') VALUES('fahrer1', 'FirstnameUpdated'));
QueryResultCqlRowsString,String,String result = cqlQuery.execute();

// Update with mutator
MutatorString mutator = HFactory.createMutator(fKeyspace, fStringS);
MutationResult mr = mutator.insert(fahrer2, Fahrer,
   HFactory.createStringColumn(first, SecondUpdated));

The update of the CQL-query is not performed, the update with the mutator is 
performed. Where is the mistake?

Thank you very much!!

Best
Christian

Getting Started website is out of date

2011-06-16 Thread Christian Straube
Hi,

the Getting started website (http://wiki.apache.org/cassandra/GettingStarted) 
is out of date
- the link to the Twissandra demo is broken
- the new CQL is not mentioned :-)

Beside this I love cassandra!

Best
Christian