Skip to content

Conversation

@mp911de mp911de added the type: enhancement A general enhancement label Nov 29, 2024
@mp911de mp911de added this to the 4.0 M1 (2025.1.0) milestone Nov 29, 2024
@mp911de mp911de linked an issue Dec 11, 2024 that may be closed by this pull request
mp911de and others added 13 commits December 11, 2024 16:50
Inline select_query into select_statement, simplify set_function resolution.

Align JPQL and EQL grammars.
Remove unused methods. Introduce QueryTokenStream.from and QueryTokenStream.ofToken() factory methods. Migrate JPQL visitors to consistently return token streams instead of mixing expression streams when obtaining values from nodes/terminal nodes.

Remove also unused concat methods for consistency.

We now instead decide on the composition (calling) site whether a token (stream) should be inlined, an expression or used as-is.
We now use getSingleResultOrNull() to avoid NoResultException handling.

Closes #3701
christophstrobl pushed a commit that referenced this pull request Dec 20, 2024
Closes: #3673
Original Pull Request: #3695
christophstrobl pushed a commit that referenced this pull request Dec 20, 2024
Closes: #3671
Original Pull Request: #3695
christophstrobl pushed a commit that referenced this pull request Dec 20, 2024
Closes: #3672
Original Pull Request: #3695
christophstrobl added a commit that referenced this pull request Dec 20, 2024
christophstrobl pushed a commit that referenced this pull request Dec 20, 2024
christophstrobl pushed a commit that referenced this pull request Dec 20, 2024
mp911de added a commit that referenced this pull request May 16, 2025
Closes: #3673
Original Pull Request: #3695
mp911de added a commit that referenced this pull request May 16, 2025
Closes: #3671
Original Pull Request: #3695
mp911de added a commit that referenced this pull request May 16, 2025
Closes: #3672
Original Pull Request: #3695
mp911de pushed a commit that referenced this pull request May 16, 2025
mp911de added a commit that referenced this pull request May 16, 2025
mp911de pushed a commit that referenced this pull request May 16, 2025
mp911de pushed a commit that referenced this pull request May 16, 2025
mp911de pushed a commit that referenced this pull request May 16, 2025
mp911de added a commit that referenced this pull request May 16, 2025
Inline select_query into select_statement, simplify set_function resolution.
Align JPQL and EQL grammars.
Adopt Hibernate version guards in tests.

Original Pull Request: #3695
mp911de added a commit that referenced this pull request May 16, 2025
mp911de added a commit that referenced this pull request May 16, 2025
Remove unused methods. Introduce QueryTokenStream.from and QueryTokenStream.ofToken() factory methods. Migrate JPQL visitors to consistently return token streams instead of mixing expression streams when obtaining values from nodes/terminal nodes.

Remove also unused concat methods for consistency.

We now instead decide on the composition (calling) site whether a token (stream) should be inlined, an expression or used as-is.

Original Pull Request: #3695
mp911de added a commit that referenced this pull request May 16, 2025
We now use getSingleResultOrNull() to avoid NoResultException handling.

Closes: #3701
Original Pull Request: #3695
mp911de pushed a commit that referenced this pull request May 16, 2025
Favour java.time types for auditing by switching from Date to Instant.

See: #3673
Original Pull Request: #3695
mp911de pushed a commit that referenced this pull request May 16, 2025
A round of minor code style improvements.

Original Pull Request: #3695
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: enhancement A general enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade to JPA 3.2

4 participants