Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use TypedParameterValue and HibernateParameterParametersAccessor for native queries only #3173

Closed
wants to merge 3 commits into from

Conversation

sxhinzvc
Copy link
Contributor

No description provided.

Use Hibernate parameter accessor for native queries only to avoid affecting JPQL queries.

See #3137
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Sep 25, 2023
@mp911de mp911de self-assigned this Sep 25, 2023
@mp911de mp911de added type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Sep 25, 2023
Co-locate Hibernate-specific parameters accessor as the same package as JPA parameters accessor.
Remove Parameter Accessor reference from Persistence Provider since it's created in AbstractJpaQuery.

Closes #3137
Original Pull Request: #3173
@sxhinzvc sxhinzvc marked this pull request as ready for review September 25, 2023 14:17
@mp911de mp911de added this to the 3.0.11 (2022.0.11) milestone Sep 27, 2023
mp911de pushed a commit that referenced this pull request Sep 27, 2023
Use Hibernate parameter accessor for native queries only to avoid affecting JPQL queries.

Co-locate Hibernate-specific parameters accessor as the same package as JPA parameters accessor.
Remove Parameter Accessor reference from Persistence Provider since it's created in AbstractJpaQuery.

Closes #3137
Original Pull Request: #3173
mp911de added a commit that referenced this pull request Sep 27, 2023
Reformat code, add ticket references to test methods.

See #3137
Original Pull Request: #3173
mp911de pushed a commit that referenced this pull request Sep 27, 2023
Use Hibernate parameter accessor for native queries only to avoid affecting JPQL queries.

Co-locate Hibernate-specific parameters accessor as the same package as JPA parameters accessor.
Remove Parameter Accessor reference from Persistence Provider since it's created in AbstractJpaQuery.

Closes #3137
Original Pull Request: #3173
mp911de added a commit that referenced this pull request Sep 27, 2023
Reformat code, add ticket references to test methods.

See #3137
Original Pull Request: #3173
mp911de pushed a commit that referenced this pull request Sep 27, 2023
Use Hibernate parameter accessor for native queries only to avoid affecting JPQL queries.

Co-locate Hibernate-specific parameters accessor as the same package as JPA parameters accessor.
Remove Parameter Accessor reference from Persistence Provider since it's created in AbstractJpaQuery.

Closes #3137
Original Pull Request: #3173
mp911de added a commit that referenced this pull request Sep 27, 2023
Reformat code, add ticket references to test methods.

See #3137
Original Pull Request: #3173
@mp911de
Copy link
Member

mp911de commented Sep 27, 2023

Thank you for your contribution. That's merged, polished, and backported now.

@mp911de mp911de closed this Sep 27, 2023
@mp911de mp911de linked an issue Sep 27, 2023 that may be closed by this pull request
@mp911de mp911de added type: enhancement A general enhancement and removed type: bug A general bug labels Sep 27, 2023
@mp911de mp911de deleted the issue/gh-3137 branch September 27, 2023 09:06
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.

Revise TypedParameterValue usage for native queries only
3 participants