Skip to content

Commit 01a2ca7

Browse files
davidmuzikbrmeyer
authored andcommitted
HHH-2988 Update UnionSubclassEntityPersister column quoting
1 parent b9e2e69 commit 01a2ca7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hibernate-core/src/main/java/org/hibernate/persister/entity/UnionSubclassEntityPersister.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ protected String generateSubquery(PersistentClass model, Mapping mapping) {
459459
buf.append( dialect.getSelectClauseNullString(sqlType) )
460460
.append(" as ");
461461
}
462-
buf.append( col.getName() );
462+
buf.append( col.getQuotedName(dialect) );
463463
buf.append(", ");
464464
}
465465
buf.append( clazz.getSubclassId() )

0 commit comments

Comments
 (0)