ODI 11.1.1.5 topology import

Iam using odi sdk to import the topology in the odi studio and then after importing the topology my code will change the jdbc url or jms queue information from the code only by using the odi sdk.
Now the problem is the same code is working under version 11.1.1.3 but its not working under version 11.1.1.5 iam getting the error oracle.odi.core.config.MasterRepositoryVersionMismatchException: Repository version is 04.03.03.08, 04.03.02.04 required
Further i checked the repository (Master and work) version in the table the version are same.
Iam able to login into studio by using the above credentials.
Not able to understand how to resolve the problem.
What excatly the error means yes iam using odi 11.1.1.5 version for importing the topology.
And iam taking all the values from the properties file.
Thanks in advance.

EPM 11.1.2.1 is certified with 10.3.5.6+
To be honest if you are using 10.3.5.x then it worth patching the latest patch releases as many bugs have been addressed.
Cheers
John
http://john-goodwin.blogspot.com/

Similar Messages

  • ODI topology import error

    Hi All,
    I am facing the following error when trying to import topology objects using :
    $START_COMMAND OdiImportObject -FILE_NAME=CONN_XML_FILE0.xml -WORK_REP_NAME=work -IMPORT_MODE=SYNONYM_INSERT_UPDATE
    java.lang.RuntimeException: oracle.odi.oditools.OdiToolException: Error while running ODI Tool OdiImportObject
    at oracle.odi.oditools.OdiAbstractToolRunner$4.doAction(OdiAbstractToolRunner.java:216)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:183)
    at oracle.odi.oditools.OdiAbstractToolRunner.executeConnectedCoreTool(OdiAbstractToolRunner.java:203)
    at oracle.odi.oditools.OdiAbstractToolRunner.access$0(OdiAbstractToolRunner.java:178)
    at oracle.odi.oditools.OdiAbstractToolRunner$2.doInTransactionWithoutResult(OdiAbstractToolRunner.java:146)
    at oracle.odi.core.persistence.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:21)
    at oracle.odi.core.persistence.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:99)
    at oracle.odi.oditools.OdiAbstractToolRunner.executeCoreTool(OdiAbstractToolRunner.java:142)
    at oracle.odi.oditools.OdiAbstractToolRunner.executeTool(OdiAbstractToolRunner.java:47)
    at oracle.odi.ToolRunner.main(ToolRunner.java:75)
    Caused by: oracle.odi.oditools.OdiToolException: Error while running ODI Tool OdiImportObject
    at oracle.odi.oditools.OdiAbstractToolRunner.executeTool(OdiAbstractToolRunner.java:174)
    at oracle.odi.oditools.OdiAbstractToolRunner.access$1(OdiAbstractToolRunner.java:166)
    at oracle.odi.oditools.OdiAbstractToolRunner$4.doAction(OdiAbstractToolRunner.java:212)
    ... 9 more
    Caused by: com.sunopsis.tools.core.exception.SnpsSimpleMessageException: ODI-10036: Importing object SNP_CONNECT : XML_FILE0 failed.
    at com.sunopsis.dwg.DwgDuplicationTools.importOtherObjects(DwgDuplicationTools.java:2660)
    at com.sunopsis.dwg.DwgDuplicationTools.synonymImport(DwgDuplicationTools.java:2130)
    at com.sunopsis.dwg.DwgObject.importFromObjectLst(DwgObject.java:6509)
    at com.sunopsis.dwg.DwgObject.doImport(DwgObject.java:6011)
    at com.sunopsis.dwg.DwgObject.importFromXml(DwgObject.java:5650)
    at com.sunopsis.dwg.DwgObject.importFromXmlWithCommit(DwgObject.java:5695)
    at com.sunopsis.dwg.DwgObject.importFromXmlWithCommit(DwgObject.java:5663)
    at com.sunopsis.dwg.tools.ImportObject.actionExecute(ImportObject.java:123)
    at com.sunopsis.dwg.function.SnpsFunctionBaseRepositoryConnected.execute(SnpsFunctionBaseRepositoryConnected.java:162)
    at oracle.odi.oditools.OdiAbstractToolRunner.executeTool(OdiAbstractToolRunner.java:170)
    ... 11 more
    Caused by: java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:924)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1261)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1419)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3806)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
    at com.sunopsis.sql.SnpsQuery.executeQuery(SnpsQuery.java:585)
    at com.sunopsis.dwg.dbobj.SnpConnect.checkNameUniqueness(SnpConnect.java:904)
    at com.sunopsis.dwg.dbobj.SnpConnect.insertBeforeAction(SnpConnect.java:836)
    at com.sunopsis.dwg.DwgObject.insertForDuplication(DwgObject.java:3436)
    at com.sunopsis.dwg.DwgDuplicationTools.importOtherObjects(DwgDuplicationTools.java:2616)
    ... 20 more
    However , the import goes through fine when done from dataintegrator UI (topology manager > import > toplology)
    Please let me know what could be causing the issue.
    Thanks and Regards
    raj

    Below is the extract of the header of the SmartExport.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <SunopsisExport>
    <Admin IsSmartExportFile="true" RepositoryVersion="04.03.04.02" OdiVersion="11.1.1.6.0 - 19/12/2011" OriginMasterRepositoryID="100" OriginWorkRepositoryID="100" Created="2013-08-06 12:08:44 -0700" />
    <SmartExportList materializeShortcut="false">
       <Include><![CDATA[SnpPop#165100]]></Include>
    </SmartExportList>
    <Object class="com.sunopsis.dwg.dbobj.SnpConnect"> ...
    </Object>
    </SunopsisExport>
    When provided the same xml to the OdiImportScen from command line the import worked fine. Could you pls check if I'm missing anything in this.

  • Error while trying to upgrade ODI repository using export/ import

    Hi,
    I am getting below error while trying to import an ODI project from dev environment into my QA environment which has an older version of project.
    com.sunopsis.core.SnpsNotConsistentSynonymImport: ODI-10013: This import action has been cancelled because it could damage your repository. This is due to an SNP_COL object that has object identifier 13712007 that is greater than that for the current SNP_COL id sequence. Importing this object would lead to primary key violations in the future.
    at com.sunopsis.dwg.DwgObject.doImport(DwgObject.java:6041)
    at com.sunopsis.dwg.DwgObject.doImport(DwgObject.java:5781)
    at com.sunopsis.repository.manager.RepositoryManager.importObjectsUsingDoImport(RepositoryManager.java:5194)
    at com.sunopsis.repository.manager.RepositoryManager.treatObjectListGeneral(RepositoryManager.java:3587)
    at com.sunopsis.repository.manager.RepositoryManager.workRepositoryImport(RepositoryManager.java:4002)
    at com.sunopsis.repository.manager.RepositoryManager.workRepositoryImport(RepositoryManager.java:4174)
    at com.sunopsis.graphical.dialog.SnpsDialogImportWork$1.run(SnpsDialogImportWork.java:519)
    at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:656)
    at java.lang.Thread.run(Thread.java:619)
    Did anyone face this error? What is causing this error? What should be done to resolve this error?
    Edited by: 854415 on Oct 18, 2011 4:51 AM

    Hi
    Did you follow below approch
    Goto Topology> File Menu>Export>Export Master Repository in ZIP format
    File Menu>Export>Export Logical Topology in ZIP format
    In Designer, go to File menu>Export>Export Work Repository in ZIP format
    Quit from old ODI instance
    Login into New ODi instance
    Goto Topology> Import>Import Master Repository in ZIP format (please select INSERT and UPDATE Mode option from dropdown list)
    Import>Import Logical Topology in ZIP format (please select INSERT and UPDATE Mode option from dropdown list)
    In Designer Import>Import Work Repository in ZIP format (please select INSERT and UPDATE Mode option from dropdown list)
    Note: Once it is done please change the Work repository ID on New ODI instance
    Regards,
    Phanikanth

  • Problem in Importing Topology

    Hello,
    I was on Sunopsis v3 and this morning I have installed ODI.
    I keep all my Sunopsis v3 environment and I decide to only install ODI (no upgrade) just for testing difference between the 2.
    When all the installation was done I decide trying to import some of my project to see differences.
    So I began by Exporting my V3 Topology and then I have imported it in ODI but ...
    This import in ODI only gives me the Logical Schema but nothing in the Physical Architecture.
    Moreover after Importing what ODI can, it has created an snpstemp directoy with a lot of XML files (representing Connexion, Agent,... all what ODI didn't import).
    Do you know why the Import Topology didn't work well ? What do I have to do ?
    Thanks for your answers.
    BM

    Hi,
    It is not the good way to do this ...
    You have to dump your repository (on oracle with datapump or exp/imp).
    Reimport it in a new schema/db called ODI_(MASTER and/or WORK). Then run the "master repository upgrade" tool toward this copy of master. When its done connect to upgraded master repository and then with right click on you work repository, run the work upgrade...
    It' s not so complicated.
    And it is stated that the XML export and import between v3 and v10 doesn't work.
    Hope it helps,
    Phil

  • ODI objects import in new Master and Work Repository

    Hi,
    I have created a new master and work repository.
    Now,I need to import rest of the ODI objects which are associated with different Master and Work Repository.
    How do i proceed. I need a proper sequence to import the ODI objects.
    I mean topology,projects,model how to initiate.
    Thanks.

    Hi,
    Is it essential to create a new master and work repository and import the master and work repository xml files.
    Or if we just click on import master repository and give the connection details of where we want it will also work without creating it.
    when I click on new in ODI tool, it shows two options create master repository and import master repository.
    In my case which option should I go for?
    I just need to create development env on new server by importing all the required xml files on my local machine.
    Please guide...
    Thanks.

  • Cannot start ODI Designer & Topology after creating Master repository

    Hi all,
    After creating the master repository in ODI, i cannot open all ODI tools such as Designer, Topology Manager, Security Manager e.t.c. The real problem is the fact that no error message is appeared after giving user name and password.
    Could someone help me?
    regards,
    George V.

    Hi,
    After creating the repositories are you directly logging into the Designer or
    Topology.......
    You need to create a work repository connection for ur Designer and topology.......i think u might have missed this.......
    Is it helpful........
    Thanks
    AK

  • ODI Groovy Script to create an interface

    Hi,
    I'm working on ODI 11.1.16 and trying to create an interface using Groovy Scripts. It throws me an error "java.lang.IllegalArgumentException: DataStore shouldn't be null "
    Below are my assumptions
    Source datastore : Groovy_Source
    Target datastore : Groovy_Trgt
    Context : Global
    Stndrd conn: localhost,1521,orcl
    def file = new File('c:/interfaces.txt')
    def s = 0
    Interfaces.txt contains : TEST1,SOURCE,DUMMY_GROOVY_SOURCE,STAGING,DUMMY_GROOVY_TRGT
    DataSet dataSet = odiInterface.getDataSets().get(0);
    OdiDataStore odiDatastore1 = ((IOdiDataStoreFinder)odiInstance.getTransactionalEntityManager().getFinder(OdiDataStore.class)).findByName(DUMMY_GROOVY_SOURCE,Oracle);
    OdiDataStore targetDatastore = ((IOdiDataStoreFinder)odiInstance.getTransactionalEntityManager().getFinder(OdiDataStore.class)).findByName(DUMMY_GROOVY_TRGT,Oracle);
    It throws an error here any help is appreciated
    Thanks
    VIB

    Hi Michael,
    Below is my entire code.. Picked it up from one of the blogs just trying to fine tune it. Thanks for your reply.
    //Created by ODI Studio
    // Context operators:
    import oracle.odi.domain.topology.OdiContext
    import oracle.odi.domain.topology.finder.IOdiContextFinder
    // Folder operators:
    import oracle.odi.domain.project.OdiFolder
    import oracle.odi.domain.project.finder.IOdiFolderFinder
    // Interface operators:
    import oracle.odi.domain.project.OdiInterface
    // Interface helpers:
    import oracle.odi.interfaces.interactive.support.InteractiveInterfaceHelperWithActions
    import oracle.odi.interfaces.interactive.support.targetkeychoosers.TargetKeyChooserPrimaryKey
    import oracle.odi.interfaces.interactive.support.mapping.automap.AutoMappingComputerLazy
    import oracle.odi.interfaces.interactive.support.mapping.matchpolicy.MappingMatchPolicyLazy
    import oracle.odi.interfaces.interactive.support.actions.InterfaceActionSetTargetDataStore
    import oracle.odi.interfaces.interactive.support.aliascomputers.AliasComputerDoubleChecker
    import oracle.odi.interfaces.interactive.support.clauseimporters.ClauseImporterLazy
    import oracle.odi.interfaces.interactive.support.actions.InterfaceActionAddSourceDataStore
    import oracle.odi.interfaces.interactive.support.actions.InterfaceActionOnTargetDataStoreComputeAutoMapping;
    // Transaction operators:
    import oracle.odi.core.persistence.transaction.support.DefaultTransactionDefinition;
    import oracle.odi.core.persistence.transaction.ITransactionDefinition;
    import oracle.odi.core.persistence.transaction.ITransactionManager;
    import oracle.odi.core.persistence.transaction.ITransactionStatus;
    // Data set:
    import oracle.odi.domain.project.interfaces.DataSet;
    // Data store:
    import oracle.odi.domain.model.OdiDataStore;
    import oracle.odi.domain.model.finder.IOdiDataStoreFinder;
    // Define VARS:
    def project = new String("Test") // What is the target project?
    def folder = new String("Test Subfolder") // Which folder in target project?
    def file = new File('c:/interfaces.txt')
    def s = 0
    // Get default context:
    OdiContext context = ((IOdiContextFinder)odiInstance.getTransactionalEntityManager().getFinder(OdiContext.class)).findDefaultContext();
    // Get Folder:
    Collection odiFolders = ((IOdiFolderFinder)odiInstance.getTransactionalEntityManager().getFinder(OdiFolder.class)).findByName(folder);
    if (odiFolders.size() == 0)
    println("Error: cannot find folder "+folder+" in project "+project)
    OdiFolder odiFolder = (OdiFolder) (odiFolders.toArray()[0]);
    // Print default settings:
    println ("Context used = " + context.getName())
    println ("Folder for interface = " + odiFolder.getName())
    file.eachLine { line ->
    s++
    toks = line.split(",")
    if (toks.length != 5)
    println("Error in input, line: "+s)
    else
    iname = toks[0]
    Oracle = toks[1]
    DUMMY_GROOVT_SOURCE = toks[2]
    Oracle = toks[3]
    DUMMY_GROOVY_TRGT = toks[4]
    // Transactie:
    ITransactionDefinition txnDef = new DefaultTransactionDefinition()
    ITransactionManager tm = odiInstance.getTransactionManager()
    ITransactionStatus txnStatus = tm.getTransaction(txnDef)
    OdiInterface odiInterface = new OdiInterface(odiFolder, iname, context);
    InteractiveInterfaceHelperWithActions interactiveHelper = new InteractiveInterfaceHelperWithActions(odiInterface, odiInstance, odiInstance.getTransactionalEntityManager());
    DataSet dataSet = odiInterface.getDataSets().get(0);
    OdiDataStore odiDatastore1 = ((IOdiDataStoreFinder)odiInstance.getTransactionalEntityManager().getFinder(OdiDataStore.class)).findByName("DUMMY_GROOVY_SOURCE", Oracle);
    OdiDataStore targetDatastore = ((IOdiDataStoreFinder)odiInstance.getTransactionalEntityManager().getFinder(OdiDataStore.class)).findByName("DUMMY_GROOVY_TRGT", Oracle);
    interactiveHelper.performAction(new InterfaceActionAddSourceDataStore(odiDatastore1, dataSet, new AliasComputerDoubleChecker(), new ClauseImporterLazy(), new AutoMappingComputerLazy()));
    interactiveHelper.performAction(new InterfaceActionSetTargetDataStore(targetDatastore, new MappingMatchPolicyLazy(), new AutoMappingComputerLazy(), new AutoMappingComputerLazy(), new TargetKeyChooserPrimaryKey()));
    interactiveHelper.performAction(new InterfaceActionOnTargetDataStoreComputeAutoMapping())
    interactiveHelper.computeSourceSets()
    interactiveHelper.preparePersist()
    tm.commit(txnStatus)
    Edited by: VIB on Feb 18, 2013 10:46 AM

  • Repository management in ODI

    Hi..Experts..
    I have also another question. plz help me.
    Q- should we create a separate Master Repository for Production in ODI?
    Suppose 1st time we imported Master repository,Work Repository of Development to Production.Now if after 5 months we need to import few new projects to Production,then how will we import the connection details from Development topology to Production topology.?? Should we create manually all the new connection in Production topology??
    Please give suggestion to find out the answer..
    Regards
    Soumya..

    Second time when i will import the development topology in to production topology, is it going to override the existing topology in production or it will import only the newly created connections in development topology. If its going to over ride topology, then it will be problem. Suppose someone has changed one existing logical schema or removed one logical schema from development then after importing to production it will update the details in production and few production map get fail. How to over come it ?
    Please help.
    Thanks

  • How to import TRT_Send_Jython_HTML_Email

    Hi,
    Iam trying to send emails from odi using TRT_Send_Jython_HTML_Email procedure.
    I have downloaded it from oracle site and how to get that one into odi.
    Iam trying to do import into odi by right clicking on the procedure and import procedure and i specified directory where file resides , but i am not finding this file.When we export/import from odi it only looks for xml files and this .zippy file.Not entirely sure how to to get this import done.any ideas here..
    cheers

    If its a .zippy file, then rename it to .zip file and then extract the xml out of that file and then import that file into ODI

  • ODI - Multi development environment how to share the JAR files

    Hi,
    For some of our functionality, existing KM not sufficient so we created with our own KM and we have called some jave code which we created and place inside lib directory of ODI as a JAR file. there are four people in the development work. so we have four development environment(all are complete installation, i.e while installing we choosing Complete Option).
    One of our developer created the our own KM and he placed the jar file in his own Dev environment's lib Directory. Since four Dev environment shares the some work rep we could see the new KM and all the ODI object in all the dev env. but if we run the the ODI interface which use the new KM from other Dev environment where we dint place the jar we are getting Error.
    if we keep the jar file in all the other three Dev environment's LIB directory then respective interface working.
    here my doubt,   is there any other way to share the JAR file to all the Environment without copying into everywhere?
    Thanks
    Knidhi

    Thanks you verymuch Cezar and Ratish, now almost i got the answer for my question.
    i installed ODI Server into separate machine. it has folder structure as follows
    Directory: D:/ODIServer/oracledi/ has the following subfolder
    1.bin 2.drivers 3.lib 4.tools.
    here i need to keep my Jar files under the lib folder. am i right?
    and bin directory contains only Agent related batch files. (agent.bat, agentscheduler.bat,agentservice.bat,agentstop.bat,agentstart.bat,agentweb.bat and jython.bat and respective .sh files)
    here dont know how to precede the following things
    1. how to configure the Master and Work Repository information with ODI Server?(MR and WR i already created with the help of one the ODI Client)
    2. how to configure the Client machine to Server?
    3. Since ODI Server not having the Topology, how to create the Agent? do i need to use any one of the ODI Client for this task?
    --Thanks
    Knidhi

  • 'Java mail'  thru procedure in ODI

    hi all,
    I want to write a java mail application thru ODI procedure.
    will i have to import the jar files to the ODI or it automatically includes?
    plz reply thanks in advance..

    Hi Mr Bouch
    thanks a lot .. I'm a step before the final output.
    now getting error
    java.lang.Exception: Oracle Data Integrator Function does not exist
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt
         Internal     DEMO_CONTEXT     jar:file:/C:/Program%20Files/Oracle/oracledi/lib/sunopsis.zip!/com/sunopsis/graphical/gif/state/error.gif     2007-05-05 14:06:36.0     2007-05-05 14:06:36.0     0.0     7000
    wold u plz suggest agian?
    sanal

  • Generic testing Strategy in ODI

    Can somebody help me with any document related to generic testing strategy in ODI?

    Hi ,
    ODI provide the option to export / import ODI object in form of XML file. So , You can partial export some object that you want then import to the production env. As my exp , Sometime it has some issue about internal object ID link that make a ruin to the repository on the production. Because all the object in ODI was linked together with "Internal ID" that related between object.
    With this method , you cannot track what's the different between prod and dev environment until you create a version of that object and use compare version utilty in designer.
    Hope this help ,
    Somchai

  • Best migration strategy in ODI

    What's the best strategy of migration in ODI ? I mean we have Dev,Test, UA and Production instances. I know there are metalink notes and some documentation on migration but I need to know the potential issues with migration if anyone has experienced. We may not migrate whole development to Test but migrate partially as some objects might be still under development before moving to test and in such scenario, how do we keep track between instances ? I appreciate if some one can throw some light on this who has experienced with different scenarios of migrating objects in ODI and ofcourse the best strategy of the migration process...
    Thanks in advance.
    Ram

    Hi ,
    ODI provide the option to export / import ODI object in form of XML file. So , You can partial export some object that you want then import to the production env. As my exp , Sometime it has some issue about internal object ID link that make a ruin to the repository on the production. Because all the object in ODI was linked together with "Internal ID" that related between object.
    With this method , you cannot track what's the different between prod and dev environment until you create a version of that object and use compare version utilty in designer.
    Hope this help ,
    Somchai

  • ODI-17554 Agent "OracleDIAgent" does not exist

    Hi,
    I am getting this exception while invoking the odi scenario , The test of the ODI Agent is successful on topology->Agent
    Regards,
    Uday

    Can you let me know which ODI scenerio you are invoking.
    Is ur Weblogic server has started ? as well as the Managed server ?
    Then only the OracleDIAgent of J2EE agent can test Successfull.
    let me know which agent (Standalone agent or J2EE agent got successfull) is success in topology.

  • Unable to run Groovy scripts within procedure

    Hi all,
    We are managing to automate objects promotion to PROD environment using Groovy. The thing is that we are able to run the script in the Groovy tool successfully, but we are not able to run the same script within a procedure in ODI. The version that we are using is 11.1.1.6.5.
    Do you know if this needs further configuration? Does it needs any updgrade?
    Below, the script we are currently using, it´s just to create a new physical and logical architecture on the topology tab and write an entry on the context to link logical to physical. Any help would be highly appreciated. Thanks.
    Fernando.
    import oracle.odi.core.persistence.transaction.support.DefaultTransactionDefinition;
    import oracle.odi.domain.util.ObfuscatedString;
    import oracle.odi.domain.model.OdiModel;
    import oracle.odi.domain.topology.OdiLogicalSchema;
    import oracle.odi.domain.topology.OdiPhysicalSchema;
    import oracle.odi.domain.topology.OdiDataServer;
    import oracle.odi.domain.topology.OdiContext;
    import oracle.odi.domain.topology.OdiTechnology;
    import oracle.odi.domain.topology.OdiContextualSchemaMapping;
    import oracle.odi.domain.topology.AbstractOdiDataServer;
    import oracle.odi.domain.topology.finder.IOdiContextFinder;
    import oracle.odi.domain.topology.finder.IOdiTechnologyFinder;
    def createLogicalSchema(contextCode, techCode, schName, dataserverName, userName, password, url, driver, schema) {
    txnDef = new DefaultTransactionDefinition();
    tm = odiInstance.getTransactionManager()
    txnStatus = tm.getTransaction(txnDef)
    contextFinder = (IOdiContextFinder) odiInstance.getTransactionalEntityManager().getFinder(OdiContext.class);
    context = contextFinder.findByCode(contextCode);
    techFinder = (IOdiTechnologyFinder) odiInstance.getTransactionalEntityManager().getFinder(OdiTechnology.class);
    tech = techFinder.findByCode(techCode);
    lschema = new OdiLogicalSchema(tech, schName)
    dserver = new OdiDataServer(tech, dataserverName)
    con = new AbstractOdiDataServer.JdbcSettings(url, driver)
    dserver.setConnectionSettings(con)
    dserver.setUsername(userName)
    dserver.setPassword(password)
    pschema = new OdiPhysicalSchema(dserver)
    pschema.setSchemaName(schema)
    pschema.setWorkSchemaName(schema)
    cschema = new OdiContextualSchemaMapping(context, lschema, pschema)
    odiInstance.getTransactionalEntityManager().persist(lschema)
    odiInstance.getTransactionalEntityManager().persist(dserver)
    tm.commit(txnStatus)
    return lschema
    lschema = createLogicalSchema("DEVELOPMENT", "ORACLE", "LS_HAL_TEST", "DS_HAL_TEST", "ODI_TEST", ObfuscatedString.obfuscate("odi_test"),
    "jdbc:oracle:thin:@ourservername:10710:DBAA6T", "oracle.jdbc.OracleDriver", "ODI_TEST")
    Notice i've changed the actual name of our server for "ourservername" because I don't know if I´m able to post that information.
    Thanks.

    Hi,
    I did try to hard code the parameters values, and it still didn't work. However, I did get a little bit closer, I found out that it doesn't work only whne my stored procedure uses a temporary table.
    Any though, why the temporary table would cause this error ?
    Thanks

Maybe you are looking for

  • Download movies to Apple TV's 160GB HDD

    Hello, Newbie here. I just got the old Apple TV with the 160GB Hard Drive.  I wanted to figure out how to sign in to iTunes on the Apple TV and start downloading all the Movies I've already bought on iTunes, but I can't figure it out.  I prefer to ha

  • Changing file type when syncing to iPhone?

    Hello, is there a way to change the music file type when syncing my computer with my iPhone? I would like to store music on my compter as Apple Lossless, but then sync it as AAC to the iPhone. Under the iTunes 10.5.3 Advanced tab, I see that I can se

  • How to display a button in every row in a report page

    I am new to HTML DB.I created an application based on an existing table. In the report page I want to include a button in every row that is returned. Can anyone suggest as to how this needs to be done. Thanks, Srini.

  • How to write HTML code in Web Template for selection screen

    Hello All, Is it possible to write a html code in the web template html tag so that the output of the html is displayed in the selection screen, i.e before the execution of query. I know that we can write html, which will be displayed once the query

  • Syntax for inserting a single field

    hai   can u please tell me what is the syntax for inserting a single field in ztable. Regards, N.selvamuthukumar.