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:
parent
4ff6065093
commit
8b4b88200b
|
@ -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() );
|
||||
|
|
Loading…
Reference in New Issue