Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
V
vinculacion
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kevin Jordan Holguin Muñoz
vinculacion
Commits
a734ffa4
Commit
a734ffa4
authored
Feb 14, 2019
by
Kevin Jordan Holguin Muñoz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dia 2: ejemplo archivo de conexion de mysql
parent
832f881e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
application.properties
src/main/resources/application.properties
+28
-0
No files found.
src/main/resources/application.properties
0 → 100644
View file @
a734ffa4
spring.autoconfigure.exclude
=
org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration
/*
archivo
de
conexion
mysql
spring.datasource.url
=
jdbc:mysql://localhost:3306/spring
spring.datasource.username
=
root
spring.datasource.password
=
spring.datasource.driver-class-name
=
com.mysql.jdbc.Driver
# Keep the connection alive if idle for a long time (needed in production)
spring.datasource.testWhileIdle
=
true
spring.datasource.validationQuery
=
SELECT 1
# Show or not log for each sql query
spring.jpa.show-sql
=
true
# Hibernate ddl auto (create, create-drop, update)
spring.jpa.hibernate.ddl-auto
=
update
# Naming strategy
spring.jpa.hibernate.naming-strategy
=
org.hibernate.cfg.ImprovedNamingStrategy
# Use spring.jpa.properties.* for Hibernate native properties (the prefix is
# stripped before adding them to the entity manager)
# The SQL dialect makes Hibernate generate better SQL for the chosen database
spring.jpa.properties.hibernate.dialect
=
org.hibernate.dialect.MySQL5Dialect
*/
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment