I created object table using SQL Developer:
CREATE TYPE PRODUCT AS OBJECT(
name varchar2(40),
category varchar2(30),
price varchar2(10));
CREATE TABLE S_PRODUCTS OF PRODUCT;
SELECT VALUE(e) from S_PRODUCTS e;
Also, inserted several values into that table. But when I am trying to retrieve this object table as a whole, I a getting weird results (see image in the attachments). As far as I understood, the first part, before the dot is my db username.
I tried to recreate the object table and restart Oracle SQL Developer, but I am always getting the same results
If you want to see the columns then:
SELECT * FROM s_products;
or
SELECT name, category, price FROM s_products;
If you want to get the object for each row then use your query:
SELECT VALUE(e) from S_PRODUCTS e;
However, your SQL Developer client application is not configured to display object so it is just displaying the identifier for the object. If you want to see the contents of the object then: