-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configuraçoes para banco H2 em memória para teste da API
- Loading branch information
1 parent
73d3424
commit 6bad33c
Showing
2 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
spring: | ||
|
||
datasource: | ||
url: jdbc:h2:mem:testdb | ||
username: sa | ||
password: | ||
driverClassName: org.h2.Driver | ||
|
||
jpa: | ||
database-platform: org.hibernate.dialect.H2Dialect | ||
properties.hibernate.show_sql: true | ||
properties.hibernate.format_sql: true | ||
|
||
h2: | ||
console: | ||
enabled: true | ||
path: /h2 |