diff --git a/README.md b/README.md new file mode 100644 index 0000000..cef49ae --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# Formación en institutos FP de la Comunidad de Madrid + +## Modelo Entidad Relación Extendido +![Modelo Entidad Relación Extendido](img/ModeloER-FormacionesInstitutosFP.png) + +## Modelo Relacional +![Modelo Relacional](img/ModeloRelacional-FormacionesInstitutosFP.png) \ No newline at end of file diff --git a/img/ModeloER-FormacionesInstitutosFP.png b/img/ModeloER-FormacionesInstitutosFP.png new file mode 100644 index 0000000..fd19677 Binary files /dev/null and b/img/ModeloER-FormacionesInstitutosFP.png differ diff --git a/img/ModeloRelacional-FormacionesInstitutosFP.png b/img/ModeloRelacional-FormacionesInstitutosFP.png new file mode 100644 index 0000000..36e6f86 Binary files /dev/null and b/img/ModeloRelacional-FormacionesInstitutosFP.png differ diff --git a/src/main/resources/META-INF/persistence.xml b/src/main/resources/META-INF/persistence.xml index 7715c54..7818d7f 100644 --- a/src/main/resources/META-INF/persistence.xml +++ b/src/main/resources/META-INF/persistence.xml @@ -1,6 +1,5 @@ - @@ -12,7 +11,8 @@ - + + diff --git a/src/main/resources/formacion.properties b/src/main/resources/formacion.properties index 7fc2056..c79167f 100644 --- a/src/main/resources/formacion.properties +++ b/src/main/resources/formacion.properties @@ -1,11 +1,11 @@ # Información sobre la Base de datos PostgreSQL jdbc.driver=org.postgresql.Driver -jdbc.url=jdbc:postgresql://10.11.218.147:5432/formacionfp_postgresql +jdbc.url=jdbc:postgresql://192.168.1.36:5432/formacionfp_postgresql jdbc.usuario=vdlp jdbc.password=postgresql_123 # Información sobre la Base de datos MongoDB -mongodb.url=mongodb://localhost:27017/ +mongodb.url=mongodb://admin:mongodb_123@192.168.1.36:27017 mongodb.bbdd=formacionfp_dam2 #ruta URL formaciones diff --git a/src/main/resources/hibernate.cfg.xml b/src/main/resources/hibernate.cfg.xml index 4ee607b..710e776 100644 --- a/src/main/resources/hibernate.cfg.xml +++ b/src/main/resources/hibernate.cfg.xml @@ -4,7 +4,7 @@ "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd"> - jdbc:mysql://10.11.218.147:3306/formacionfp_dam2 + jdbc:mysql://192.168.1.36:3306/formacionfp_dam2 com.mysql.cj.jdbc.Driver org.hibernate.dialect.MySQLDialect