Native

In this tutorial, you will learn how to configure your Spring Cloud Config Server to use a native file system as a backend. For a step-by-step series of video lessons, please check this page: Spring Boot Microservices and Spring Cloud. Create Spring Cloud Config Server Please read this tutorial: Spring Cloud Config Server and Config Client,…

Read More Spring Cloud Config Server – File System as a Backend

This tutorial will teach you how to create a JPA Native SQL Query to only select information from specific columns. You can find many more Spring Data JPA-related tutorials on this site. Some of the most popular tutorials are: One-to-One Mapping Hibernate/JPA Using Spring Boot and MySQL One-to-Many Mapping Hibernate/JPA Using Spring Boot and MySQL…

Read More Select Specific Columns with JPA Native Query

This short Spring Data JPA tutorial will teach you how to use the LIKE % expression in a Native SQL Query. When using advanced SQL LIKE expression, the % sign in the SQL query would represent zero, one or multiple characters. Let’s have a look at the Native JPA SQL Query that uses advanced SQL…

Read More How to Use LIKE % Expression in JPA SQL Query

This short Spring Data JPA tutorial will teach you how to write a Native UPDATE SQL query. Let’s assume you need to run the following SQL query: update users u set u.EMAIL_VERIFICATION_STATUS = ‘true’ where u.USER_ID = ‘5JwQBHd1mL73XEg8S2e2w4ITn9gOW4’ I assume you will not want to hardcode the values of EMAIL_VERIFICATION_STATUS and USER_ID into an SQL…

Read More Spring Data JPA Native UPDATE SQL Query

This tutorial will teach you how to use the @Query annotation to run custom SQL queries. Spring Data JPA provides us with many ready-to-use query methods which allow us to perform basic CRUD(Create, Read, Update and Delete) operations. However, sometimes, even though we have this ready-to-use Query method, we still need to run a custom…

Read More Spring Data JPA Native SQL Query