Package modelo

Examples of modelo.Clasificacion


 
       
      try {
          List<Clasificacion> results = (List<Clasificacion>) q.execute(input);
          if (results.isEmpty()) {           
            Clasificacion clas = new Clasificacion(input);      
              try {
                  pm.makePersistent(clas);
              } finally {
                  pm.close();
              }
View Full Code Here


              }
          } finally {
            pm.close();
          }
         
          return new Clasificacion();
   
View Full Code Here

              List<Clasificacion> results2 = (List<Clasificacion>) q2.execute(input);
              if (!results2.isEmpty()) {

                for (Clasificacion e : results2) {
                     try {
                       Clasificacion clas = pm.getObjectById(Clasificacion.class, e.getKey());
                       clas.setDetalle(input2);
                     } finally {
                       pm.close();
                     }
                     return "La clasificaci�n <b>" + input + "</b> se ha modificado por <b>" + input2 + "</b> correctamente.";
                 }
View Full Code Here

TOP

Related Classes of modelo.Clasificacion

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.