Author: epbernard
Date: 2009-07-23 14:54:27 -0400 (Thu, 23 Jul 2009)
New Revision: 17198
Modified:
core/trunk/entitymanager/src/main/docbook/en/modules/batch.xml
Log:
minor documentation typo
Modified: core/trunk/entitymanager/src/main/docbook/en/modules/batch.xml
===================================================================
--- core/trunk/entitymanager/src/main/docbook/en/modules/batch.xml 2009-07-23 14:19:33 UTC
(rev 17197)
+++ core/trunk/entitymanager/src/main/docbook/en/modules/batch.xml 2009-07-23 18:54:27 UTC
(rev 17198)
@@ -78,7 +78,7 @@
entityManager.getTransaction().begin();
String ejbqlUpdate = "update Customer set name = :newName where name =
:oldName"
-int updatedEntities = entityManager.createQuery( hqlUpdate )
+int updatedEntities = entityManager.createQuery( ejbqlUpdate )
.setParameter( "newName", newName )
.setParameter( "oldName", oldName )
.executeUpdate();
Show replies by date