Skip to content

Instantly share code, notes, and snippets.

package com.example.config;
import com.datastax.driver.core.Session;
import com.datastax.driver.mapping.MappingManager;
import com.example.repository.CassandraCrudRepositoryImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.cassandra.repository.config.EnableCassandraRepositories;