Java
-
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 » -
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 » -
Yet another Java 8 Lamdbas and Streams example
I’ve been lagging behind with what Java 8 features exercising concerns, so in this post I will briefly present my initial…
Read More » -
Validating XML Against XSD(s) in Java
There are numerous tools available for validating an XML document against an XSD. These include operating system scripts and tools…
Read More »