我正在尝试使用 Cassandra ORM 插件将 Grails 中的域对象持久保存到 Cassandra 数据库。我之前使用 GORM 成功地将其持久化到 H2,但是我想尝试一下 Cassandra。
对象定义如下:
package gibb1
class newCassa {
UUID uuid
String name
String score
static cassandraMapping = [
primaryKey: "uuid", // Want "payID" primaryKey, but right now it might not even be present.
explicitIndexes: ["name"]
]
}
但是我收到以下错误:
| Error 2013-04-18 11:04:16,533 [localhost-startStop-1] ERROR CassandraOrmGrailsPlugin - Exception adding ORM methods to gibb1.newCassa
我在这里发布问题是因为我找不到插件开发者的联系信息: https ://github.com/bflorian/cassandra-orm
任何帮助是极大的赞赏。