JPA Caching

JPACachingThumbnail

Let us understand how jpa caching method is divided in different layers. JPA Caching: Although JPA Caching includes two levels, i.e. Persistence context and shared level, roughly an application can have different levels. Let us understand the diagram which I’ve…

JPA Bean Validation

This article demonstrates how ┬áconstraints can be used along with jpa bean validation and how constraints can be retrieved when doing jpa bean validation. JPA Bean Validation: JPA bean validation isn’t directly related to JPA itself. Package javax.validation.constraints provides a…