Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Misleading error message for SQLDeleteClause #518
I tried deleting a row by invoking:
QueryDSL threw an exception:
but in actuality it is impossible to reference more than one table from the DELETE statement so this error message is misleading. I believe the correct approach is to use
It sounds to me like you need to run an SQL-specific validator, which means this code has to move from querydsl-core to querydsl-sql, at least for the SQL module. Meaning, if a visitor exists inside the sub-module, use it. Otherwise, bubble up and let core's default validator run instead.
Is that what you meant when you talked about rethrowing and customizing ValidatingVisitor?