Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: spring-projects/spring-data-jpa
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main@{1day}
Choose a base ref
...
head repository: spring-projects/spring-data-jpa
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 3 commits
  • 19 files changed
  • 2 contributors

Commits on Oct 21, 2025

  1. Prevent sorting and count queries for non-SELECT statements.

    Add statement type detection to QueryEnhancer implementations to validate
    operations. QueryEnhancer now throws IllegalStateException when attempting
    to create count queries or apply sorting to INSERT, UPDATE, DELETE, or MERGE
    statements, as these operations are only valid for SELECT queries.
    
    Signed-off-by: kssumin <[email protected]>
    Original pull request: #4052
    Closes #2856
    kssumin authored and mp911de committed Oct 21, 2025
    Configuration menu
    Copy the full SHA
    e1be294 View commit details
    Browse the repository at this point in the history
  2. Polishing.

    Update author tags. Refine introspection defaults instead of assuming SELECT statements by default.
    
    Extract code duplications from introspection to a mutable QueryInformationHolder. Retrofit AOT query derivation to skip count query creation for non-SELECT queries.
    
    Original pull request: #4052
    See #2856
    mp911de committed Oct 21, 2025
    Configuration menu
    Copy the full SHA
    a328989 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    64dcdc1 View commit details
    Browse the repository at this point in the history
Loading