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
Support the "? in (SELECT some_col FROM some_table)" subqueries [CORE2697] #3097
Comments
Modified by: @asfernandesassignee: Adriano dos Santos Fernandes [ asfernandes ] |
Modified by: @dyemanovFix Version: 3.0 Alpha 1 [ 10331 ] |
Commented by: @mrotteveel I just tried this against Firebird 3.0.0.29934 (with Jaybird native, and a Firebird 2.5 fbclient.dll) using the table structure and query in JDBC94, it still returns: |
Modified by: @asfernandes |
Commented by: @mrotteveel Checked it with WI-T3.0.0.29952 Firebird 3.0 Unstable and it is OK now. |
Modified by: @asfernandesdescription: The query that does not work is of the following kind: SELECT <columns> FROM table_1 t1 Firebird complains that the data type of the parameter is unknown, however it could be derived from the some_col data type. I understand that this query can be rewritten using EXISTS clause, but according to the bug description it was generated by Hibernate, so the Java developers hardly have any possibility to fix it themselves. => The query that does not work is of the following kind: SELECT <columns> FROM table_1 t1 Firebird complains that the data type of the parameter is unknown, however it could be derived from the some_col data type. I understand that this query can be rewritten using EXISTS clause, but according to the bug description it was generated by Hibernate, so the Java developers hardly have any possibility to fix it themselves. summary: Support the "? in SELECT some_col FROM some_table" subqueries => Support the "? in (SELECT some_col FROM some_table)" subqueries |
Submitted by: Roman Rokytskyy (rrokytskyy)
Is related to JDBC94
Is duplicated by CORE3842
Is related to QA647
The query that does not work is of the following kind:
SELECT <columns> FROM table_1 t1
WHERE <conditions on table_1>
AND (? IN (SELECT some_col FROM table_2 t2 WHERE http://t1.id = t2.ref_id))
Firebird complains that the data type of the parameter is unknown, however it could be derived from the some_col data type.
I understand that this query can be rewritten using EXISTS clause, but according to the bug description it was generated by Hibernate, so the Java developers hardly have any possibility to fix it themselves.
Commits: ed9ec00 fb1e53f
The text was updated successfully, but these errors were encountered: