Skip to content

Commit

Permalink
deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Edith Soares committed May 19, 2021
1 parent 5259bc4 commit 101bd4a
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/main/resources/application.properties
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

0 comments on commit 101bd4a

Please sign in to comment.