Hi andy! I have tried delete my local_db and the problem persist.
The exception is in the next code, in the call of the build method
"RegFechaUsuario":

ControladorFecha cF = new ControladorFecha();
                System.out.println("nombre " +
nuevaFecha.getNombre());
                System.out.println("fecha ini " +
fechaOriginal.getFechaIni());
                System.out.println("fecha fin " +
fechaOriginal.getFechaFin());
                System.out.println("idUsuario " + idUsuario);
                System.out.println("idFecha " +
fechaOriginal.getId().getId());
                System.out.println("partidos " +
nuevaFecha.getPartidos());
/*Here print in console:
na fecha 4
us id 7
nombre f1
fecha ini Fri Jan 01 00:00:00 UTC 2010
fecha fin Fri Jan 01 00:00:00 UTC 2010
idUsuario 7
idFecha 4
partidos [model.part...@973678]*/
                RegFechaUsuario regFechaUsuario = new
RegFechaUsuario(nuevaFecha.getNombre(),fechaOriginal.getFechaIni(),fechaOriginal.getFechaFin(),idUsuario,fechaOriginal.getId().getId(),nuevaFecha.getPartidos());
                cF.crearRegFechaUsuario(regFechaUsuario);

.....

The code of method:

public void crearRegFechaUsuario(RegFechaUsuario regFechaUsuario) {

                Transaction tx = pm.currentTransaction();
                try {
                        tx.begin();
                        //here is exception
                        pm.makePersistentAll(regFechaUsuario);
                        tx.commit();
                } finally {
                        // pm.close();
                        if (tx.isActive()) {
                                tx.rollback();
                        }
                }

        }

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to