Enterprise Java
-
Hack up a Simple JDBC ResultSet Cache Using jOOQ’s MockDataProvider
Some queries shouldn’t hit the database all the time. When you query for master data (such as system settings, languages,…
Read More » -
Spring XD for Data Ingestion
Spring XD is a powerful tool that is an installable set of Spring Boot services that run either standalone, on…
Read More » -
Spicy Spring : Different ways of Autowiring
I would like to show different ways of using Spring’s @Autowired annotation: Constructor, Method and Field autowiring. The examples I…
Read More » -
jOOQ vs. Hibernate: When to Choose Which
Hibernate has become a de-facto standard in the Java ecosystem, and after the fact, also an actual JavaEE standard implementation…
Read More » -
Creating a MongoDB Capped Collection in Java
In MongoDB, it’s possible to preserve the insertion order of documents into a collection in a circular fashion. These types…
Read More » -
Enumerating @NamedQuery within @NamedQueries
Introduction If you’re a Java developer using JPA, chances are that you’ve declared one or more @NamedQuery objects on your…
Read More » -
JPA Database Schema Generation
For some time now, most of the main implementations of JPA, like Hibernate, EclipseLink or OpenJPA, offered ways to generate…
Read More » -
How to batch INSERT and UPDATE statements with Hibernate
Introduction JDBC has long been offering support for DML statement batching. By default, all statements are sent one after the…
Read More » -
Spring Boot & Swagger UI
I have not developed Spring web applications from scratch for one year and maybe this period of time will be…
Read More »