Had some strange encounters with the "Object Edit" dialog, hope you can reproduce these
Use the following script to prepare the objects:
CREATE OR REPLACE TYPE test_child_ot AS OBJECT (
child_val1 NUMBER(1),
child_val2 NUMBER(1)
);
CREATE OR REPLACE TYPE test_child_tab AS TABLE OF test_child_ot;
CREATE OR REPLACE TYPE test_ot AS OBJECT (
val NUMBER(1),
childs test_child_tab,
more_childs test_child_tab
);
Then execute this query:
SELECT
NEW test_ot
(
ROWNUM,
CAST( MULTISET ( SELECT NEW test_child_ot( ROWNUM, ROWNUM ) FROM dual CONNECT BY ROWNUM <= 3 ) AS test_child_tab ),
CAST( MULTISET ( SELECT NEW test_child_ot( ROWNUM, ROWNUM ) FROM dual CONNECT BY ROWNUM <= 1 ) AS test_child_tab )
) AS x
FROM dual
CONNECT BY ROWNUM <= 2;
Data Grid look fine:
Open "Object Edit" using double click.
-
Why are
CHILD_VAL1
andCHILD_VAL2
displayed here when they are members of the child collections (resized columns for readability)?
-
Moving the mouse to this position paints over the headers:
-
Navigating to "Last record" makes the dialog disappear:
Reopening it afterwards be double-clicking the last row shows the dialog but hides it immediately again.
-
Scrolling down leads to an error (Cannot focus a disabled or invisible window).
-
Changing and recompiling the object type (e.g. removing
other_childs
), adjusting the query and then executing the query again leads to an exception:
Works again after "Test Connection (Reconnect)"