Loading...

Latest Posts

JPA June 28, 2023

How to Define an Index with Spring Data JPA

In this article, we will deal with the definition of indexes in Spring Data JPA and the Hibernate Framework. Our focus is on defining an index for a non-primary key and using the @Index annotation. The proper use of indexes plays a crucial role in optimizing the performance of your database, as they enable faster data queries and overall improve database performance. Defining an Index with the @Index Annotation With JPA and Hibernate, you can define indexes on entities and non-entity tables such as @SecondaryTable, @CollectionTable, and @JoinTable using the @Index annotation.


Newsletter June 26, 2023

Laziness Prevails

Hi, Laziness prevails. Always. Countless times I’ve tried to adopt beneficial routines. I joined a gym - after a few months, I barely went anymore. I baked my own bread - after (admittedly) two years, I no longer did. I got up at 5 am to meditate and exercise - I couldn’t maintain this for more than 4 weeks. As good as these routines would have been, had I kept them up for years - they come with high investments.


Newsletter June 22, 2023

El Niño

Hi, El Niño is back. The surface temperature of the Pacific Ocean periodically fluctuates. This seemingly inconspicuous change triggers a cascade of weather changes that extend their influence to the most remote corners of the globe. Floods in South America, droughts in Australia, and even snowstorms in North America - all caused by a few degrees of temperature difference in the Pacific. This phenomenon occurs every 2 to 7 years. This year, it’s that time again.


Newsletter June 19, 2023

Is Anyone Actually Reading This?

Hi, Is anyone actually reading the newsletter? Well, you’re doing it right now ;-) I started my blog in 2019. Back then under the name code-held.com. It was not my intention at all to provide valuable, SEO optimized content that helps random visitors to the site. No. It was there for two things. On one hand as a reference for future job applications - I knew I would soon be moving back to my hometown and would need a new job.


Performance June 16, 2023

How to Monitor Your Spring Boot Application with Spring Actuator and Micrometer

In the world of application development using Spring Boot, it’s crucial to focus not just on the development aspect but also on performance monitoring. In this extensive guide, we’ll explore the steps to set up monitoring for your Spring Boot application using Spring Actuator and Micrometer, and how to employ Prometheus and Grafana for effective metrics handling and visualization. Understanding Spring Boot Monitoring Monitoring forms an essential part of ensuring the health of an application.


Top