| As far as I've seen, this would be solved if the alias name was created by the Dialect or, at least, if all aliases be quoted. The code involved here is located at org.hibernate.mapping.Column on getAlias(Dialect dialect) method. as I said, instead of compose the alias itself, it should be generated or at least allow the Dialect to parse it to generate a valid alias name. |