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
A test with @DisableSelfJoin will fail if at least one SQL self-join is detected. The user may attribute a global scope to this annotation. In some specific cases, @DisableSelfJoin can be disabled at method level with @EnableSelfJoin.
The text was updated successfully, but these errors were encountered:
Description
In many cases, SQL self-joins don't seem to be the best option for performance: Markus Winand 1, Markus Winand 2.
The use of a window function or a pivot may be a better alternative. With window function we have also to pay attention to excessive sorts.
A test with @DisableSelfJoin will fail if at least one SQL self-join is detected. The user may attribute a global scope to this annotation. In some specific cases, @DisableSelfJoin can be disabled at method level with @EnableSelfJoin.
The text was updated successfully, but these errors were encountered: