package Main;

public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}

@@ -1,20 +1,239 @@
 package 
-Main
+main;%0A%0Aimport java.sql.Connection;%0A%0Aimport enums.SexoEnum;%0Aimport transfers.Admin;%0Aimport transfers.Material;%0Aimport transfers.Socio;%0Aimport Daos.Conexion;%0Aimport Daos.DaoAdmin;%0Aimport Daos.DaoMaterial;%0Aimport Daos.DaoSocio
 ;%0A%0Apubli
@@ -247,16 +247,17 @@
  Main %7B%0A
+%09
 %0A%09public
@@ -292,51 +292,994 @@
 rgs)
- 
 %7B%0A%09%09
-// TODO Auto-generated method stub%0A
+Connection con = Conexion.obtenerConexion();%0A%09%09DaoMaterial daoMa = new DaoMaterial();%0A%09%09Material material = daoMa.findById(con, 1);%0A%09%09System.out.printf(material.toString() + %22%5Cn%22);%0A%09%09DaoSocio socioDao = new DaoSocio();%0A%09%09Socio socio = socioDao.findByNick(con, %22julia18%22);%0A%09%09System.out.printf(socio.toString() + %22%5Cn%22);%0A%09%09Admin socio2 = new Admin();%0A%09%09DaoAdmin daoAd = new DaoAdmin();%0A%09%09socio2.setApellidos(%22prueba%22);%0A%09%09socio2.setDireccion(%22prueba%22);%0A%09%09socio2.setDNI(%2256%22);%0A%09%09socio2.setEmail(%22hagj%22);%0A%09%09socio2.setNick(%22prueba%22);%0A%09%09socio2.setNombre(%22prueba%22);%0A%09%09socio2.setPass(%22pass%22);%0A%09%09socio2.setSexo(SexoEnum.FEMENINO.toString());%0A%09%09socio2.setTelefono(%2289%22);%0A%09%09socio2.setSueldo(78.2);%0A%09%09socio2.setHoraEntrada(%228:30%22);%0A%09%09socio2.setHoraSalida(%229:7%22);%0A%09%09daoAd.insertAdmin(con, socio2);%0A%09%09socio2 = daoAd.findByNick(con, socio2.getNick());%0A%09%09System.out.printf(socio2.toString() + %22%5Cn%22);%0A%09%09daoAd.borrarAdmin(con, socio2.getNick());%0A%09%09socio2 = daoAd.findByNick(con, socio2.getNick());
 %0A%09%7D%0A
+%09
 %0A%7D%0A
+%0A

Update Main.java