Oracle Error ORA-32306: updatable materialized views with user-defined types must use SELECT *

Oracle Error Message

ORA-32306: updatable materialized views with user-defined types must use SELECT *

Reason for the Error

An attempt was made to create an updatable materialized view with user-defined types where the definition query did not use SELECT * at the topmost level.

Solution

Rewrite the definition query so that SELECT * is used at the topmost level.