Introduction to Spring Data Cassandra 1. Overview This article is a practical introduction to working with Cassandra with Spring Data. We’ll start the from the basics and go through the configurations and coding, finally building up a complete Spring Data Cassandra module. 2. Maven Dependencies Let’s start by defining the… Continue Reading spring-data-cassandra-tutorial

Spring DataIntegrityViolationException 1. Overview In this article, we will discuss the Spring org.springframework.dao.DataIntegrityViolationException – this is a generic data exception typically thrown by the Spring exception translation mechanism when dealing with lower level persistence exceptions. The article will discuss the most common causes of this exception along with the solution… Continue Reading spring-dataIntegrityviolationexception

Use the Latest Version of a Dependency in Maven 1. Overview Upgrading Maven dependencies manually has always been a tedious work, especially in projects with a lot of libraries releasing frequently. In this tutorial, we’ll learn how to exploit the Versions Maven Plugin to keep our dependencies up-to-date. Above all,… Continue Reading maven-dependency-latest-version

Java List UnsupportedOperationException 1. Overview In this quick tutorial, we’ll discuss a common Exception that can occur when working with some the API of most List implementations – the UnsupportedOperationException. A java.util.List has more functionality than an ordinary array can support. For instance, with only one built-in method call, it’s possible to check if… Continue Reading java-list-unsupported-operation-exception