I created my own repository:
public interface MyRepository extends TypedIdCassandraRepository<MyEntity, String> { }
So the question is, how to automatically create a cassandra table for this? Spring is currently introducing MyRepository , which is trying to insert an entity into a nonexistent table.
So, is there a way to create cassandra tables (if they do not exist) while starting the Spring container?
PS It would be very nice if there is only a configuration logical property without adding xml strings and creating something like BeanFactory, etc .:-)
source share