Could you share your POJO key/value classes and persistence descriptor? Igor
On Jun 1, 2017 8:30 AM, "Igor Sapego" <isap...@apache.org> wrote: > User's comment: > > I have my own cassandra table with 1 partiton key, 3 clustering keys, > and I expect the value not to be stored in one column as a blob. > > Is there any way I can achieve this? > I have used POJO and there is an issue like the key is only getting > inserted into the cassandra table > > Best Regards, > Igor > > On Tue, May 30, 2017 at 12:33 PM, Igor Sapego <isap...@gridgain.com> > wrote: > > > Thanks. > > > > Best Regards, > > Igor > > > > On Tue, May 30, 2017 at 11:35 AM, Valentin Kulichenko < > > valentin.kuliche...@gmail.com> wrote: > > > >> Igor, > >> > >> There is another SO question about this, I already responded: > >> https://stackoverflow.com/questions/44254079/ignite-with- > >> cassandra-integration > >> > >> -Val > >> > >> On Tue, May 30, 2017 at 10:15 AM, Igor Sapego <isap...@gridgain.com> > >> wrote: > >> > >> > User's answer: > >> > I have changed my POJO to BLOB. > >> > > >> > Current persistence.xml file look like > >> > > >> > <persistence keyspace="sam" table="key"> > >> > <keyPersistence class="java.lang.String" strategy="BLOB" > >> > column="assetid"/> > >> > <valuePersistence class="java.lang.String" strategy="BLOB" > >> > column="asset_desc"/> > >> > </persistence> > >> > > >> > now it's produce an error like > >> > > >> > "Caused by: com.datastax.driver.core.exceptions. > CodecNotFoundException: > >> > Codec not found for requested operation: [varchar <-> > >> > java.nio.HeapByteBuffer] " > >> > > >> > Best Regards, > >> > Igor > >> > > >> > On Fri, May 26, 2017 at 2:37 PM, Igor Sapego <isap...@gridgain.com> > >> wrote: > >> > > >> > > Cross-posted Igor's answer to SO > >> > > > >> > > Best Regards, > >> > > Igor > >> > > > >> > > On Fri, May 26, 2017 at 8:58 AM, Igor Rudyak <irud...@gmail.com> > >> wrote: > >> > > > >> > >> I assume that's because you are using this: > >> > >> > >> > >> <property name="storeKeepBinary" value="true"/> > >> > >> > >> > >> > >> > >> Current implementation supports only BLOB serialization for binary > >> > >> objects. We already have a ticket for this: > https://issues.apache.or > >> > >> g/jira/browse/IGNITE-5270 > >> > >> > >> > >> Igor > >> > >> > >> > >> > >> > >> > >> > >> On Thu, May 25, 2017 at 8:19 PM, Denis Magda <dma...@gridgain.com> > >> > wrote: > >> > >> > >> > >>> Igor R., Igor S., > >> > >>> > >> > >>> Please take a look at this issue reported on SO: > >> > >>> https://stackoverflow.com/questions/44178514/ignite-c-client > >> > >>> -for-cassandra-integration > >> > >>> > >> > >>> -- > >> > >>> Denis > >> > >>> > >> > >> > >> > >> > >> > > > >> > > >> > > > > >