Skip to content

Commit

Permalink
Mention data.sql in Spring Data JPA docs
Browse files Browse the repository at this point in the history
  • Loading branch information
geoand committed Apr 12, 2024
1 parent e2bc9a4 commit 6bf95c6
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 6bf95c6

Please sign in to comment.