I need to know because the next stored procedure code to work after making
several times click the command.
public void crearAsientoIngreso(String fechaInicio, String fechaFin){
EntityManager em =
javax.persistence.Persistence.createEntityManagerFactory("SigaConta10PU").createEntityManager();
em.createNativeQuery("SELECT
contabilidad.crear_resumen_ingreso('INGRESO','"+ fechaInicio
+"','"+fechaFin+"')")
.getSingleResult();
}
Will it be a defect in JPA? What is the use of stored procedures in JPA?
_________________________________________________________________
¡Entra en el Club oficial de Messenger y te enterarás de todas las novedades!
http://www.vivelive.com/ilovemessenger
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Java
EE (J2EE) Programming with Passion!" 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/java-ee-j2ee-programming-with-passion?hl=en
-~----------~----~----~----~------~----~------~--~---