[hibernate-commits] Hibernate SVN: r17198 - core/trunk/entitymanager/src/main/docbook/en/modules.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Thu Jul 23 14:54:27 EDT 2009


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();



More information about the hibernate-commits mailing list