Created
August 1, 2019 17:36
-
-
Save Gueka/fde4291cc50df2e75f464d8d6352f128 to your computer and use it in GitHub Desktop.
An Spring boot Cassandra repository example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.gueka.user.repository; | |
import java.util.UUID; | |
import org.springframework.data.cassandra.repository.CassandraRepository; | |
import org.springframework.stereotype.Repository; | |
import net.gueka.user.model.User; | |
@Repository | |
public interface UserRepository extends CassandraRepository<User, UUID> { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment