-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
User-defined variable "sticky" if used in view with join #3659
Comments
Did anyone have a chance to look into this issue already? |
@katzyn - I have build H2 from master and tested the fix. It solves the issue :-). Thanks a lot!! My understanding is that the fix will be available with version 2.2.219. Do you happen to know when it will be released? |
Snapshot builds now have own reserved build numbers to distinguish them from released versions, so there will no no release with this number. I think we'll release a new bugfix release in 2.1 series of releases, but such release isn't planned yet. |
Thanks a lot! This will help us to lift an unwelcome limitation (1.). |
Hi @Evgenij, Andrei, do you have any estimate when this bug fix could me included an a release? Best regards, Adrian |
Hi,
I am observing that a user-defined variable is "sticky" if used in a view with a join.
I can reproduce the issue in the following Java application:
Running the app yields:
The user-defined variable
@LOCALE
is evaluated correctly when reading from the viewlocalized_texts
and returns the title in the language as specified by@LOCALE
. But, in the second execution, if I read from the viewlocalized_Book
, which contains a join, the where condition of the view is not evaluated correctly but uses the value of@LOCALE
that was set during the first execution.The text was updated successfully, but these errors were encountered: