public void CrearAlumne(String user, String password, String nom, String cognoms, int edat){
		
		
		AlumneVo a= Factory.factoryMethod(user,password,nom,cognoms,edat);
		
		if(this.buscarAlumne(a.getNomUser())==null){
			
			//crear connexio
			DbConnection conex= new DbConnection();
			  try {
				  //Preparar connexio
			   Statement estatuto = conex.getConnection().createStatement();
			   
			   //executar consulta
			   estatuto.executeUpdate("INSERT INTO alumnes (nomUser, password, Nom, Cognoms, Edat) VALUES ('"+a.getNomUser()+"', '"+a.getPassword()+"', '" +a.getNom()+"', '"+a.getCognoms()+"', '" + a.getEdat()+ "');");
			   
			   estatuto.close();
			   conex.desconectar();
			    
			  } catch (SQLException e) {
			            System.out.println(e.getMessage());
			            System.out.println("Connexio incorrecta");
			  }
			
		}
		else{
			System.out.println("L'alumne ja existeix");
			
		}
		
	}