Code Monkey home page Code Monkey logo

Comments (12)

darold avatar darold commented on June 30, 2024

Hi,

Does this table is listed in ALL_OBJECTS and what is its type in this catalog table?

SELECT A.OWNER, A.OBJECT_NAME, A.OBJECT_TYPE FROM ALL_OBJECTS A WHERE A.OBJECT_NAME = 'V_STOFF_ZEUS_NEU';

It might not be a real table but related to materialized view, in this case the OBJECT_TYPE will not be TABLE.

from ora2pg.

mirec84 avatar mirec84 commented on June 30, 2024
image

from ora2pg.

mirec84 avatar mirec84 commented on June 30, 2024

There is materialized view with the same name. Maybe that is the reason?

from ora2pg.

darold avatar darold commented on June 30, 2024

yes this is the reason

from ora2pg.

mirec84 avatar mirec84 commented on June 30, 2024

but the table should be exported despite the existence of a materialized view right?

from ora2pg.

darold avatar darold commented on June 30, 2024

right, give me few minutes.

from ora2pg.

darold avatar darold commented on June 30, 2024

@mirec84 please give a try to latest development code, commit fc5c67c should fix this issue.

from ora2pg.

darold avatar darold commented on June 30, 2024

Well I introduced a regression in the previous commit that is fixed with commit 6f3ffc1, please give it a try.

from ora2pg.

mirec84 avatar mirec84 commented on June 30, 2024

I still do not see the V_STOFF_ZEUS_NEU table :( Nothing seem to be changed in the output

from ora2pg.

darold avatar darold commented on June 30, 2024

Ok, I have reverted the lasts commits. What you are seeing is an Oracle internal table related to the materialized view, not a real table.

You can try to create a materialized view and execute query SELECT A.OWNER, A.OBJECT_NAME, A.OBJECT_TYPE FROM ALL_OBJECTS A WHERE A.OBJECT_NAME = '<MVIEW_NAME>'; you will see the two entries. Previous behavior of Ora2Pg was the right one. I should have recall that you can not create a table and a mview with the same name in Oracle.

from ora2pg.

mirec84 avatar mirec84 commented on June 30, 2024

You are correct

from ora2pg.

mirec84 avatar mirec84 commented on June 30, 2024

this is not an issue

from ora2pg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.