I am connecting through Oracle on TDP version 3.8. I am running a basic “Select * from table_Name” and am getting a message saying, “Cross-connection queries cannot execute in a standard editor. DO you want to change this into cross-connection mode?” The issue is that this isn’t a cross-connection query. I am connected to Oracle logged into the schema where the table is housed, and when I hit “No” on the option it runs the query anyway. Does anyone know of a setting or something I can look at to get this to stop firing?
I would need to see the SQL. Can you post a screen shot of the whole window so i can see the error and the full SQL statement?
Hi.
-
Which version of TDP are you using? Help -> About -> Version.
-
Do you use fresh install? Or did you migrate from previous (e.g. 3.7) version?
-
Do you use Direct connection to Oracle DB? Or do you have Oracle Client installed? If yes, 32-bit or 64-bit?
-
Can you provide your Oracle connection properties? Screenshot of Connection Properties would be great.
-
Do you have opened only one connection or more? Screenshot of Navigator Manager would be great.
-
Which is type of object you SELECT FROM? Table, view?
-
Version 3.8.0.575
-
Fresh install
-
Yes, we have the Oracle 11g client installed. This is the platform our company uses and it is connected using .ora files
-
I have certain DB names on my properties window, and I’m not entirely sure what my company’s policy is on displaying that type of info, so I will err on the side of caution and tell you what is on here. I am connected via the “Login” tab and not the advanced tab. I have the database name which reads from the aforementioned .ora files, my user ID, password, and default “Connect as.” I am connected under “Oracle Client” and not Direct, Current home is “Ora Home.” Explain table is set to default, name is set to Business_Ops (the name of my connection), and the category is set to none.
-
Only 1 connection (the one from this post) is connected.
-
This is querying from a table. It is a local table we created under the Business_Ops schema.
I hope this helps, thanks so much for looking into it.
Hi.
I found root cause of problem. There is part of code which detects ‘possible’ cross-query statements. To assist user in automatic switch to cross-query mode. Unfortunately it is not accurate.
Cross query select can look a like: SELECT * FROM Oracle11g (SCOTT)
.SCOTT.DEPT
In your case it seems your connection in Navigator is named ‘business_ops’. Is it right? For this reason I wanted to have a screenshot
I created ticket (QAT-8176) to make cross-query detection more bullet proof.
Workaround for you: rename your Oracle connection e.g. to ‘business_ops (Oracle)’.