Re: Problem commiting objects

From: Joaquin Arias Buendia (joaqinbuendiaforu..ahoo.es)
Date: Wed Dec 01 2004 - 12:56:26 EST

  • Next message: Mike Kienenberger: "Re: Problem commiting objects"

    Hi Mike and Andrus! Thank you very much for your
    interest!

    This is a function to delete a ballot:

      public void eliminarVotacion(int idVotacion)
      {
         Votacion v = (Votacion) persistenciaIVoting.
    getVotacionCod(new Integer(idVotacion));
         persistenciaIVoting.deleteObject(v);
         persistenciaIVoting.commitChanges();
      }

    Whe a reload the web page, the erased ballot is still
    there!. But if I restart Tomcat server it isn't there.
    Any solution?

    Thank you very much!

                    
    ______________________________________________
    Renovamos el Correo Yahoo!: ˇ100 MB GRATIS!
    Nuevos servicios, más seguridad
    http://correo.yahoo.es



    This archive was generated by hypermail 2.0.0 : Wed Dec 01 2004 - 12:56:28 EST