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

Various fixes related to using the "this" variable explicitly #1

Conversation

OndroMih
Copy link

@OndroMih OndroMih commented Jul 24, 2024

PR raised on top of eclipse-ee4j#2218, which already contains some necessary fixes needed.

When the "this" variable is used explicitly, it's virtual but needs to be skipped
in expressions that expect a virtual variable.
The problem was that expressions like 'this.field' were treated as
if 'this' was a field on the implicit variable.

Fixes eclipse-ee4j#2197, eclipse-ee4j#2198, and eclipse-ee4j#2199

… to using "this" variable in JPQL

When the "this" variable is used explicitly, it's virtual but needs to be skipped
in expressions that expect a virtual variable.
The problem was that expressions like 'this.field' were treated as
if 'this' was a field on the implicit variable.
The issue is already fixed. This is only a test that verifies the fix.
@OndroMih OndroMih force-pushed the ondromih-this-var-fixes branch from 9c0c4ff to a7f088c Compare August 3, 2024 01:28
@OndroMih OndroMih closed this Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant