Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix MySQL support in ERXExistsQualifier
The identifier quote character in MySLQ is the backtick (not double quote). Using double quote resulted in invalid expression. Also, by using expression.sqlStringForSchemaObjectName we respect com.webobjects.jdbcadaptor.MySQLExpression.enableIdentifierQuoting flag which is off by default in case of MySQL (resulting in no quoting at all).
- Loading branch information
d3d496b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Denis. I had a pull request coming for this, but I like your inclusion of respecting the adaptor flag much better. I hadn't thought of that. Thank you very much.
d3d496b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Larry, I'm glad I could help! Good to know, that I'm not the only one using this qualifier with MySQL:)