Quantcast
Channel: Toad Extension for Eclipse
Viewing all articles
Browse latest Browse all 978

Forum Post: Toad Extensions for Eclipse does not show columns, constraints, data for Oracle tables

$
0
0
Hello, i just started to use Toad Extensions for Eclipse 2.3.2.21511111649 on Eclipse Luna SR2 (20150219-0600). I configured it with ojdbc6.jar (for Oracle 12.1.0.2) and with ojdbc14.jar (for Oracle 10.2.0.4). When i open a connection to a Oracle 10.2 database, i experience the following problems: From Object Explorer, when opening a table, i can not see data in the following views/tabs: Columns, Constraints, Data. In the other views, like Indexes, Triggers, Grants, Synonyms, stats, ... the data is shown correctly. i found the following exception in the log file: !ENTRY com.dell.toadext 2 0 2015-11-16 09:32:48.572 !MESSAGE Can't preload collection for model table constraints !STACK 0 java.lang.NullPointerException at com.dell.toadext.oracle.core.model.impl.OraForeignKey.initMember(OraForeignKey.java:194) at com.dell.toadext.oracle.core.loader.detail.table.OraTableConstraintsDetailListLoader.doLoad(OraTableConstraintsDetailListLoader.java:98) at com.dell.toadext.loader.AbstractSqlDboListLoader.load(AbstractSqlDboListLoader.java:41) at com.dell.toadext.loader.AbstractDboListLoader.load(AbstractDboListLoader.java:31) at com.dell.toadext.model.ModelCollection.resolveModels(ModelCollection.java:427) at com.dell.toadext.model.ModelCollection._getModels(ModelCollection.java:136) at com.dell.toadext.model.ModelCollection.getModels(ModelCollection.java:257) at com.dell.toadext.model.ModelCollection.load(ModelCollection.java:312) at com.dell.toadext.core.BackgroundRunner$PreloaderThread.resolveItem(BackgroundRunner.java:127) at com.dell.toadext.core.BackgroundRunner$PreloaderThread.run(BackgroundRunner.java:190) Furthermore, when i observe the statements in SQL Monitor, i see the following erroneous query: /*! SELECT ATC.VIRTUAL_COLUMN, ATC.COLUMN_NAME, ATC.DATA_TYPE_OWNER, ATC.DATA_TYPE, DECODE (ATC.CHAR_USED, NULL, ATC.DATA_LENGTH, ATC.CHAR_LENGTH) DATA_LENGTH, ATC.CHAR_USED, ATC.DATA_PRECISION, ATC.DATA_SCALE, ATC.DATA_DEFAULT, ATC.NULLABLE, ATC.COLUMN_ID, CC.COMMENTS, R.SCOPE_TABLE_OWNER, R.SCOPE_TABLE_NAME, NT.TABLE_NAME AS NESTED_TABLE_NAME, XML.STORAGE_TYPE FROM USER_TAB_COLS ATC LEFT JOIN USER_COL_COMMENTS CC ON ATC.TABLE_NAME = CC.TABLE_NAME AND ATC.COLUMN_NAME = CC.COLUMN_NAME LEFT JOIN USER_REFS R ON ATC.TABLE_NAME = R.TABLE_NAME AND ATC.COLUMN_NAME = R.COLUMN_NAME LEFT JOIN USER_NESTED_TABLES NT ON ATC.TABLE_NAME = NT.PARENT_TABLE_NAME AND ATC.COLUMN_NAME = NT.PARENT_TABLE_COLUMN LEFT JOIN USER_XML_TAB_COLS XML ON ATC.TABLE_NAME = XML.TABLE_NAME AND ATC.COLUMN_NAME = XML.COLUMN_NAME WHERE ATC.TABLE_NAME = TRANSPORT_UNIT AND PWX IS NOT NULL ORDER BY ATC.COLUMN_ID; ORA-00942: table or view does not exist */ I have no table USER_XML_TAB_COLS: select * from SYS.ALL_OBJECTS where object_name like '%USER%XML%TAB%'; How can i solve this issue? EDIT1: sorry, for tables which have only a few constraints the constraings are shown. For tables with more constraints, the constraints are not shown. In the "Constraint name" column its just written "Loading...", which does not finish, even after some hours.

Viewing all articles
Browse latest Browse all 978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>