From 08c23d435c2990b6f3bf9c7ce26b3e43e58d5139 Mon Sep 17 00:00:00 2001 From: davidmuzik Date: Mon, 5 Aug 2013 18:11:51 +0200 Subject: [PATCH] HHH-2988 Update UnionSubclassEntityPersister column quoting --- .../persister/entity/UnionSubclassEntityPersister.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/persister/entity/UnionSubclassEntityPersister.java b/hibernate-core/src/main/java/org/hibernate/persister/entity/UnionSubclassEntityPersister.java index 06521b13f0..1569254186 100644 --- a/hibernate-core/src/main/java/org/hibernate/persister/entity/UnionSubclassEntityPersister.java +++ b/hibernate-core/src/main/java/org/hibernate/persister/entity/UnionSubclassEntityPersister.java @@ -459,7 +459,7 @@ public class UnionSubclassEntityPersister extends AbstractEntityPersister { buf.append( dialect.getSelectClauseNullString(sqlType) ) .append(" as "); } - buf.append( col.getName() ); + buf.append( col.getQuotedName(dialect) ); buf.append(", "); } buf.append( clazz.getSubclassId() )