From 619c1555d00f9c21d7efdaf09bfe367eca7a6f4e Mon Sep 17 00:00:00 2001 From: Victor Sanchez Date: Mon, 27 Jun 2016 14:10:47 +0200 Subject: [PATCH] Base de datos con SQL --- security_ejem1/pom.xml | 5 +++++ security_ejem1/src/main/resources/application.properties | 6 +++++- .../META-INF/maven/es.sidelab/Probamos/pom.properties | 2 +- .../classes/META-INF/maven/es.sidelab/Probamos/pom.xml | 5 +++++ 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/security_ejem1/pom.xml b/security_ejem1/pom.xml index 492d6d5..4f06a39 100644 --- a/security_ejem1/pom.xml +++ b/security_ejem1/pom.xml @@ -26,6 +26,11 @@ org.springframework.boot spring-boot-starter-data-jpa + + mysql + mysql-connector-java + + com.h2database h2 diff --git a/security_ejem1/src/main/resources/application.properties b/security_ejem1/src/main/resources/application.properties index 735eabe..57dff05 100644 --- a/security_ejem1/src/main/resources/application.properties +++ b/security_ejem1/src/main/resources/application.properties @@ -1,4 +1,8 @@ -spring.jpa.hibernate.ddl-auto= create-drop +spring.datasource.url=jdbc:mysql://localhost/majorleaguefootball +spring.datasource.username=root +spring.datasource.password=amuntRealMadrid +spring.datasource.driverClassName=com.mysql.jdbc.Driver +spring.jpa.hibernate.ddl-auto: update server.port=8443 server.ssl.key-store=classpath:keystore.p12 server.ssl.key-store-password=tomcat diff --git a/security_ejem1/target/classes/META-INF/maven/es.sidelab/Probamos/pom.properties b/security_ejem1/target/classes/META-INF/maven/es.sidelab/Probamos/pom.properties index ca70555..93ad8c3 100644 --- a/security_ejem1/target/classes/META-INF/maven/es.sidelab/Probamos/pom.properties +++ b/security_ejem1/target/classes/META-INF/maven/es.sidelab/Probamos/pom.properties @@ -1,5 +1,5 @@ #Generated by Maven Integration for Eclipse -#Sat Jun 25 12:28:33 CEST 2016 +#Mon Jun 27 14:09:05 CEST 2016 version=0.1.0 groupId=es.sidelab m2e.projectName=Probamos diff --git a/security_ejem1/target/classes/META-INF/maven/es.sidelab/Probamos/pom.xml b/security_ejem1/target/classes/META-INF/maven/es.sidelab/Probamos/pom.xml index 492d6d5..4f06a39 100644 --- a/security_ejem1/target/classes/META-INF/maven/es.sidelab/Probamos/pom.xml +++ b/security_ejem1/target/classes/META-INF/maven/es.sidelab/Probamos/pom.xml @@ -26,6 +26,11 @@ org.springframework.boot spring-boot-starter-data-jpa + + mysql + mysql-connector-java + + com.h2database h2