Author: iba
-
Best sat nav devices with built-in dashcam 2019
(Disclaimer: This post contains our affiliate links. So when you buy something through them, we earn a commission. This helps our website to keep running and grow. Thank you!) In this post, we will discuss some options if you are looking for a car satellite navigation device with a built-in dashcam. The advantage of having…
-
How to add a table of contents to your WordPress posts
In this post, we will discuss how to automatically add the table of contents to your WordPress posts. Why is the table of contents a necessary component for both the writer and the reader? When I first started blogging, I would usually begin writing my articles by having an introduction section, then a few more…
-
How to configure sharding with Lucene, Hibernate search & Spring Boot
In this guide, we will explore how to implement sharding with Lucene and Hibernate Search in a Spring boot and JPA environment. We will discuss why is it useful and when is it a good idea to implement it. I would also suggest that you read our guide here if you are just getting started with…
-
The Garmin DriveSmart 65 – A detailed review
In this guide, we will discuss the Garmin DriveSmart 65 (click to check current price on Amazon) satellite navigation device, how does it look like, how is it like on the road and the pros and cons of the product. If you would like to check our quick summary and our pros and cons list,…
-
Spring boot and Lucene configuration example
In this tutorial, we will set up a Spring boot application to use Hibernate search with a Lucene indexing backend. This tutorial assumes that you already have a working Spring boot application with JPA/Hibernate configured. Please check out our tutorial “Getting started with Spring boot 2 and JPA” if you are new to Spring boot and…
-
Configuring XStream to convert Java objects to and from XML
Serializing Java objects to and from XML is a necessary operation in many software systems. For example, when communicating with other systems and back-ends, or simply when storing and loading data. In this tutorial, we will discuss how to use the XStream library to convert Java objects to and from XML. What is XStream XStream…
-
Configuring @PostLoad and @PostUpdate in JPA/Hibernate
In this post we will discuss how to use the @PostLoad and @PostUpdate annotations in Hibernate/JPA. This tutorial assumes that you have some knowledge of the @PreUpdate and @PrePersist annotations. If you are not familiar with these annotations, then please check our earlier post here. What are the @PostLoad and @PostUpdate annotations The @PostLoad and…
-
Java Switch Statements – Uses, Advantages and Restrictions
In this tutorial, we will discuss what are Java switch statements, how to use them, the allowed data types that can be used in the switch statements and the advantages and restrictions that apply to them. What is a “switch” statement A “switch” statement in Java is a conditional operator used to direct…
-
How to use @PrePersist and @PreUpdate in JPA/Hibernate
In this post, we will discuss the @PrePersist and the @PreUpdate annotations and how and why they are used in a JPA / Hibernate environment to configure entity insertion and update hooks. When configuring hooks and listeners for database operations, we need to be careful not to negatively affect the performance of the database or…