minor documentation typo

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17198 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Emmanuel Bernard 2009-07-23 18:54:27 +00:00
parent eeb136fa71
commit 49e53e81e1
1 changed files with 1 additions and 1 deletions

View File

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