Oracle Solution for Error ora-13367

Solution for Oracle Error ORA-13367

ORA-13367: wrong orientation for interior/exterior rings

What triggered the Error:

In an Oracle Spatial geometry, the exterior and/or interior rings are not oriented correctly.

What should we do to fix it:

Be sure that the exterior rings are oriented counterclockwise and the interior rings are oriented clockwise.