【发布时间】:2015-01-31 04:33:05
【问题描述】:
我将如何覆盖AbstractCassandraConfiguration 以使用我自己的函数来创建架构。我希望能够使用我在运行时选择的 cql 脚本来设置 Cassandra 实例。
当CassandraSessionFactoryBean.performSchemaAction() 在AbstractCassandraConfiguration.session() 中创建时,我试图覆盖它。这会导致 cqllib 失败并显示
java.lang.IllegalArgumentException: Superclass has no null constructors but no arguments were given
这似乎与 cqlib 如何创建代理有关:Superclass has no null constructors but no arguments were given
【问题讨论】: