-
Enterprise Java
Hibernate Logging: Tips and Solutions to Common Problems
How to solve some of the most common Hibernate issues with proper logging? Hibernate’s logging configuration is an important but…
Read More » -
Enterprise Java
5 Common Hibernate Exceptions and How to Fix Them
See how you can easily solve the most common issues with Hibernate Hibernate is probably the most popular JPA implementation…
Read More » -
Enterprise Java
5 ways to initialize lazy relations and when to use them
Lazy loading of relations between entities is a well established best practice in JPA. Its main goal is to retrieve…
Read More » -
Enterprise Java
Java EE Pitfalls #1: Ignore the default lock of a @Singleton
EJB Singleton Beans were introduced by the EJB 3.1 specification and are often used to store cached data. This means,…
Read More » -
Enterprise Java
Testing with Aliens: How to test a JPA type converter with Arquillian
This post was written together with +Aslak Knutsen (@aslakknutsen). JPA type converters provide an easy way to define how an…
Read More » -
Enterprise Java
How to use a JPA Type Converter to encrypt your data
A few days ago, I read an interesting article by Bear Giles about Database encryption using JPA listeners from 2012.…
Read More » -
Enterprise Java
JPA 2.1 Entity Graph – Part 2: Define lazy/eager loading at runtime
This is my second post on JPA 2.1 Entity Graphs. The first post described the usage of named entity graphs.…
Read More » -
Enterprise Java
JPA 2.1 Entity Graph – Part 1: Named entity graphs
Lazy loading was often an issue with JPA 2.0. You have to define at the entity if you want to…
Read More » -
Enterprise Java
Generate your JAXB classes in a second with xjc
Since JAXB is part of the JDK, it is one of the most often used frameworks to process XML documents.…
Read More »
- 1
- 2