From 6bf95c6c89ac441cc2be7718c69ac6926d11d22c Mon Sep 17 00:00:00 2001 From: Georgios Andrianakis Date: Fri, 12 Apr 2024 16:03:52 +0300 Subject: [PATCH] Mention data.sql in Spring Data JPA docs --- docs/src/main/asciidoc/spring-data-jpa.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/main/asciidoc/spring-data-jpa.adoc b/docs/src/main/asciidoc/spring-data-jpa.adoc index 201ae4df8ab29..cb41a8bc350d0 100644 --- a/docs/src/main/asciidoc/spring-data-jpa.adoc +++ b/docs/src/main/asciidoc/spring-data-jpa.adoc @@ -162,6 +162,8 @@ INSERT INTO fruit(id, name, color) VALUES (5, 'Strawberry', 'Red'); Hibernate ORM will execute these queries on application startup. +TIP: Users can also use a file named `data.sql` in addition to `import.sql` + == Define the repository It is now time to define the repository that will be used to access `Fruit`.