Data crossstore between Mongo and JPA Spring Data Mongo provides another attractive feature, when you mix to use Mongo and JPA in your projects, you can unite the models of Mongo and JPA. Model The Conference and Signup are still used as example models, Conference is JPA entity class and Signup is a Mongo Document. @Entity public class Conference { @Id @GeneratedValue(strategy = GenerationType.AUTO) @Column(name = "id") private Long id; @RelatedDocument private Signup signup; } The Signup Document is defined as the following. @Document public class Signup { @Id private String id; } @RelatedDocument annotation indicates the signup property of Conference is a reference of Signup Mongo Document. This annotation will be processed by a AspectJ aspect which provided in Spring Data Mongo. You have to add some code fragments to Spring configuration. <!-- Mongo cros...