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:
parent
eeb136fa71
commit
49e53e81e1
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue