You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-data-relational/src/main/java/org/springframework/data/relational/core/sql/DefaultSelectBuilder.java
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -324,6 +324,18 @@ public SelectOnConditionComparison on(Expression column) {
Copy file name to clipboardExpand all lines: spring-data-relational/src/main/java/org/springframework/data/relational/core/sql/SelectBuilder.java
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -500,6 +500,17 @@ interface SelectOn {
500
500
* @see Table#column(String)
501
501
*/
502
502
SelectOnConditionComparisonon(Expressioncolumn);
503
+
504
+
/**
505
+
* Declare a join condition in one step.
506
+
*
507
+
* This is harder to use but more flexible then the fluent style of {@link #on(Expression)} which only allows for equality comparisons chained together with `AND`.
Copy file name to clipboardExpand all lines: spring-data-relational/src/test/java/org/springframework/data/relational/core/sql/render/SelectRendererUnitTests.java
+22Lines changed: 22 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -156,6 +156,28 @@ public void shouldRenderSimpleJoinWithAnd() {
0 commit comments