Loading...

Latest Posts

Newsletter June 29, 2023

Write your own PasswordEncoder. NOT!

Hi, Have you ever written your own password encoder? I haven’t exactly - but I had to use a homemade one. In a central User-Management-Service, the customer data of all users came together. And in this, the passwords were stored. Thus, when registering a new user, the same encoder had to be used. In practice - fortunately - it did not blow up in our faces. But it was highly critical.


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.


Top