How to check odi master repository exist in oracle database?

Is there way to check the ODI master repository is exist in oracle database or any api to test that?
Your help much appreciated.

Thanks for you reply,
That's fine, i think you aware of that, once open the topology manager "topology.bat", you can test the master repository, if you give any existing database user but its not master rep user, that throw exception "Master repository is not installed on this connection".
I want know what are tables and data's are getting verified during the connection test.
I think If you know regarding above my question, that will solve my problem.
Thanks

Similar Messages

  • How to check if the table exists in teh database

    Hi,
    I am using MS Acess and how do i check using the query if the table already exist in the db?
    What is the exact query. Can any one help me.
    Thanks
    Deepti

    This will do it for you and print out the results using JDOM. - %
    package database;
    import org.jdom.Document;
    import org.jdom.Element;
    import org.jdom.output.XMLOutputter;
    import java.sql.Connection;
    import java.sql.DatabaseMetaData;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.ResultSetMetaData;
    import java.sql.SQLException;
    import java.sql.Statement;
    import java.util.ArrayList;
    import java.util.List;
    public class TableLister
       public static final String DRIVER = "sun.jdbc.odbc.JdbcOdbcDriver";
       public static final String DATABASE = "jdbc:odbc:DRIVER={Microsoft Access Driver (*.mdb)};DBQ=C:\\Documents and Settings\\Michael\\My Documents\\Projects\\Java\\Forum\\data\\DataConnection.mdb";
       public static final String USERNAME = "admin";
       public static final String PASSWORD = "";
       public static void main(String[] args)
          Connection conn = null;
          ResultSet tables = null;
          String driver = "";
          try
             driver = ((args.length > 0) ? args[0] : DRIVER);
             String url = ((args.length > 1) ? args[1] : DATABASE);
             String username = ((args.length > 2) ? args[2] : USERNAME);
             String password = ((args.length > 3) ? args[3] : PASSWORD);
             Class.forName(driver);
             conn = DriverManager.getConnection(url, username, password);
             DatabaseMetaData meta = conn.getMetaData();
             // Bring back ALL tables and views, including SYSTEM tables.
             tables = meta.getTables(null, null, null, null);
             ResultSetMetaData rsmd = tables.getMetaData();
             int numColumns = rsmd.getColumnCount();
             List columnNames = new ArrayList();
             for (int j = 0; j < numColumns; ++j)
                columnNames.add(rsmd.getColumnName(j + 1));
             Element root = new Element("tables");
             int tableCount = 0;
             while (tables.next())
                Element table = new Element("table");
                table.setAttribute("id", Integer.toString(++tableCount));
                for (int j = 0; j < numColumns; ++j)
                   Element column = new Element((String) columnNames.get(j));
                   column.setText(tables.getString((String) columnNames.get(j)));
                   table.addContent(column);
                root.addContent(table);
             conn.close();
             Document doc = new Document(root);
             XMLOutputter outputter = new XMLOutputter("   ", true);
             System.out.println(outputter.outputString(doc));
          catch (ClassNotFoundException e)
             System.err.println("Couldn't load JDBC driver class " + driver);
             e.printStackTrace();
          catch (SQLException e)
             System.err.println("SQL state: " + e.getSQLState());
             System.err.println("SQL error: " + e.getErrorCode());
             e.printStackTrace();
          catch (Exception e)
             e.printStackTrace();
          finally
             close(tables);
             close(conn);
       public static void close(Connection c)
          try
             if (c != null)
                c.close();
          catch (SQLException e)
             e.printStackTrace();
       public static void close(Statement stmt)
          try
             if (stmt != null)
                stmt.close();
          catch (SQLException e)
             e.printStackTrace();
       public static void close(ResultSet result)
          try
             if (result != null)
                result.close();
          catch (SQLException e)
             e.printStackTrace();
    }

  • How i can Create Master Repository with MySQL Database?

    How i can Create Master Repository with MySQL Database? i need to using MySQL Database to Master & Work Repository.
    I try to add mysql libary jar file to drivers . But , can't display MySQL Technology in Database List for Create Master Repository ?
    Please..
    Edited by: MadoatZ on Feb 19, 2011 1:47 AM

    Creation of ODI master repository is limited to few relational databases only. Check certification matrix for ODI 11g
    Oracle 10.2.0.4+
    Oracle 11.1.0.7+
    Oracle 11.2.0.1+
    Microsoft SQL Server 2005
    Microsoft SQL Server 2008
    IBM DB2/UDB 9.7 and later FixPaks
    IBM DB2/400 (V5R4+)
    Hypersonic SQL 1.7.3+
    Sybase AS Enterprise 15.0.x
    thanks

  • ODI - Master Repository Creation Issue

    Hi Experts, I trying to create a master repository in ODI Standalone version 11.1.1 (Internal Version 11.1.1.7.0_GENERIC_130302.2156) but the following error was ocurred:
    oracle.odi.setup.RepositorySetupException: Error while updating Schema Version Registry Entry for ODI. Check if user system has DBA permissions.
    at oracle.odi.setup.support.SchemaVersionUtil.setComponentInvalid(SchemaVersionUtil.java:234)
    at oracle.odi.setup.support.MasterRepositorySetupImpl.createMasterRepository(MasterRepositorySetupImpl.java:262)
    at oracle.odi.ui.gallery.support.MasterCreateRepositoryPage.invoke(MasterCreateRepositoryPage.java:231)
    at oracle.odi.ui.gallery.support.AbstractMasterRepositoryWizard$2.run(AbstractMasterRepositoryWizard.java:168)
    at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: java.sql.SQLException: setComponentInvalid: component 'ODI' not found in schema_version_registry
    at oracle.ias.version.SchemaVersion.setComponentInvalid(SchemaVersion.java:1949)
    at oracle.odi.setup.support.SchemaVersionUtil.setComponentInvalid(SchemaVersionUtil.java:232)
    ... 5 more
    Do you have any idea what might be going wrong?
    Thanks in Advance!!!
    Héctor Ortega

    Looking at the error, it seems its permissions related issues. Check if all required permissions are set for ODI Master repository user/schema & system user.
    Its trying to update ODI repository version in SCHEMA_VERSION_REGISTRY table under system tables, but not able to do it due to lack of sufficient privileges.
    Regards,
    Santy

  • Can Any one elaborate on ODI Master Repository?....

    Hi!!
    Can Any one elaborate on ODI Master Repository?....Internal structure/how it works?
    Regarding importing master repositories?

    SN wrote:
    hi!!
    Thanks for your reply.
    I know how to create master repository/work repository, agent and further implementation. i just want to know what happens at background. can you clarify this issue?Try here :
    http://docs.oracle.com/cd/E21764_01/integrate.1111/e12641/overview.htm#CACIIJEB
    and here :
    http://chetan-patil-bi.blogspot.com/2010/10/oracle-data-integrator-architecture.html
    the 2nd link is 10g but what is stored in the repositories hasnt really changed between 10 and 11.
    If you still have questions please be specific?

  • Please help me how to check a material does existed group code in system (w

    Hi all,
    Please help me...
    I have inputted quantity for  tx MC 94  but when I input them into  tx MC94, I met  a message " Structure  not yet maintained for  this conbination characterstics". Step by step to show a error message as below:
    Step 1: Launch MC 94
    step 2: Enter Planning
    Step 3: Enter  Prod.Code. Material (ex: enter material code :0101010260008, this code is existed  Prod.Code )
    Step 4: Click on "Inactive Version " button
    ==> A error message is showed.
    Please help me how to check a material does existed group code in system (which table to  check  it)?
    How to record the message" Structure  not yet maintained for  this conbination characterstics" to catch up it in my program?
    Thank in advance.

    Karenloria,
    1. Check in MC8C, which Infostructure is used for Planning type "Planning" or the one you are entering in the intial screen of MC94.
    2. Using transaction MC63 for the infostructure identified in step 1, check the planning hierarchy maintained. If this product is not maintined maintain using MC62.
    You can also check using SE16 transction the current infostructe records(Plan) for the table name = infostructure identified in step 1.
    Regards,
    Prasobh

  • JavaScript: How to check if a file exists.

    Hello Everybody,
    Can you tell me how to check if a file exists using JavaScript and Internet Explorer.
    Browsing on this website I could read about the command "f.exists()" and it was necessary to include "java.io.*".
    Should I use this same command and should I include the same files? Or are there other files and other commands?
    Thanks in advance.

    sorry ya. there is no command to check whether a file exists using javascript. The following code says the object name and value. But it can't say whether the file exists in the harddisk or .. Javascript cannot access database and system resources. If the file exists or not can be checked through the application (ASP, CFML, ..) you are using.

  • How to check whether a file exist in the program folder or not?

    Hi guys,
    how to check whether a file exist in the program folder or not? Let is say i recieve a file name from user then i want to know if the file is there not and act on that base.
    abdul

    Look at the class java.io.File and the .exists() method:
    http://java.sun.com/j2se/1.4/docs/api/java/io/File.html

  • Example of generating excel dynamically in ssis? geting error [Excel Destination [190]] Error: Opening a rowset for "Excel_Destination$" failed. Check that the object exists in the database.

    example of generating excel dynamically in ssis? geting error [Excel Destination [190]] Error: Opening a rowset for "Excel_Destination$" failed. Check that the object exists in the database.

    Hi Vijay
    Can you be little bit more specific, did you receive this error when you are designing this pacakge using BIDS
    Becuase when you are designing this pacakge in BIDS, you need to manaually create a excel sheet manually for the first time you run,
    are you creating excel sheet using execute sql task and excel connection with input from a variable?
    Did you receive this error in validation phase or execution phase ?
    Can you share your query to create table in excel ?
    http://sqljunkieshare.com/2012/02/28/how-to-create-and-map-excel-destination-dynamically-in-ssis/
    Use the above post

  • Error : Opening a rowset for "Sheet$" failed. Check that the object exists in the database.

    Hi,
    i am trying to load the data from excel sheet using For each loop container in ssis 2005.
    But it gave me the below error:
    Error: Opening a rowset for "Sheet1$" failed. Check that the object exists in the database.
    [DTS.Pipeline] Error: "component "failed validation and returned validation status "VS_ISBROKEN".
    Error: There were errors during task validation.
    Could you please let me know the solution
    Regards
    Sqlstud

    That message usually means validation has failed;
    Have any of the underlying tables changed?  Data types, lengths, maybe even column ordering, etc...?
    try this..
    Right-click on the Data Flow Task and select Properties. Then set DelayValidation =TRUE.
    Let us TRY this |
    My Blog :: http://quest4gen.blogspot.com/
    Thanks ETL.
    Everything is fine..(Datatypes,length,orderings etc)
    Already i have set
    DelayValidation =TRUE.
    IS there any other problem?
    Regards
    Sqlstud

  • How to check Internal, Concurrent Manager status in Oracle Apps R12 from fr

    Step by step how to check Internal, Concurrent Manager status in Oracle Apps R12 from front end and how to start them.

    Richa wrote:
    Step by step how to check Internal, Concurrent Manager status in Oracle Apps R12 from front end Concurrent Processing - Concurrent Manager Generic Platform Questions and Answers [ID 105133.1]
    and how to start them1) Using adcmctl.sh (from the backend)
    2) Using Activate button (from the front-end) -- http://docs.oracle.com/cd/E18727_01/doc.121/e12893/T174296T174302.htm#4334248
    Thanks,
    Hussein

  • Excel Source - Opening a rowset for "EFT$" failed. Check that the object exists in the database.

    Why oh why do I sometimes get this error when defining my Excel Source and then sometimes I do not?
    Am I doing something wrong here???
    The error is...
    Exception from HRESULT: 0xC02020E8
    Error at Data Flow Task [[Excel Source[27]]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
    Error at Data Flow Task [Excel Source [27}}: Opening a rowset for "EFT$" failed. Check that the object exists in the database.
    I know the Worksheet "EFT" exists because I defined this previously for the same Excel spreadsheet.
    Thanks for your review and am hopeful for a reply.
    PSULionRP

    A reply from CozyRoc must be hitting the nail on the head
    sheet name contains $
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/ce0fbff5-f5f1-4a4a-9c29-6adc32b0fd79/using-excel-file-as-source-in-data-flow-task-of-ssis-bi-2005-need-example-of-sheetnamecellrange?forum=sqlintegrationservices
    Arthur My Blog

  • How to check relation between two tables in same database

    How to check relation between two tables in same database using Oracle SQL developer. Version 2.1.1.64

    Hi,
    Try this,
    SELECT   cons.owner AS child_owner, cons.table_name AS child_table,
             cons.constraint_name constaint_name,
             cons.constraint_type constraint_type, col.owner parent_owner,
             col.table_name parent_table, col.column_name column_name
        FROM dba_cons_columns col, dba_constraints cons
       WHERE cons.r_owner = col.owner
         AND cons.r_constraint_name = col.constraint_name
         AND col.owner = 'MY_USER'
    ORDER BY child_table;Thanks,
    Shankar

  • Is ODI  12c  is certified on  Oracle Database 12c ?

    Hi Experts,
           I am trying to install ODI 12c on Oracle database 12c.  Where the ODI initial installation is good.  But when I am trying to setup the master and work repositories on database 12c it is failing.  The scripts generated by the RCU is working on 12c.  I think it mainly about schema creation and roles that it it trying to create on the database.
    Did anyone of you have gone through this issue, can throw some light.  Thanks in Advance.

    Yes, ODI 12c is certified for Oracle database 12c.
    Check database tab here : http://www.oracle.com/technetwork/middleware/fusion-middleware/documentation/fmw-1212certmatrix-1970069.xls
    Whats the exact error that you are seeing while setting up the repositories. You can try creating Master & work repositories through ODI Studio as well.
    Regards,
    Santy

  • How can i save the data from the Oracle database to my local directory

    How can i save the data from the Oracle database to my local directory instead Of saving the data file to the Directory created on the Oracle Server ?
    I require to design the Procedure which will pull the data from various tables and needs to store the data in the Client's local directory.

    Since SQL*PLUS runs on the client, you can use SQL*PLUS to spool data to your local drive.
    You could also use the database to write a a specified drive where all users have access to (mapped network drive, e.g.). I wouldn't recommend doing it that way, but it is sometimes useful when the files are created in some nightly batch run.

Maybe you are looking for

  • VERY strange lag on a Dell Optiplex 760

    I thought it would be a good idea to keep a 16GB flash drive on my keychain that booted Arch so I could work on HW for college in a consistent OS!  Everything is working great so far, but I ran into a very strange problem with a Dell Optiplex 760.  D

  • Virtual storage drive causes lightroom to crash

    I use a service called Bitcasa, which is essentially just another cloud storage solution a la Dropbox, etc, except that it allows unlimited storage.  To do this, it mounts a virtual drive on your computer called the "Bitcasa Infinite Drive". When I o

  • CS5.5 won't download and install correctly.

    I have a new computer and I'm trying to re-install my design suite 5.5. I've downloaded the files several times, and whil the .exe file seems to download fine, the .7z file keeps coming out as different sizes. it should be 2.5 GB, but is much more fr

  • Report output to be transferred to excel file

    hi all how to transfer the report output to excel file? thanks, kiran.

  • Homesharing- can't see shared library

    I have a laptop with Windows 7 and itunes 9.2. I have turned on homesharing on my laptop as well as my daughters laptop which is running vista and itunes 9.2 using the same account and password. Our media files are shared but while she can see my lib