From: Geoffrey De S. <ge0...@gm...> - 2009-07-23 18:40:14
|
In the hibernate entitymanager manual, section 6.1. Bulk update/delete: String ejbqlUpdate = "update Customer set name = :newName where name = :oldName" int updatedEntities = entityManager.createQuery( hqlUpdate ) The variable name changes: from ejbqlUpdate to hqlUpdate. It should be the same. -- With kind regards, Geoffrey De Smet |