Skip to content

Commit

Permalink
jdbc conexion
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaiasMorochi committed Aug 22, 2019
1 parent db3c269 commit 32d11e9
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,15 +1,28 @@
#################################
#Configuracion console de BD H2 #
#################################

# default jdbc: testdb user: sa pass: <sinclave> -> localhost:8080/h2-console/
#spring.datasource.url=jdbc:h2:men:clientesdb
#spring.datasource.username=isaias
#spring.datasource.password=sa
#spring.datasource.driver-class-name=org.h2.Driver
spring.h2.console.enabled=true
# default jdbc: testdb user: sa pass: <sinclave>
# localhost:8080/h2-console/

#################################
#Configuracion de BD MYSQL #
#################################
#spring.datasource.url=jdbc:mysql://localhost/clientesdb?serverTimezone=America/La_Paz&useSSL=false
#spring.datasource.username=root
#spring.datasource.password=sasa
#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
#spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect

#solo desarrollo tener las tablas creadas en produccion
spring.jpa.hibernate.ddl-auto=create-drop
logging.level.org.hibernate.SQL=debug

# FILE
spring.servlet.multipart.max-file-size=10MB
spring.servlet.multipart.max-request-size=10MB
spring.servlet.multipart.max-request-size=10MB


0 comments on commit 32d11e9

Please sign in to comment.