EJB-403 - Removed alias from native update statement, as it is not supported in many databases. For trunk

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16380 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Juraci Krohling 2009-04-21 13:39:04 +00:00
parent 4ff6065093
commit 8b4b88200b
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ public class QueryTest extends TestCase {
assertEquals(
1, em.createNativeQuery(
"update Item i set i.descr = 'Logitech Mouse' where i.name = 'Mouse'"
"update Item set descr = 'Logitech Mouse' where name = 'Mouse'"
).executeUpdate()
);
item = em.find( Item.class, item.getName() );