Importing ALL_OBJECTS synonym in OWB11gR2

Hi, I'm trying to import the ALL_OBJECTS synonym to use in a map in OWB 11gR2. I select the oracle database module, choose IMPORT / DATABASE OBJECTS, and then in the wizard hit "Views" and "Use a synonym to look up objects". However, nothing then shows up. Same if I choose all objects, "use a synonym to look up objects", and enter the matching pattern '%ALL_OBJECTS%'.
I know the user can see this - if I log in as that user in SQL developer, I both see the synonym and can select from it with no issues.
I'm obviously doing something dumb - any ideas what it is?
Thx,
Scott

Hi Scott
If you change the metadata location for the module and set the schema to be SYS then try reimporting you will get it.
Cheers
David

Similar Messages

  • Help me import my synonyms please

    I have 2 database (a. production, b. test).
    I got an DMP file and I would like to import the synonyms into the test database.
    How could I only import that?
    or alternative, which query could I use to know the synonym name a table is using?
    So i can make a store procedure by reading the production database synonym name and pass it to the test database.
    gracias

    Hi, you can use the next script for extract the ddl from your production database and after recreate into the test database.
    select 'CREATE '|| decode(owner,'PUBLIC','PUBLIC ',null) ||
    'SYNONYM ' || decode(owner,'PUBLIC',null, owner || '.') ||
    lower(synonym_name) || ' FOR ' || lower(table_owner) ||
    '.' || lower(table_name) ||
    decode(db_link,null,null,'@'||db_link) || ';'
    from sys.dba_synonyms
    where table_owner = 'MYOWNER'
    order by synonym_name
    Luck.
    Have a good day.
    Regards.

  • Import package (synonym) from db

    Hi,
    in our DWH we use a dedicated user (owbread) to read all data from all source databases . Tables are granted to this user in the source databases via synonym. The user does noown any tables , vies or packages himself.
    With tables this works fine. I can import them via obi and extract data in the etl processes.
    We want to do exactly the same with packages (and procedures or functions). We have created synonyms for the packages in the source database, but when we want to import the packages, we cannot see them in the import wizzard.
    Do we really need to copy these packages over to the data warehouse or how do we import them ?
    Regards,
    Knut
    P.S. OWB 11.1.0.7.0
    source db Oracle 9i
    Edited by: knherzog on 25.01.2011 02:16

    I faced the same problem long ago. may be you can raise a SR.
    the alternate is to create the location pointing to that schema.
    Unable to import private Synonym for procedure  in OWB
    Cheers
    Nawneet

  • Error in interface import

    Hi,
    I have exported Models and Interfaces from DEV environment and imported them in PROD in the order Models first and then Interfaces. After successful import, I changed the context and Logical Schema.
    In Models, preview data is coming fine. But when I open the interface, Target Datastore is not associated with Model. rest information like Logical Schema, Physical Schema, DataServer are coming fine. Only Model name is not displaying and all the mappings are showing as RED.
    Please help me...any step I am missing
    Thanks,
    Naveen Suram
    Edited by: Naveen Suram on Feb 18, 2010 4:52 PM

    We have imported them in "Duplication" mode....and the internal IDs are different....
    When we are trying to import in "Synonym INSERT" or "Synonym INSERT_UPDATE" mode, we are getting the following error. Our DEV and PROD workrepository IDs are same.
    com.sunopsis.core.m: This import action has been cancelled because it could damage your repository (problem with the identifier sequences)
    at com.sunopsis.dwg.DwgObject.a(DwgObject.java)
    at com.sunopsis.dwg.DwgObject.doImport(DwgObject.java)
    at com.sunopsis.dwg.DwgObject.importFromXml(DwgObject.java)
    at com.sunopsis.graphical.r.oy.f(oy.java)
    at com.sunopsis.graphical.r.lf.b(lf.java)
    at com.sunopsis.graphical.tools.utils.swingworker.v.call(v.java)
    at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
    at com.sunopsis.graphical.tools.utils.swingworker.l.run(l.java)
    at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
    at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
    at java.lang.Thread.run(Thread.java:595)

  • How to export Synonym where owner=PUBLIC

    Hi,
    Im using oracle 11g on AIX 5.3, I have taken the export backup with data pump of one schema. its imported successfully,
    but the all synonyms are not imported,
    My table onwer is user whose backup i have taken ,
    bt the owner of the synonyms are PUBLIC
    but synonyms are not reflected in import ? why ? what should be the way to import the synonyms where user is PUBLIC?
    Please help?
    Thanks

    You are doing a schema level export so synonyms will not be exported.
    Hope this link helps
    export of public synonym in oracle
    You can also use dbms_metadata.get_ddl to generate synonym definition: select dbms_metadata.get_ddl('SYNONYM','<name-of-synonym>','PUBLIC') from dual;
    Thanks
    http://swervedba.wordpress.com/

  • Importing a dump file with DBMS_DATAPUMP into a different database

    Can I import a dump file using the DBMS_DATAPUMP procedure from one database to another? I know within the OPEN subprocedure you can specify a database link, but that requires the dump file be located on the server where that database link is pointing to.
    What I want to do is leave the dump file on Server A and import it into Server B....can I do that? Or do I have to physically move the file out to Server B?
    Thanks for your help!

    I've never tried this, but could you do it by importing to synonyms that points to the tables over db link?
    As the job runs in the DB, the file would need to be on the server the DB that performs the job is. SO if you can link it over to another database, then it ought to work.
    Would an nfs mount work? Then you wouldn't have to move the file, but you could still run it from the second DB. One more alternative would be to not do it to a file, but to have from and to be databases, then it should work as datapump has that capability.

  • IMPORTING MDL ERROR

    Hello All
    We have an oracle 11gR2 DB and OWB setup which is up and running on WIN2003 box. we create an mapping to consume an web service. We have one more setup on which Oracle 10gR2 database and 11gR2 OWB is installed and configured. when iam trying to import the MDL from the first to second enviormrnt getting series of errors.
    Import started at 11/27/2010 21:46:04 GMT+04:00
    Importing into workspace REP_OWNER
    Project "MY_PROJECT"
    Application Server "APPLICATION_SERVER_1"
    Warning: MDL3002: Location <PUBLIC_PROJECT.APPLICATION_SERVER_1_LOCATION> not found for LOCATIONUSAGE <MY_PROJECT.APPLICATION_SERVER_1.APPLICATION_SERVER_1_LOCATION>
    Web Service "WS_MAPPING_1"
    Web Service "WS_PF1"
    Configuration "DEFAULT_CONFIGURATION"
    Import ended at 11/27/2010 21:46:06 GMT+04:00
    Log File output to C:\OWB11GR2\owb\mdl\AMAF_BACKUP_MDL_VIRTUAL MACHINE\MY_PROJECT-20101123_1336_imp.log
    Total import time (hh:mm:ss): 00:00:02
    Error occurred importing from file "C:\OWB11GR2\owb\mdl\AMAF_BACKUP_MDL_VIRTUAL MACHINE\MY_PROJECT-20101123_1336.mdl".
    Error at line 22: MDL1261: Error importing OWBAssoc_RemoteAgent MY_PROJECT.DEFAULT_CONFIGURATION.DEFAULT_DEPLOYMENT.PUBLIC_PROJECT.DEFAULT_AGENT.
    Detailed Error Message:
    Internal Error: Load Error. Please contact Oracle Support with the stack trace and details on how to reproduce it.
    Would some one let me know abot the compatibility of OWB 11gR2 with Oracle 10g R2 Database.
    Reg
    S.Gyazuddin.
    Edited by: S.Gyazuddin on Nov 27, 2010 11:53 AM
    Edited by: S.Gyazuddin on Nov 27, 2010 11:54 AM

    When I get this kind of message:
    Internal Error: Load Error. Please contact Oracle Support with the stack trace and details on how to reproduce it.I try first to do an other export (an other export file).
    Sometimes the export can give a bad file.
    Cheers
    Nico

  • Synonym over db link

    I have data base A and database B ,A is linked B using DB link, in A we have a table , on which select is granted to the data base B , then i created a synonym for that in B , when i try to import that synonym using owb in B I don't see that in there
    any clues ? any work arounds
    Thanks in advance

    A few pointers.
    Database A has the table you want.
    You developed a database link to the table in 'A' that Database B will use.
    In Database A you granted necessary privileges (select) to 'B' on that table.
    You developed a synonym in Database B for that object (the table in 'A').
    Make sure the synonym is a private one. OWB has issues with public synonyms.
    Also, when trying to import the table in OWB, check to see if it will work with the 'use synonym to look up the objects' checked option.
    I 'think' this should do it. I sometimes get tongue tied with the grants/synonyms usage.
    -Greg

  • Export only synonyms from EXP utility

    Hi,
    Is there any way possible to EXPORT only Synonyms from conventional EXPORT utility?
    Thanks.

    HI,
    AFAIK its not possible to export and import just the synonyms..EXP can be used to export only tables, or only grants, or only indexes, BUT it don´t give to us an option to export only synonyms.  The best way to "pass" only the synonyms to another db is to create a scrit with the necessary CREATE SYNONYM in sql*plus, selecting the data from DBA_SYNONYMS or ALL_SYNONYMS, as desired.
    How to export and import public synonyms?

  • Creating PL/SQL Package with all the types

    CREATE OR REPLACE
    TYPE rec_type AS OBJECT (
    first_name VARCHAR2(20),
    last_name VARCHAR2(20)
    CREATE OR REPLACE
    TYPE REC_TYPE_TAB AS TABLE OF rec_type
    I am able to create the above types in oracle and used in PL/SQL packages. And like this I have somany types. I would like to if I can create a package with the types to make the life easier. Could you please tell me how to do it.
    your help is greately appreciated..
    --Krish                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    sb92075 wrote:
    TYPE add only aggravation, complexity, & should be avoidedI disagree.
    When used correctly types can be the simplest solution.
    For example when passing multiple values to a stored procedure. Avoiding the type in the below example would lead to further complexity and aggravation not lessen it.
    SQL> create or replace procedure p
      2      (
      3      p_object_list in sys.odcivarchar2list,
      4      p_result out sys_refcursor
      5      ) as
      6  begin
      7      open p_result for
      8          select owner, object_name, object_type
      9          from all_objects
    10          where object_name in
    11              (
    12              select column_value from
    13              table(p_object_list)
    14              )
    15          order by
    16              owner, object_name, object_type;
    17  end;
    18  /
    Procedure created.
    SQL> exec p(sys.odcivarchar2list('DUAL','ALL_OBJECTS'),:c)
    PL/SQL procedure successfully completed.
    SQL> print c
    OWNER                          OBJECT_NAME                    OBJECT_TYPE
    PUBLIC                         ALL_OBJECTS                    SYNONYM
    PUBLIC                         DUAL                           SYNONYM
    SYS                            ALL_OBJECTS                    VIEW
    SYS                            DUAL                           TABLE

  • Unable to See the Technology Function in The Expression Editor- ODI 11G

    Hi,
    I am developing Interface whereas i am unable to see the Technology functions in the Expression Editor where i am trying to do some transformation .
    Secondly in the Header it is showing Default language in place of SQL(Oracle)
    any fix please..
    Thanks,
    KP

    I fixed it myself- thanks
    Below was the step i did which resolved the issue. hope this will help others
    Go to ODI Studio
    In Topology- Expand Language
    Import New Language
    import in synonym INSERT_UPDATE mode
    The Language definitions from $ODI_HOME/oracledi/xml-reference/LANG_SQL.xml
    click OK
    close ODI Studio and Open again. that fixed my issue.
    Thanks,

  • Passing multiple parameters in sql query

    Hi All,
    This may not be the correct place to post this.
    How to pass multiple paramters to a variable in sql developer.
    Ex: Select * from Country where state= :statename (Country is table name, state is column name)
    If I execute the above query in SQL Developer I can pass only one parameter at a time for :statename ie either KERALA,KARNATAKA,PUNJAB etc.
    How can I pass multiple values (all KERALA,KARNATAKA,PUNJAB) or ALL column values at a time in SQL Developer.
    Thanks

    user1668671 wrote:
    How to pass multiple paramters to a variable in sql developer.A scalar variable by definition cannot store more than one value at a time.
    Array type variables can, as this example using the built in type odcivarchar2list shows
    SQL> select
      2      object_name,
      3      object_type
      4  from
      5      all_objects o
      6  where
      7      o.object_name in
      8      (select column_value from
      9      table(sys.odcivarchar2list('DUAL','ALL_OBJECTS')));
    OBJECT_NAME                    OBJECT_TYPE
    DUAL                           TABLE
    DUAL                           SYNONYM
    ALL_OBJECTS                    VIEW
    ALL_OBJECTS                    SYNONYM
    ALL_OBJECTS                    VIEWHere is a full discussion with multiple solutions for various versions including a string parsing
    http://tkyte.blogspot.com/2006/06/varying-in-lists.html
    Does SQL Developer support array type variable? I don't know they may know here {forum:id=260}
    Otherwise the link above shows how to parse a single character variable into multiple values that will be needed.

  • OWB & Sarbanes-Oxley

    I posted some time ago about OWB having trouble with public synonyms (it cannot import public synonyms during Import, and generate code cannot select from public synonym unless the name of the db link is explicitly set in the config properties). Mark, thanks for your reply on that
    Anyways, some of the DBAs here are balking on creating pvt synonyms, citing Sabanes-Oxley !
    Just thought Development should be aware of that

    Hi,
    Thanks for the hint :-) I guess we will need to take a look at that again.
    Jean-Pierre

  • Reg joinis in OBIEE

    Hi
    I have two dim tables
    Dim A and DIm B connected to Fact table joins are there in BMM layer and physical
    when i create the repor in query from columns of the both dims the joins are not formed in session query...result it is doing a cartesian product and reportin is runninig for longer time
    Where could be the issue?
    Thanks!
    Edited by: user511637 on Dec 15, 2009 4:28 AM

    Hi user511637,
    I got a follow up for the first question:
    -- Are all three tables (Dim A, Dim B and Fact) in the same physical database?
    YesSo all the tables are on the same physical (Oracle?) database. How are they setup in your RPD? Are they also setup in the same physical database object in the RPD? If not, that will cause them to execute separately.
    Have you tried to drop all the joins and re-create them like you read in the other post?
    If you have all of these setup appropriately and you're still getting join issues, here's what I recommend.
    1) Pick a schema to be the master schema
    2) Create synonyms for all tables that are not in the same schema and make sure that schema user has select on the tables. Since all your tables are on the same DB, this can be done.
    3) Import the synonym objects into a single RPD database/schema.
    4) Setup the joins the way they should be
    5) Retest
    -Joe

  • Issue with OdiPurgeLog

    Hi,
    I have created an ODI package which exports log using OdiExportLog and purge log using OdiPurgeLog. I wanted this to test for one session and I have added the same in the 'Session Name' parameter and added start date(to_char(sysdate-30, 'yyyy-MM-dd')||' 00:00:00') and end date(to_char(sysdate, 'yyyy-MM-dd')||' 00:00:00') parameters for both the ODI objects(OdiExportLog and OdiPurgeLog). When I executed, it completed in normal and inspite of purging only the mentioned session logs, all the logs in the specified time frame were purged. And when I checked the odi command executed for OdiPurgeLog object I could find the Session Name filter getting applied.
    And also, when I checked the exported zip file I found only those logs for which the session name was mentioned. When I tried to import these logs from the operator window, its trying to import in 'Synonym Mode INSERT' mode and Import mode option was disabled.
    Is there anyway where I can get back the logs that were purged?
    Can I anyone guide me if there is anything wrong in the approach?
    Note: I executed the same package for another session but with start date as to_char(sysdate-30, 'yyyy-MM-dd hh:mm:ss') and end date as to_char(sysdate,'yyyy-MM-dd hh:mm:ss' ) and its purged only that session logs in that time frame.
    Thanks,
    Rajesh

    Hi All,
    Came to know that this is a bug detected in 10.1.3.4.5 and was fixed in 11g. For information see "OdiPurgeLog Tool Session_Name Parameter Is Not Filtering Sessions" at
    https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=PROBLEM&id=743121.1
    And one more query
    I think OdiPurgeLog deletes operator logs even if the job is running. In our project we have some real time jobs which keeps on running for months, so we don't want the running rt jobs be deleted, instead we are planning to purge the child sessions which are older than a month, using the OdiPurgeLog utility. Can anyone suggest some work around for this other than manually deleting the sessions?
    Many thanks in advance.
    Regards,
    Rajesh

Maybe you are looking for