commit f40b66553c66538f23f96753c519a46d542806cd Author: luis.garcia104 Date: Fri Oct 30 16:41:14 2026 +0100 commit diff --git a/.classpath b/.classpath new file mode 100644 index 0000000..30d3938 --- /dev/null +++ b/.classpath @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.project b/.project new file mode 100644 index 0000000..d325c50 --- /dev/null +++ b/.project @@ -0,0 +1,23 @@ + + + aadd_conect02 + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.m2e.core.maven2Nature + org.eclipse.jdt.core.javanature + + diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..35262b9 --- /dev/null +++ b/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,14 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=26 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=26 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.forbiddenReference=error +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning +org.eclipse.jdt.core.compiler.release=enabled +org.eclipse.jdt.core.compiler.source=26 diff --git a/.settings/org.eclipse.m2e.core.prefs b/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000..f897a7f --- /dev/null +++ b/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/bin/application.properties b/bin/application.properties new file mode 100644 index 0000000..e12452b --- /dev/null +++ b/bin/application.properties @@ -0,0 +1,5 @@ +sgdb.clase.driver=com.mysql.cj.jdbc.Driver +sgdb.conexion.url=jdbc:mysql://10.100.11.141:3306/ +bbdd.nombre=Mapa_Mundi +bbdd.usuario=root +bbdd.clave=root \ No newline at end of file diff --git a/bin/module-info.class b/bin/module-info.class new file mode 100644 index 0000000..536fd1b Binary files /dev/null and b/bin/module-info.class differ diff --git a/bin/org/palomafp/aadd/lmga/AppPrincipal.class b/bin/org/palomafp/aadd/lmga/AppPrincipal.class new file mode 100644 index 0000000..8d73a8e Binary files /dev/null and b/bin/org/palomafp/aadd/lmga/AppPrincipal.class differ diff --git a/bin/org/palomafp/aadd/lmga/dao/IPaisDAO.class b/bin/org/palomafp/aadd/lmga/dao/IPaisDAO.class new file mode 100644 index 0000000..70c6731 Binary files /dev/null and b/bin/org/palomafp/aadd/lmga/dao/IPaisDAO.class differ diff --git a/bin/org/palomafp/aadd/lmga/dao/impl/PaisDaoJDBC.class b/bin/org/palomafp/aadd/lmga/dao/impl/PaisDaoJDBC.class new file mode 100644 index 0000000..18bfb9d Binary files /dev/null and b/bin/org/palomafp/aadd/lmga/dao/impl/PaisDaoJDBC.class differ diff --git a/bin/org/palomafp/aadd/lmga/gestores/GestorConexionesBBDD.class b/bin/org/palomafp/aadd/lmga/gestores/GestorConexionesBBDD.class new file mode 100644 index 0000000..02f1db9 Binary files /dev/null and b/bin/org/palomafp/aadd/lmga/gestores/GestorConexionesBBDD.class differ diff --git a/bin/org/palomafp/aadd/lmga/gestores/GestorConfiguracion.class b/bin/org/palomafp/aadd/lmga/gestores/GestorConfiguracion.class new file mode 100644 index 0000000..3ea5e15 Binary files /dev/null and b/bin/org/palomafp/aadd/lmga/gestores/GestorConfiguracion.class differ diff --git a/bin/org/palomafp/aadd/lmga/model/Continente.class b/bin/org/palomafp/aadd/lmga/model/Continente.class new file mode 100644 index 0000000..bf83b03 Binary files /dev/null and b/bin/org/palomafp/aadd/lmga/model/Continente.class differ diff --git a/bin/org/palomafp/aadd/lmga/model/Pais.class b/bin/org/palomafp/aadd/lmga/model/Pais.class new file mode 100644 index 0000000..774fa9f Binary files /dev/null and b/bin/org/palomafp/aadd/lmga/model/Pais.class differ diff --git a/bin/org/palomafp/aadd/lmga/service/PaisService.class b/bin/org/palomafp/aadd/lmga/service/PaisService.class new file mode 100644 index 0000000..9ee0b03 Binary files /dev/null and b/bin/org/palomafp/aadd/lmga/service/PaisService.class differ diff --git a/config/application.properties b/config/application.properties new file mode 100644 index 0000000..e12452b --- /dev/null +++ b/config/application.properties @@ -0,0 +1,5 @@ +sgdb.clase.driver=com.mysql.cj.jdbc.Driver +sgdb.conexion.url=jdbc:mysql://10.100.11.141:3306/ +bbdd.nombre=Mapa_Mundi +bbdd.usuario=root +bbdd.clave=root \ No newline at end of file diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..09d75ea --- /dev/null +++ b/pom.xml @@ -0,0 +1,35 @@ + + 4.0.0 + aadd_conect02 + aadd_conect02 + 0.0.1-SNAPSHOT + + + + com.mysql + mysql-connector-j + 26.10.0 + compile + + + + src + + + config + + **/*.java + + + + + + maven-compiler-plugin + 3.13.0 + + 26 + + + + + \ No newline at end of file diff --git a/src/module-info.java b/src/module-info.java new file mode 100644 index 0000000..a42d755 --- /dev/null +++ b/src/module-info.java @@ -0,0 +1,9 @@ +/** + * + */ +/** + * + */ +module aadd_conect02 { + requires java.sql; +} \ No newline at end of file diff --git a/src/org/palomafp/aadd/lmga/AppPrincipal.java b/src/org/palomafp/aadd/lmga/AppPrincipal.java new file mode 100644 index 0000000..a235c16 --- /dev/null +++ b/src/org/palomafp/aadd/lmga/AppPrincipal.java @@ -0,0 +1,58 @@ +package org.palomafp.aadd.lmga; + +import java.util.List; + +import org.palomafp.aadd.lmga.model.Pais; +import org.palomafp.aadd.lmga.service.PaisService; + +/** + * + * AppPrincipal: Clase que realiza .... + * + * @author Isidoro Nevares Martín - IES Virgen de la Paloma + * @date 28 oct 2026 + * + * + */ + +public class AppPrincipal { + public static void main(String[] args) { + AppPrincipal app = new AppPrincipal(); + + app.realizarTratamientoPaises(); + } + + private void realizarTratamientoPaises() { + PaisService paisService = new PaisService(); + + // 1. Imprimir lista Paises + List listaPaises = paisService.obtenerListaPaises(); + for (Pais pais : listaPaises) { + System.out.println(pais); + } + System.out.println("----------Fin---obtenerListaPaises-------------"); + + // 2. Imprimir país 152 + int idPais = 152; + Pais pais = paisService.obtenerPaisPorID(idPais); + System.out.println(pais); + System.out.println("--------Fin---obtenerPaisPorIdentificador---------------"); + + // Se realizan las operaciones si existe el país. + if (pais != null) { + // 3. Borrar Paises 152 + paisService.borrarPais(idPais); + System.out.println("--------Fin---borrarPais---------------"); + + // 4. Insertar Paises 152 + paisService.insertarPais(pais); + System.out.println("---------Fin---insertarPais--------------"); + + // 5. Actualizar País - Capital City + pais.setCapital("Capital City"); + paisService.actualizarPais(pais); + System.out.println("---------Fin---actualizarPais--------------"); + } + } + +} diff --git a/src/org/palomafp/aadd/lmga/dao/IPaisDAO.java b/src/org/palomafp/aadd/lmga/dao/IPaisDAO.java new file mode 100644 index 0000000..1b09d95 --- /dev/null +++ b/src/org/palomafp/aadd/lmga/dao/IPaisDAO.java @@ -0,0 +1,13 @@ +package org.palomafp.aadd.lmga.dao; + +import org.palomafp.aadd.lmga.model.Pais; +import java.util.List; + +public interface IPaisDAO { + List obtenerListaPaises(); + Pais obtenerPaisPorIdentificador(int idPais); + void insertarPais(Pais pais); + void actualizarPais(Pais pais); + void borrarPais(int idPais); +} + diff --git a/src/org/palomafp/aadd/lmga/dao/impl/PaisDaoJDBC.java b/src/org/palomafp/aadd/lmga/dao/impl/PaisDaoJDBC.java new file mode 100644 index 0000000..7b99b91 --- /dev/null +++ b/src/org/palomafp/aadd/lmga/dao/impl/PaisDaoJDBC.java @@ -0,0 +1,150 @@ +package org.palomafp.aadd.lmga.dao.impl; + +import java.sql.Connection; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.sql.Statement; +import java.util.ArrayList; +import java.util.List; + +import org.palomafp.aadd.lmga.dao.IPaisDAO; +import org.palomafp.aadd.lmga.model.Continente; +import org.palomafp.aadd.lmga.model.Pais; + +public class PaisDaoJDBC implements IPaisDAO { + private final Connection conexion; + + public PaisDaoJDBC(Connection conexion) { + this.conexion = conexion; + } + + @Override + public List obtenerListaPaises() { + List listaPaises = new ArrayList(); + + String sentenciaSQL = """ + SELECT * + FROM T_PAIS p JOIN T_CONTINENTE c + ON p.cod_continente=c.codigo + """; +// System.out.println(sentenciaSQL); + try (Statement sentencia = conexion.createStatement(); + ResultSet resultados = sentencia.executeQuery(sentenciaSQL);) { + while (resultados.next()) { + int identificador = resultados.getInt("p.identificador"); + String nombrePais = resultados.getString("p.nombre_pais"); + String capital = resultados.getString("p.capital"); + String codigoContinente = resultados.getString("c.codigo"); + String nombreContinente = resultados.getString("c.nombre_continente"); + + Pais pais = new Pais(); + pais.setIdentificador(identificador); + pais.setNombre(nombrePais); + pais.setCapital(capital); + + Continente continente = new Continente(); + continente.setCodigo(codigoContinente); + continente.setNombre(nombreContinente); + pais.setContinente(continente); + + listaPaises.add(pais); + + } + + } catch (SQLException e) { + e.printStackTrace(); + } + return listaPaises; + } + + @Override + public Pais obtenerPaisPorIdentificador(int idPais) { + Pais pais = null; + + String sentenciaSQL = """ + SELECT * + FROM T_PAIS p JOIN T_CONTINENTE c + ON p.cod_continente=c.codigo + WHERE p.identificador = %d + """; + sentenciaSQL = String.format(sentenciaSQL, idPais); +// System.out.println(sentenciaSQL); + try (Statement sentencia = conexion.createStatement(); + ResultSet resultados = sentencia.executeQuery(sentenciaSQL);) { + if (resultados.next()) { + int identificador = resultados.getInt("p.identificador"); + String nombrePais = resultados.getString("p.nombre_pais"); + String capital = resultados.getString("p.capital"); + String codigoContinente = resultados.getString("c.codigo"); + String nombreContinente = resultados.getString("c.nombre_continente"); + + pais = new Pais(); + pais.setIdentificador(identificador); + pais.setNombre(nombrePais); + pais.setCapital(capital); + + Continente continente = new Continente(); + continente.setCodigo(codigoContinente); + continente.setNombre(nombreContinente); + pais.setContinente(continente); + } + + } catch (SQLException e) { + e.printStackTrace(); + } + + return pais; + } + + @Override + public void insertarPais(Pais pais) { + String sentenciaSQL = """ + INSERT INTO T_PAIS (identificador, nombre_pais, capital, cod_continente) + VALUES (%d, '%s', '%s', '%s') + """; + sentenciaSQL = String.format(sentenciaSQL, pais.getIdentificador(), pais.getNombre(), pais.getCapital(), + pais.getContinente().getCodigo()); +// System.out.println(sentenciaSQL); + try (Statement sentencia = conexion.createStatement();) { + sentencia.executeUpdate(sentenciaSQL); + } catch (SQLException e) { + e.printStackTrace(); + } + } + + @Override + public void actualizarPais(Pais pais) { + String sentenciaSQL = """ + UPDATE T_PAIS + SET nombre_pais = '%s', + capital = '%s', + cod_continente= '%s' + WHERE identificador= %d + """; + sentenciaSQL = String.format(sentenciaSQL, pais.getNombre(), pais.getCapital(), + pais.getContinente().getCodigo(), pais.getIdentificador()); +// System.out.println(sentenciaSQL); + try (Statement sentencia = conexion.createStatement();) { + sentencia.executeUpdate(sentenciaSQL); + } catch (SQLException e) { + e.printStackTrace(); + } + } + + @Override + public void borrarPais(int idPais) { + String sentenciaSQL = """ + DELETE FROM T_PAIS + WHERE identificador = %d + """; + sentenciaSQL = String.format(sentenciaSQL, idPais); +// System.out.println(sentenciaSQL); + try (Statement sentencia = conexion.createStatement();) { + sentencia.executeUpdate(sentenciaSQL); + } catch (SQLException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + } + +} diff --git a/src/org/palomafp/aadd/lmga/gestores/GestorConexionesBBDD.java b/src/org/palomafp/aadd/lmga/gestores/GestorConexionesBBDD.java new file mode 100644 index 0000000..44b9479 --- /dev/null +++ b/src/org/palomafp/aadd/lmga/gestores/GestorConexionesBBDD.java @@ -0,0 +1,26 @@ +package org.palomafp.aadd.lmga.gestores; + +import java.sql.Connection; +import java.sql.DriverManager; +import java.sql.SQLException; + +public class GestorConexionesBBDD { + + private GestorConexionesBBDD() { + } + + public static Connection obtenerConexion() { + Connection conexion = null; + try { + Class.forName(GestorConfiguracion.getClaseDriver()); + + String urlConexionCompleta = GestorConfiguracion.getConexionURL() + GestorConfiguracion.getNombreBBDD(); + String usuarioBBDD=GestorConfiguracion.getUsuarioBBDD(); + String claveBBDD=GestorConfiguracion.getClaveBBDD(); + conexion = DriverManager.getConnection(urlConexionCompleta, usuarioBBDD, claveBBDD); + } catch (ClassNotFoundException | SQLException e) { + throw new RuntimeException("No se ha podido obtener una conexión con el SGDB", e); + } + return conexion; + } +} diff --git a/src/org/palomafp/aadd/lmga/gestores/GestorConfiguracion.java b/src/org/palomafp/aadd/lmga/gestores/GestorConfiguracion.java new file mode 100644 index 0000000..195e6d8 --- /dev/null +++ b/src/org/palomafp/aadd/lmga/gestores/GestorConfiguracion.java @@ -0,0 +1,50 @@ +package org.palomafp.aadd.lmga.gestores; + +import java.io.IOException; +import java.io.InputStream; +import java.util.Properties; + +public class GestorConfiguracion { + private static final String RUTA_FICHERO_CONFIGURACION = "application.properties"; + private static final Properties PROPIEDADES_CONFIGURACION = new Properties(); + + + private GestorConfiguracion() { + } + + static { + try (InputStream inputStream = GestorConfiguracion.class.getClassLoader().getResourceAsStream(RUTA_FICHERO_CONFIGURACION);) + { + + if (inputStream == null) { + throw new IOException( + "No se encuentra "+ RUTA_FICHERO_CONFIGURACION + " en el classpath"); + } + PROPIEDADES_CONFIGURACION.load(inputStream); + + } catch (IOException e) { + throw new RuntimeException("No se ha podido cargar el fichero de configuración", e); + } + } + + public static String getClaseDriver() { + return PROPIEDADES_CONFIGURACION.getProperty("sgdb.clase.driver"); + } + + public static String getConexionURL() { + return PROPIEDADES_CONFIGURACION.getProperty("sgdb.conexion.url"); + } + + public static String getNombreBBDD() { + return PROPIEDADES_CONFIGURACION.getProperty("bbdd.nombre"); + } + + public static String getUsuarioBBDD() { + return PROPIEDADES_CONFIGURACION.getProperty("bbdd.usuario"); + } + + public static String getClaveBBDD() { + return PROPIEDADES_CONFIGURACION.getProperty("bbdd.clave"); + } + +} diff --git a/src/org/palomafp/aadd/lmga/model/Continente.java b/src/org/palomafp/aadd/lmga/model/Continente.java new file mode 100644 index 0000000..27896ef --- /dev/null +++ b/src/org/palomafp/aadd/lmga/model/Continente.java @@ -0,0 +1,22 @@ +package org.palomafp.aadd.lmga.model; + +public class Continente { + private String codigo; + private String nombre; + public String getCodigo() { + return codigo; + } + public void setCodigo(String codigo) { + this.codigo = codigo; + } + public String getNombre() { + return nombre; + } + public void setNombre(String nombre) { + this.nombre = nombre; + } + @Override + public String toString() { + return "Continente [codigo=" + codigo + ", nombre=" + nombre + "]"; + } +} diff --git a/src/org/palomafp/aadd/lmga/model/Pais.java b/src/org/palomafp/aadd/lmga/model/Pais.java new file mode 100644 index 0000000..2d6322f --- /dev/null +++ b/src/org/palomafp/aadd/lmga/model/Pais.java @@ -0,0 +1,48 @@ +package org.palomafp.aadd.lmga.model; + +public class Pais { + private int identificador; + private String nombre; + private String capital; + + private Continente continente; + + public int getIdentificador() { + return identificador; + } + + public void setIdentificador(int identificador) { + this.identificador = identificador; + } + + public String getNombre() { + return nombre; + } + + public void setNombre(String nombre) { + this.nombre = nombre; + } + + public String getCapital() { + return capital; + } + + public void setCapital(String capital) { + this.capital = capital; + } + + public Continente getContinente() { + return continente; + } + + public void setContinente(Continente continente) { + this.continente = continente; + } + + @Override + public String toString() { + return "Pais [identificador=" + identificador + ", nombre=" + nombre + ", capital=" + capital + ", continente=" + + continente + "]"; + } + +} diff --git a/src/org/palomafp/aadd/lmga/service/PaisService.java b/src/org/palomafp/aadd/lmga/service/PaisService.java new file mode 100644 index 0000000..e806fd2 --- /dev/null +++ b/src/org/palomafp/aadd/lmga/service/PaisService.java @@ -0,0 +1,81 @@ +package org.palomafp.aadd.lmga.service; + +import java.sql.Connection; +import java.sql.SQLException; +import java.util.List; + +import org.palomafp.aadd.lmga.dao.IPaisDAO; +import org.palomafp.aadd.lmga.dao.impl.PaisDaoJDBC; +import org.palomafp.aadd.lmga.gestores.GestorConexionesBBDD; +import org.palomafp.aadd.lmga.model.Pais; + +/** + * + * PaisService: Clase que se encarga de las operaciones de servicio de un Pais (Casos de uso de países). + * + * @author Isidoro Nevares Martín - IES Virgen de la Paloma + * @date 29 oct 2026 + * + * + */ + +public class PaisService { + + public List obtenerListaPaises() { + List listaPaises = null; + + try (Connection conexion = GestorConexionesBBDD.obtenerConexion();) { + IPaisDAO iPaisDAO = new PaisDaoJDBC(conexion); + listaPaises = iPaisDAO.obtenerListaPaises(); + } catch (SQLException e) { + e.printStackTrace(); + } + + return listaPaises; + } + + public Pais obtenerPaisPorID(int idPais) { + Pais pais = null; + + try (Connection conexion = GestorConexionesBBDD.obtenerConexion();) { + IPaisDAO iPaisDAO = new PaisDaoJDBC(conexion); + pais = iPaisDAO.obtenerPaisPorIdentificador(idPais); + } catch (SQLException e) { + e.printStackTrace(); + } + + return pais; + } + + public void insertarPais(Pais pais) { + + try (Connection conexion = GestorConexionesBBDD.obtenerConexion();) { + IPaisDAO iPaisDAO = new PaisDaoJDBC(conexion); + iPaisDAO.insertarPais(pais); + ; + } catch (SQLException e) { + e.printStackTrace(); + } + } + + public void actualizarPais(Pais pais) { + + try (Connection conexion = GestorConexionesBBDD.obtenerConexion();) { + IPaisDAO iPaisDAO = new PaisDaoJDBC(conexion); + iPaisDAO.actualizarPais(pais); + } catch (SQLException e) { + e.printStackTrace(); + } + } + + public void borrarPais(int idPais) { + + try (Connection conexion = GestorConexionesBBDD.obtenerConexion()) { + + IPaisDAO iPaisDAO = new PaisDaoJDBC(conexion); + iPaisDAO.borrarPais(idPais); + } catch (SQLException e) { + e.printStackTrace(); + } + } +} diff --git a/target/classes/META-INF/MANIFEST.MF b/target/classes/META-INF/MANIFEST.MF new file mode 100644 index 0000000..802a2c6 --- /dev/null +++ b/target/classes/META-INF/MANIFEST.MF @@ -0,0 +1,5 @@ +Manifest-Version: 1.0 +Java-Version: 26 +Build-Jdk-Spec: 25 +Created-By: Maven Integration for Eclipse + diff --git a/target/classes/META-INF/maven/aadd_conect02/aadd_conect02/pom.properties b/target/classes/META-INF/maven/aadd_conect02/aadd_conect02/pom.properties new file mode 100644 index 0000000..fbf9c31 --- /dev/null +++ b/target/classes/META-INF/maven/aadd_conect02/aadd_conect02/pom.properties @@ -0,0 +1,7 @@ +#Generated by Maven Integration for Eclipse +#Fri Oct 30 16:19:36 CET 2026 +artifactId=aadd_conect02 +groupId=aadd_conect02 +m2e.projectLocation=C\:\\Users\\alumnoT\\eclipse-workspace\\aadd_conect02 +m2e.projectName=aadd_conect02 +version=0.0.1-SNAPSHOT diff --git a/target/classes/META-INF/maven/aadd_conect02/aadd_conect02/pom.xml b/target/classes/META-INF/maven/aadd_conect02/aadd_conect02/pom.xml new file mode 100644 index 0000000..09d75ea --- /dev/null +++ b/target/classes/META-INF/maven/aadd_conect02/aadd_conect02/pom.xml @@ -0,0 +1,35 @@ + + 4.0.0 + aadd_conect02 + aadd_conect02 + 0.0.1-SNAPSHOT + + + + com.mysql + mysql-connector-j + 26.10.0 + compile + + + + src + + + config + + **/*.java + + + + + + maven-compiler-plugin + 3.13.0 + + 26 + + + + + \ No newline at end of file diff --git a/target/classes/application.properties b/target/classes/application.properties new file mode 100644 index 0000000..e12452b --- /dev/null +++ b/target/classes/application.properties @@ -0,0 +1,5 @@ +sgdb.clase.driver=com.mysql.cj.jdbc.Driver +sgdb.conexion.url=jdbc:mysql://10.100.11.141:3306/ +bbdd.nombre=Mapa_Mundi +bbdd.usuario=root +bbdd.clave=root \ No newline at end of file diff --git a/target/classes/module-info.class b/target/classes/module-info.class new file mode 100644 index 0000000..536fd1b Binary files /dev/null and b/target/classes/module-info.class differ diff --git a/target/classes/org/palomafp/aadd/lmga/AppPrincipal.class b/target/classes/org/palomafp/aadd/lmga/AppPrincipal.class new file mode 100644 index 0000000..8d73a8e Binary files /dev/null and b/target/classes/org/palomafp/aadd/lmga/AppPrincipal.class differ diff --git a/target/classes/org/palomafp/aadd/lmga/dao/IPaisDAO.class b/target/classes/org/palomafp/aadd/lmga/dao/IPaisDAO.class new file mode 100644 index 0000000..70c6731 Binary files /dev/null and b/target/classes/org/palomafp/aadd/lmga/dao/IPaisDAO.class differ diff --git a/target/classes/org/palomafp/aadd/lmga/dao/impl/PaisDaoJDBC.class b/target/classes/org/palomafp/aadd/lmga/dao/impl/PaisDaoJDBC.class new file mode 100644 index 0000000..18bfb9d Binary files /dev/null and b/target/classes/org/palomafp/aadd/lmga/dao/impl/PaisDaoJDBC.class differ diff --git a/target/classes/org/palomafp/aadd/lmga/gestores/GestorConexionesBBDD.class b/target/classes/org/palomafp/aadd/lmga/gestores/GestorConexionesBBDD.class new file mode 100644 index 0000000..02f1db9 Binary files /dev/null and b/target/classes/org/palomafp/aadd/lmga/gestores/GestorConexionesBBDD.class differ diff --git a/target/classes/org/palomafp/aadd/lmga/gestores/GestorConfiguracion.class b/target/classes/org/palomafp/aadd/lmga/gestores/GestorConfiguracion.class new file mode 100644 index 0000000..3ea5e15 Binary files /dev/null and b/target/classes/org/palomafp/aadd/lmga/gestores/GestorConfiguracion.class differ diff --git a/target/classes/org/palomafp/aadd/lmga/model/Continente.class b/target/classes/org/palomafp/aadd/lmga/model/Continente.class new file mode 100644 index 0000000..bf83b03 Binary files /dev/null and b/target/classes/org/palomafp/aadd/lmga/model/Continente.class differ diff --git a/target/classes/org/palomafp/aadd/lmga/model/Pais.class b/target/classes/org/palomafp/aadd/lmga/model/Pais.class new file mode 100644 index 0000000..774fa9f Binary files /dev/null and b/target/classes/org/palomafp/aadd/lmga/model/Pais.class differ diff --git a/target/classes/org/palomafp/aadd/lmga/service/PaisService.class b/target/classes/org/palomafp/aadd/lmga/service/PaisService.class new file mode 100644 index 0000000..9ee0b03 Binary files /dev/null and b/target/classes/org/palomafp/aadd/lmga/service/PaisService.class differ