I have a table in which one of the columns is a user-defined datatype:
SQL> describe my_table
...
USER_DATA MYTYPE
The type "MYTYPE" is a simple object that contains one field: a CLOB called MESSAGE:
SQL> describe mytype
Name Null? Type
------ ----- ----
MESSAGE CLOB
When I do a "select * ..." from this table, the column USER_DATA is displayed as "MYTYPE(oracle.sql.CLOB@898c2d)"
I know that for CLOB and BLOB fields, SQL Developer will let me double click the value and view the contents. But for a user-defined type like this that contains a field, I cannot browse into the data members of the type. I find myself wanting to do something like a "select user_data.message from my_table", but this is not valid syntax. Is there a way to query a specific data member of this user-defined type with the rest of the columns in the table so that I can be shown the CLOB member instead of a representation of the object? If not, is there a way to configure SQL Developer to allow me to browse the data members of user-defined types? TOAD has a feature like this but I would like to use SQL Developer exclusively and this is one table I must work with regularly.