Another way to fix this would be to quote all column aliases returned by the Column class on the AbstractEntityPersister the same way it quote the column names.