Java
-

Automatic promotion of artifacts to Maven Central from Gradle
Quick tutorial how to promote/release artifacts in a Gradle project to Maven Central, without clicking in the Nexus GUI with…
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 » -

Functional Interfaces
Table Of Contents 1. Introduction 2. Justification 3. Lambda Expressions 4. Predicate<T> 5. BiPredicate<T,U> 6. Function<T,R> 7. BiFunction<T,U,R> 8. Consumer<T>…
Read More » -

Displaying Paths in Ant
In the blog posts Java and Ant Properties Refresher and Ant <echoproperties /> Task, I wrote about how being able…
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 » -

Using jstat to report custom JVM metric sets
I’ve always been missing possibility to configure custom headers in JStat. Of course there are a lot of predefined data…
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 »





