Re: com.datastax.driver.core.exceptions.InvalidQueryException using Datastax Java driver

2013-04-23 Thread aaron morton
> Can I insert into Column Family (that I created from CLI mode) using Datastax > Java driver or not with Cassandra 1.2.3? No. Create you table using CQL 3 via the cqlsh. Cheers - Aaron Morton Freelance Cassandra Consultant New Zealand @aaronmorton http://www.thelastpickle.com

Re: com.datastax.driver.core.exceptions.InvalidQueryException using Datastax Java driver

2013-04-22 Thread Techy Teck
I am using correct keyspace name for that column family. I have verified that as well. Can I insert into Column Family (that I created from CLI mode) using Datastax Java driver or not with Cassandra 1.2.3? On Mon, Apr 22, 2013 at 5:05 AM, Internet Group wrote: > It seems to me that you are not

Re: com.datastax.driver.core.exceptions.InvalidQueryException using Datastax Java driver

2013-04-22 Thread Internet Group
It seems to me that you are not saying the keyspace of your column family 'profile'. Regards, Francisco. On Apr 20, 2013, at 9:56 PM, Techy Teck wrote: > I created my column family like this from the CLI- > > > create column family profile > with key_validation_class = 'UTF8Type' > a

Re: com.datastax.driver.core.exceptions.InvalidQueryException using Datastax Java driver

2013-04-21 Thread Techy Teck
Can anyone help me out here? The thing that I wanted to know is whether I can insert into Column Family (that I created from CLI mode) using Datastax Java driver or not? As soon as I am trying to insert into Column Family which I have created in CLI mode, I always get the above exception. But If I

com.datastax.driver.core.exceptions.InvalidQueryException using Datastax Java driver

2013-04-20 Thread Techy Teck
I created my column family like this from the CLI- create column family profile with key_validation_class = 'UTF8Type' and comparator = 'UTF8Type' and default_validation_class = 'UTF8Type' and column_metadata = [ {column_name : account, validation_class : 'UTF8Type'} {