Question

I want to generate a data model diagram from an existing oracle database.

I've tried to use SQL Developer 3.2.20.09 and followed the steps in another post and the demonstration of oracle.

But I didn't succeed. It's a little strange because I can see all the other types of objects except tables.

Here is my steps: File -> Data Modeler -> Import -> Data Dictionary -> current database connection -> Next -> Current Schema -> Next

there is no tables displayed

Do you have any idea?

Thanks in advance.

EDIT:

I think it's a specific problem in my database. I can't figure it out with SQL Developer. Finally, I've used TOAD Data Modeler to generate E/R diagram.

Was it helpful?

Solution

As there are not solutions proposed by others, I'll mark my "solution" as answer.

I think it's a specific problem in my database.

I can't figure it out with SQL Developer. Finally, I've used TOAD Data Modeler to generate E/R diagram.

OTHER TIPS

Here's what we're running to get a list of tables in version 4.1 of SQL Developer Data Modeler:

SELECT TABLE_NAME, TABLE_TYPE, TABLE_TYPE_OWNER
FROM dba_all_tables a
WHERE IOT_NAME IS NULL
AND (IOT_TYPE  IS NULL
OR IOT_TYPE     = 'IOT')
AND NESTED      ='NO'
AND a.OWNER     =?
AND SECONDARY   ='N'
AND NOT EXISTS
  (SELECT 1
  FROM dba_queue_tables c
  WHERE OWNER       =?
  AND c.QUEUE_TABLE = a.TABLE_NAME
  )
ORDER BY TABLE_NAME

Does your connection have access to the DBA_ views?

If we don't see access to the DBA_ views, we drop down to the ALL_ views.

You can follow this tutorial https://www.youtube.com/watch?v=bpKJmCoBy2c. I suggest another approach for more convenience: You can drag and drop table from connection into relational screen to generate model and follow the step in the above tutorial for creating diagram. Hope this help :)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top