Custom Cascading in Spring Data MongoDB 1. Overview This tutorial will continue to explore some of the core features of Spring Data MongoDB – the @DBRef annotation and life-cycle events. 2. @DBRef The mapping framework doesn’t support storing parent-child relations and embedded documents within other documents. What we can do… Continue Reading cascading-with-dbref-and-lifecycle-events-in-spring-data-mongodb

The Exists Query in Spring Data 1. Introduction In many data-centric applications, there might be situations where we need to check whether a particular object already exists. In this tutorial, we’ll discuss several ways to achieve precisely that using Spring Data and JPA. 2. Sample Entity To set the stage… Continue Reading spring-data-exists-query

Custom Reporting with TestNG 1. Overview In this article, we will discuss generating custom logging and reports using TestNG. TestNG provides its own reporting feature – generating reports in either HTML/XML formats. If tests are run using the maven-surefire-plugin, the report will take the default form defined by the plugin.… Continue Reading testng-custom-reporting