Hi,

This is not actually 100% true - Cassandra integration supports
@QuerySqlField annotations to create tables and doing mapping between
object fields and table columns.

Kenan, have you tried Cassandra DDL generator
https://apacheignite-mix.readme.io/docs/ddl-generator for your persistence
descriptor? It will generate DDL for your table - such way you can check if
you missed something.

Igor



On Fri, Dec 16, 2016 at 11:01 AM, vkulichenko <valentin.kuliche...@gmail.com
> wrote:

> Hi,
>
> @QuerySqlField is annotation for Ignite SQL [1], it has nothing to do with
> Cassandra integration. To specify column name which differs from Java field
> name, you should use 'field' tags inside 'valuePersistence', like shown in
> the example [2].
>
> [1]
> https://apacheignite.readme.io/v1.8/docs/indexes#
> annotation-based-configuration
> [2] https://apacheignite-mix.readme.io/docs/examples#example-5
>
> -Val
>
>
>
> --
> View this message in context: http://apache-ignite-users.
> 70518.x6.nabble.com/Ignite-with-Cassandra-questions-
> errors-tp9607p9608.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>

Reply via email to