Difference Between @Size, @Length, and @Column(length=value) 1. Overview In this quick tutorial, we’ll take a look at JSR-330‘s @Size, Hibernate‘s @Length and JPA @Column‘s length attribute. At first blush, these may seem the same, but they perform different functions. Let’s see how. 2. Origins Simply put, all of these annotations… Continue Reading jpa-size-length-column-differences

Java Type System Interview Questions 1. Introduction Java Type System is a topic often brought up on technical interviews for Java developers. This article reviews some important questions that are asked most often and may be tricky to get right. 2. Questions ==== Q1. Describe the Place of the Object… Continue Reading java-type-system-interview-questions

Spring Security 5 – OAuth2 Login 1. Overview Spring Security 5 introduces a new OAuth2LoginConfigurer class that we can use for configuring an external Authorization Server. In this article, we’ll explore some of the various configuration options available for the oauth2Login() element. 2. Maven Dependencies In addition to the standard… Continue Reading spring-security-5-oauth2-login