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 » -

JavaMail can be evil (and force you to restart your app server)
JavaMail always had an interesting approach when it comes to its configuration. Basically you have to fill an untyped map…
Read More » -

Stop Trying to Emulate SQL OFFSET Pagination with Your In-House DB Framework!
Iām pretty sure youāve gotten it wrong in numerous ways, so far. And you probably wonāt get it right any…
Read More » -

Hibernate Debugging – Finding the origin of a Query
It’s not always immediate why and in which part of the program is Hibernate generating a given SQL query, especially…
Read More » -

Creating files and directories in NIO.2
Great number of applications nowadays create files or directories for very wide range of purposes. Whether it is to generate…
Read More » -

Pitfalls of the Hibernate Second-Level / Query Caches
This post will go through how to setup the Hibernate Second-Level and Query caches, how they work and what are…
Read More » -

Working with files and directories in NIO.2
In previous articles I discussed creation (Creating files and directories) and selection (Listing and filtering directory contents) of files and…
Read More » -

RSS Reader Using: ROME, Spring MVC, Embedded Jetty
In this post I will show some guidelines to create a Spring web application, running it using Jetty and using…
Read More » -

A beginnerās guide to Hibernate Types
The basic mapping concepts When learning Hibernate many like to jump to parent-child associations without mastering the object relation mapping…
Read More »




