Common Hibernate Exceptions 1. Introduction In this tutorial, we’ll discuss some common exceptions we can encounter while working with Hibernate. We’ll review their purpose and some common causes. Additionally, we’ll look into their solutions. 2. Hibernate Exception Overview Many conditions can cause exceptions to be thrown while using Hibernate. These… Continue Reading hibernate-exceptions

A Guide to the ViewResolver in Spring MVC 1. Overview All MVC frameworks provide a way of working with views. Spring does that via the view resolvers, which enable you to render models in the browser without tying the implementation to a specific view technology. The ViewResolver maps view names… Continue Reading spring-mvc-view-resolver-tutorial

Spring JSON-P with Jackson 1. Overview If you’ve been developing anything on the web, you’re aware of the same-origin policy constraint browsers have when dealing with AJAX requests. The simple overview of the constraint is that any request originating from a different domain, schema or port, will not be permitted.… Continue Reading spring-jackson-jsonp

BigDecimal and BigInteger in Java 1. Overview In this tutorial, we will demonstrate BigDecimal and the BigInteger classes. We’ll describe the two data types, their characteristics, and their usage scenarios. We’ll also briefly cover the various operations using the two classes. 2. BigDecimal BigDecimal represents an immutable arbitrary-precision signed decimal number.… Continue Reading java-bigdecimal-biginteger

Converting Synchronous and Asynchronous APIs to Observables using RxJava2 1. Overview In this tutorial, we’re going to learn how to transform traditional synchronous and asynchronous APIs into Observables using RxJava2 operators. We’ll create a few simple functions that will help us discuss these operators in detail. 2. Maven Dependencies First,… Continue Reading rxjava-apis-to-observables