SelectBuilder's .join(...).on(X).equals(Y) assumes X/Y are *not* Expressions.just(...) expressions #1009
Labels
in: selectbuilder
SelectBuilder stands for the complete API for creating SQL statements programmatically.
type: enhancement
A general enhancement
Milestone
Hi,
Follow up on #995 with a separate issue. Attempting to use
Expressions.just
to work around #995, I learned that SelectBuilder ignoresExpressions.just
and "silently" generates invalid SQL. Consider the following code:This generates the following invalid SQL:
Notice how everything after ON-clause is omitted. (If you add a
.where(...)
then you will end up withJOIN transport ON WHERE ...
)The text was updated successfully, but these errors were encountered: