A ByteBuffer is not a byte[] to convert a String to a ByteBuffer do something likepublic static ByteBuffer toByteBuffer(String value) throws UnsupportedEncodingException { return ByteBuffer.wrap(value.getBytes("UTF-8")); } see http://wiki.apache.org/cassandra/ThriftExamples ----- Original Message -----From: "A J" >;s5a...@gmail.com
- java thrift error A J
- Re: java thrift error Dave Brosius