sqldb2oracle-sqldeveloper

SQL Developer "disconnected from the rest of the join graph"


I have the following SQL:

select <misc things>
from pluspbillline 
left outer join workorder 
    on workorder.siteid=pluspbillline.siteid 
    and workorder.wonum = pluspbillline.refwo
    and workorder.orgid = pluspbillline.orgid
left outer join ticket
    on ticket.ticketid = pluspbillline.ticketid
    and ticket.class=pluspbillline.ticketclass
left outer join pluspsalesorder
    on pluspsalesorder.salesordernum=pluspbillline.salesordernum
    and pluspsalesorder.siteid=pluspbillline.siteid

In Oracle SQL Developer 4.0.0.13 (connected to a DB2 database), I get a squiggly line underneath the following italics: "from pluspbillline" and "left outer join workorder".

The warning says "pluspbillline is disconnected from the rest of the join graph". What does this mean?


Solution

  • I'm not sure what's causing Oracle SQL Developer to give the error. But I'm putting this comment here to format it properly.

    A join graph might look something like this

    pluspbillline  ------+----<  workorder
                         |
                         +----<  ticket
                         |
                         +----<  pluspsalesorder
    

    The lines on the graph might be labeled with the join fields. But this gives you a basic idea.

    I don't see any reason why you are getting this warning. A column name typo in your SQL perhaps? Or some quirk in Oracle's interface that it doesn't understand the DB2 metadata properly? I suggested trying IBM's tool to see if it's merely their program.