How would I go about overriding AbstractCassandraConfiguration
to use my own function to create a schema. I would like to be able to set up a Cassandra instance using a cql script that I select at runtime.
I have tried to override CassandraSessionFactoryBean.performSchemaAction()
when it is created in AbstractCassandraConfiguration.session()
. This causes cqllib to fail with
java.lang.IllegalArgumentException: Superclass has no null constructors but no arguments were given
This seems to be related to how cqlib creates proxies: Superclass has no null constructors but no arguments were given