Keyspace initialization typically happens with Cluster and Session factory beans. In our XML config support, we can specify startup and shutdown CQL by referencing the actual CQL text. Doing so can require CDATA escaping. Besides the factory bean, there is no other possibility to run CQL statements and especially no way to run CQL from a resource.
We should add a DatabasePopulator along with a SessionFactoryInitializer to expose keyspace initialization functionality. It would also make sense to be able to specify startup/shutdown CQL in the XML config from a resource so we can reuse the script executor.