Sample Spring Boot Application with MongoDB and composite primary key. Sample application built on top with Spring Boot, Spring Data MongoDB and embeddable MongoDB. The purpose of this application is to show proper way of using composite keys with Spring Data Mongo To run this application you need JDK 8 and Maven.