👋Hey there,I'm Dimitri

I like trying out new frameworks and writing about them. Below you can find the latest articles I wrote.


Writing dynamic queries with Spring Data JPA

September 3rd, 2019 | 7 min read | Hibernate, JPA, Spring, Spring Data

In one of my earlier tutorials, I’ve explored the basics about Spring Data JPA. While that tutorial shows what you have to do in most situations, in some cases you want to have more control over your queries rather than having a fairly static one.

Loading initial data with Spring

August 20th, 2019 | 7 min read | Java, JPA, Spring, Spring boot, Spring Data

I’ve been answering Spring related questions on Stack Overflow for the past three years now, and one of my most popular answers is about how to load initial data. While my solution over there works really fine, there are multiple solutions to this problem, and in this tutorial I’ll demonstrate which ones you have. This […]

JPA made easy with Spring data’s repositories

January 12th, 2016 | 9 min read | JPA, Spring, Spring boot, Spring Data, Web

In my previous tutorial I made a simple application to show some superheroes and supervillains. While the application did what it should do it was pretty statically because I used some mock data. With Spring Data it’s very easy to create a simple CRUD application without the hassle of creating your own DAO’s. Spring Boot […]

Testing your Spring Data JPA repository

February 16th, 2015 | 6 min read | JPA, Spring, Testing

With Spring Data JPA, persisting data is quite easy. You no longer need to write complex DAO’s or repositories, no, all you need is an interface. If you look at my Spring Boot tutorial, you will see that by writing a few lines of code for creating our interface, we’re able to read, update, delete and […]

Cronjob emulatie met Quartz scheduler

August 29th, 2012 | 5 min read | JPA, Lucene, Quartz, Spring

Tijdens vorige tutorial heb ik jullie kennis laten maken met Lucene en Hibernate search. Hibernate search zorgt ervoor dat objecten/entiteiten bij het persisteren ervan, tevens in Lucene up-to-date blijft. Hier is echter ook een nadeel mee verbonden, records die niet via Hibernate gewijzigd worden in de database (rechtstreeks of via een andere applicatie), worden dus […]

Lucene en Hibernate search

August 29th, 2012 | 9 min read | JPA, Lucene, Spring

In één van de vorige tutorials heb ik uitgelegd hoe je via Hibernate/JPA objecten uit de database kunt halen. In deze tutorial ga ik daar iets verder op indiepen door jullie kennis te laten maken met Hibernate search en Lucene.