我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]
为什么我会收到此异常,以及如何修复它?