hibernate-orm/hibernate-core
Yoann Rodière b8b7a0f19b HHH-12492 Qualify references to columns from the target table in subqueries in DELETE/UPDATE queries
Don't try to duplicate the logic from
org.hibernate.hql.internal.ast.tree.FromElementType#toColumns(java.lang.String, java.lang.String, boolean, boolean)
in other classes, it's complex enough and already seems to handle all
the cases we might encounter.

In this specific case, we want the table name to be used to qualify
column names, because the target table doesn't have any alias (it's not
supported by every version of every RDBMS), and not qualifying columns
at all may lead to a confusing statement, in particular if tables
referenced in the subquery contain columns with the same name.
Since we use aliases for every other table in the query, referencing the
table should not lead to any conflict.
2018-07-27 15:03:13 +02:00
..
src HHH-12492 Qualify references to columns from the target table in subqueries in DELETE/UPDATE queries 2018-07-27 15:03:13 +02:00
hibernate-core.gradle HHH-12793 Upgrade Karaf, pax-exam and reenable the OSGi tests 2018-07-12 12:13:32 +02:00