-1

kundera.ddl.auto.prepare" value="update"的 persistence.xml 文件中没有;但是,当我尝试使用 Kundera API 将实体持久化到 Cassandra 中时,出现以下异常:

javax.persistence.PersistenceException:<b> InvalidRequestException(why:Undefined name affiliateTypeCodeAndBusinessAffiliateAccountNumber in where clause </B>('affiliateTypeCodeAndBusinessAffiliateAccountNumber EQ 'W177043432821''))
    at com.impetus.client.cassandra.CassandraClientBase.executeCQLQuery(CassandraClientBase.java:1925) [kundera-cassandra-2.9.1-ATT-1.jar:na]
    at com.impetus.client.cassandra.CassandraClientBase$CQLClient.executeQuery(CassandraClientBase.java:2101) [kundera-cassandra-2.9.1-ATT-1.jar:na]
    at com.impetus.client.cassandra.CassandraClientBase.executeSelectQuery(CassandraClientBase.java:833) [kundera-cassandra-2.9.1-ATT-1.jar:na]

为什么我会收到此异常,以及如何修复它?

4

1 回答 1

0

请分享更多细节。从表面上看,它在我看来是 CQL3 区分大小写问题

-维维克

于 2014-03-14T06:07:08.850 回答