-
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.
- Loading branch information
Edith Soares
committed
May 19, 2021
1 parent
5259bc4
commit 101bd4a
Showing
1 changed file
with
15 additions
and
15 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,23 +1,23 @@ | ||
## --------- Configuração banco MySql --------- | ||
|
||
#spring.datasource.url=jdbc:mysql://localhost:3306/luizacode | ||
spring.datasource.url=mysql://b66ed712bc811c:[email protected]/heroku_26b0e4901d71f24?reconnect=true | ||
#spring.datasource.username=root | ||
#spring.datasource.password=edith123 | ||
#spring.jpa.hibernate.ddl-auto=update | ||
# | ||
### Hibernate Properties | ||
## The SQL dialect makes Hibernate generate better SQL for the chosen database | ||
#spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect | ||
|
||
## Hibernate Properties | ||
# The SQL dialect makes Hibernate generate better SQL for the chosen database | ||
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect | ||
|
||
##-------------------Configuração do H2------------- | ||
|
||
spring.h2.console.enabled=true | ||
spring.h2.console.path=/h2 | ||
spring.datasource.url=jdbc:h2:mem:teste | ||
spring.datasource.driver-class-name=org.h2.Driver | ||
spring.datasource.username=sa | ||
spring.datasource.password=password | ||
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect | ||
server.port=8080 | ||
spring.jpa.hibernate.ddl-auto=create | ||
spring.jpa.show-sql=true | ||
#spring.h2.console.enabled=true | ||
#spring.h2.console.path=/h2 | ||
#spring.datasource.url=jdbc:h2:mem:teste | ||
#spring.datasource.driver-class-name=org.h2.Driver | ||
#spring.datasource.username=sa | ||
#spring.datasource.password=password | ||
#spring.jpa.database-platform=org.hibernate.dialect.H2Dialect | ||
#server.port=8080 | ||
#spring.jpa.hibernate.ddl-auto=create | ||
#spring.jpa.show-sql=true |