Skip to content

Commit

Permalink
Merge pull request #40046 from geoand/data.sql-docs
Browse files Browse the repository at this point in the history
Mention data.sql in Spring Data JPA docs
  • Loading branch information
geoand authored Apr 12, 2024
2 parents 253c02e + 6bf95c6 commit 2823d85
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/src/main/asciidoc/spring-data-jpa.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit 2823d85

Please sign in to comment.