Hibernate and JPA can both execute native SQL statements against a Database. In this tutorial we will learn how to map SQL native queries in Spring Boot applications.
In this tutorial we will learn how to configure Spring Boot embedded server to accept HTTPS request for your Web applications. by creating a self signed certificate.
A pretty common issue for Spring Boot application is a 404 Not Found Error for your REST Controllers. Let’s learn how to fix it in one minute!
This tutorial covers how to use MapStruct library to map automatically your Data Transfer Objects with your repository data, which in this example is managed by the JPA layer of a Spring Boot application.
The ApplicationReadyEvent (https://docs.spring.io/spring-boot/docs/current/api/org/springframework/boot/context/event/ApplicationReadyEvent.html) can be used to trigger application code when a Spring Boot application is started. Let’s see how to do it in practice.
With earlier versions of Spring Boot, it was cumbersome to import additional properties or yaml files short of using application.properties and application.yml. You could use the spring.config.additional-location property, but you needed to set it pretty early and it was quite limited with the types of files that it could deal with.
Apache Camel vs Apache Kafka
In this tutorial we will cover which are the key differences between Apache Camel and Apache Kafka from an architecture point of view.
What is Apache Camel ? Apache Camel is an open source integration framework that aims to make integrating systems easier. At the core of the Camel framework is a routing engine, or more precisely a routing-engine builder. It allows you to define your own routing rules, decide from which sources to accept messages, and determine how to process and send those messages to other destinations.
In order to debug your SQL Statements in Spring Boot applications, you can use the following settings in your application.properties file: logging.level.org.hibernate.SQL=DEBUG logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE When this configuration is added, you will be able to see: 1) Each SQL Statement executed 2) The timing information so that you can find slow SQL queries 3) The single parameters … Read more
The Camel File component is the simplest way to transfer files from a source folder to a destination without any coding required.
The following is an example of minimal Camel application which adds a Route that contains the File component: