Reverse Engineer Models Using DB Links ?
Hi,
I have tables that reside in database A.
I can access those tables from Database B using db link.
Is it possible to reverse engineer the tables belonging to database A in a model. If yes How?
Please reply.
Urgent Requirement
Regards,
Prerna
Hi Prerna Vij,
Yes you will.
- In topology, create a physical schema in your dataserver B. Put the name of the source schema on A and enter the dblink name you want to use.
- Create a logical schema and map it to the physical schema through contexts
- In Designer, create a new model using the logical schema you just created and build all the datastore manually
- Use these datastore as source in your interfaces and choose LKM Oracle to Oracle (DBLINK)
Hope it helps.
Regards,
Jerome
Similar Messages
-
Reversal Process Model using PUOCBA
Hi Guys,
There is a requirement in our Co. to set up a reversal process model using PUOCBA.
As far as i know, it is a pretty standard process and we need to copy standard process model SAPUSOCV and create our own and use the same in PUOCBA selecting the reversal option.
I am doing my every steps correctly, but some how in table T52OCG the Processing type field is not converted to 'V' which is necessay for reversal and it does not allow me to do reversal.
Kindly brief me on the same , if you have face the same kind of problem or have worked on it.
Regards,
Ketal Parikh.
1-847-330-4127Hi Jim,
So this is my understanding. You have two different sequence files that are run for two different Test Environments. These two environments uses two different data structures to perform some initialization on two different instruments.
The best way to do so without any modification to the sequential process model is to create Sequence File Globals. So lets say that you have test sequence 1 and test Sequence 2. The two data structures will be DataStruct 1 and DataStruct 2. So open your Test sequence 1 in the sequence editor. From the "View" drop down box on the sequence editor, select "Sequence File Types" and create your DataStruct 1 here. Similarly do that same for Test Sequence 2, create DataStruct2.
Now use the ProcessSetup and ProcessCleanup callback. Again you shouldn't modify your process model. Go to Edit Menu >> Sequence File Callbacks. Select your callbacks and click add. This will automatically add your callbacks to your Test Sequence files. Now you can add the code relevant to your instruments here and you have access to your datastructure as well. The beauty with callbacks is, you can override the ones in your process model by the ones in your sequence files. This is automatically done, when you place the callback in your sequence file. Now we have accomplished what you wanted to do without a single modification to your process model.
I hope this helps
Sijin Karayil
National Instruments -
Can SQL Dev Data Modeler be used to reverse engineer Windchill PDMLink
Does anyone know if SQL Developer Data Modeler be used to reverse engineer Windchill PDMLink Oracle database? I need to get the DDL and ERDs from Windchill PDMLink.
Can SQL Developer Data Modeler be used to reverse engineer object oriented Oracle databases?SQL Developer Data Modeler be used to reverse engineer Windchill PDMLink Oracle databaseprobably you mean Windchill PDMLink tables in Oracle database - yes, it's possible to get the structure of tables.
Can SQL Developer Data Modeler be used to reverse engineer object oriented Oracle databases?It's not clear for me - you can reverse engineer definition of object and collection types, definitions of tables and views including those that use object and collection types in their definition.
You can try it.
Philip -
Hi,
My source & Target are both Oracle DB. I have a DB Link from my Target DB to Source DB to access the Data.
I created 2 Data Servers in my Topology. In my Source Data Server I gave the DB link name against the ‘instance/dB Link ‘.
When I reverse Engineered the from Designer I expect the Source objects in my Source Data server, but, I am getting the target structures only. Can anyone please tell me how do I get my source structures in to the model using the DB link?
Thanks in AdvanceHi,
I think the problem you might have, is that to reverse engineer, the user needs access to ALL_TABLES, ALL_TAB_COMMENTS and ALL_PART_TABLES etc on the remote. Users only normally have select access to the tables on the remote so that could be an issue.
As I mentioned before, the use of the DBLINK/Instance is for LKM Oracle to Oracle (DBLINK) knowledge module. You could start amending the RKM to use the DB Link, but then you will still face the issue above, that the user will not have the correct privileges to the system tables to get the metadata.
If you cannot create the jdbc connection directly to both the source and target via ODI, then you have a problem.
One possible way, is to create views in server B of the tables in server A and reverse engineer those and then move them to the correct model and change the type to table, or you could just leave them as views in the target db, as that's basically what the LKM Oracle to Oracle (DBLINK) does. Have a look at the code for the LKM.
Cheers
Bos -
Reverse Engineer in models doesnt give the right structure from Essbase
Hi,
I have created Hyperion essbase(source)/Oracle(target) Data sources,Physical Schemas,Logical Scemas and have linked them with the context.
When I create a model - I hadTechnology as Essbaseand the right physical schema -
In the reverse engineer tab, I have correctly selected RKM Hyperion Essbase,Types pf objects is table.I had set True to multipls columns and had given the data column as Accounts - and the data column members as "Sales","Cogs"
Now when I reverse engineer, I assumed the columns should be populated as (dim1,dim2,Sales,Cogs) - But what i get is (dim1,dim2,Account,Sales,Cogs,Data) - The account member and data also comes along in the column. Any idea where i am missing out this?
Eventually when i execute the interface, I am ending up in an error "com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException: Invalid column in the source"
Please share your thoughts...
Leo jose.Hi,
Please ignore, it is just that when a model is reverse engineered, it is having the old in memory and the new changes made in the model is getting appended along with the old dimension information creating some confusion.just did it with a different application and is giving desired results.I asked and I answered :) -
I was trying to reverse engineer database information into a data model diagram in visio 2000.
I received the following error :
Encountered a fatal error during reverse engineer of information from database
My Database version is
Oracle9i Enterprise Edition 9.2.0.5.0 64bit
Is it true that Visio does not support Oracle 9i (as I was told) ? If so, is there any freeware on internet where I can do the same (reverse engineer)
ThanksYou can use most any ERD product to reverse engineer an existing system: oracle designer, ERWin ,ER/Studio, etc....
But it is likely to be a very manual process.
If the application does not make use of database defined FK, UK, and PK then you will likely be forced into reading source and/or running traces on application processes to follow the DML.
HTH -- Mark D Powell -- -
Modeling database have reverse engineer functionality ?
whether can use Jdeveloer10g Modeling database functionality to reverse the online table schema from Oracle database ?
Hi,
Yes there are two methods of reverse engineering tables.
The first is with your project selected in the Navigator go to File | New, go to the following node by expanding the tree in the New Gallery dialog 'Database Tier -> Offline Database Objects'. Now select the 'Offline Database Objects Imported from Database' and press OK, this will now invoke a wizard which will take you through the rest of the steps to import the tables.
The second method is create a connection in JDeveloper to your schema, with your project selected in the Navigator go to File | New, go to the following node by expanding the tree in the New Gallery dialog 'Database Tier -> Offline Database Objects'. Now select 'Database Diagram'. Enter a name for the diagram and press OK. A new blank diagram will now be created. You can now expand your schema in the Connections Navigator and multi-select the tables you want to reverse engineer, you can then just drag and drop these from the Navigator onto the diagram.
Thanks,
Lisa Sherriff
JDeveloper QA -
Reverse engineer using DBMS_METADATA
Hi,
Can I use DBMS_METADATA package to reverse engineer a scheduled job from the database. I tried running below statement but it only returns the first job no matter what I do:
select JOB,WHAT,dbms_metadata.get_ddl('JOB',USER) FROM DBA_JOBS
I even used a where clause to make sure that I am using a specific job but the output remains same I mean I get statement generated only for first job.
Any thought?
OnkarSolomon Yakobson wrote:
Gokhan Atil wrote:
You may try to use DBMS_JOB.USER_EXPORT:I don't believe DBMS_JOB.USER_EXPORT is available in 9i.
SY.Tested or guessing? Anyway, you can believe that it's available:
BANNER
Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
PL/SQL Release 9.2.0.8.0 - Production
CORE 9.2.0.8.0 Production
TNS for Solaris: Version 9.2.0.8.0 - Production
NLSRTL Version 9.2.0.8.0 - Production
FUNCTION BACKGROUND_PROCESS RETURNS BOOLEAN
PROCEDURE BROKEN
Argument Name Type In/Out Default?
JOB BINARY_INTEGER IN
BROKEN BOOLEAN IN
NEXT_DATE DATE IN DEFAULT
PROCEDURE CHANGE
Argument Name Type In/Out Default?
JOB BINARY_INTEGER IN
WHAT VARCHAR2 IN
NEXT_DATE DATE IN
INTERVAL VARCHAR2 IN
INSTANCE BINARY_INTEGER IN DEFAULT
FORCE BOOLEAN IN DEFAULT
PROCEDURE INSTANCE
Argument Name Type In/Out Default?
JOB BINARY_INTEGER IN
INSTANCE BINARY_INTEGER IN
FORCE BOOLEAN IN DEFAULT
PROCEDURE INTERVAL
Argument Name Type In/Out Default?
JOB BINARY_INTEGER IN
INTERVAL VARCHAR2 IN
FUNCTION IS_JOBQ RETURNS BOOLEAN
PROCEDURE ISUBMIT
Argument Name Type In/Out Default?
JOB BINARY_INTEGER IN
WHAT VARCHAR2 IN
NEXT_DATE DATE IN
INTERVAL VARCHAR2 IN DEFAULT
NO_PARSE BOOLEAN IN DEFAULT
PROCEDURE NEXT_DATE
Argument Name Type In/Out Default?
JOB BINARY_INTEGER IN
NEXT_DATE DATE IN
PROCEDURE REMOVE
Argument Name Type In/Out Default?
JOB BINARY_INTEGER IN
PROCEDURE RUN
Argument Name Type In/Out Default?
JOB BINARY_INTEGER IN
FORCE BOOLEAN IN DEFAULT
PROCEDURE SUBMIT
Argument Name Type In/Out Default?
JOB BINARY_INTEGER OUT
WHAT VARCHAR2 IN
NEXT_DATE DATE IN DEFAULT
INTERVAL VARCHAR2 IN DEFAULT
NO_PARSE BOOLEAN IN DEFAULT
INSTANCE BINARY_INTEGER IN DEFAULT
FORCE BOOLEAN IN DEFAULT
PROCEDURE USER_EXPORT
Argument Name Type In/Out Default?
JOB BINARY_INTEGER IN
MYCALL VARCHAR2 IN/OUT
PROCEDURE USER_EXPORT
Argument Name Type In/Out Default?
JOB BINARY_INTEGER IN
MYCALL VARCHAR2 IN/OUT
MYINST VARCHAR2 IN/OUT
PROCEDURE WHAT
Argument Name Type In/Out Default?
JOB BINARY_INTEGER IN
WHAT VARCHAR2 INRegards
Gokhan -
Using Rational Rose to reverse engineer
Hi,
I am trying to reverse engineer the already existing code (it is an framework ) that our company is following. Any help in this direction will be really helpful.
What will be the starting point to do that.Your postgresqldriver is missing ( in userlib/agent folder) - Could not load JDBC driver class .
Similar issue for SQL Server - Unable to connect to SQL Server 2005 using ODI 11 g -
Reverse-Engineer Java Code using JDeveloper
Hi,
Is it possible to reverse-engineer java code and produce class diagrams in JDeveloper? If so , how?
I have JDeveloper 10g.
ThanksYes you can.
Just open the java classes in a JDeveloper project, create a new class diagram and drag the classes onto the empty diagram. -
Not able to see executions in operator - Reverse engineer problem
Hi All,
I´m starting a new project, this is the situation. I've created the agent (physical and logical), it's running as a service (OPMN instance). When I execute the test, "Agent test Successfull". So I guess that is not the problem.
I'm creating a new model, I've already created the Data server (SQL server), connection test is Ok, I've also created the physical and Logical Schema. The problem is after creating a new model, when I select reverse engineer option, everything looks like that data is being correctly retrieve, however data do not appear in the model. When I go to the operator to check the log, nothing is there. Any idea?
Thanks in advance,
Gonzalo.->
The problem is after creating a new model, when I select reverse engineer option, everything looks like that data is being correctly retrieve, however data do not appear in the model. When I go to the operator to check the log, nothing is there. Any idea?
>
Do you mean to to say that uou are not finding any infor about the reverse engineering process in Operator ?
If yes then please note Standard reverse engineering does not list down the operation performed in Operator.
If you are using some RKM then only it will display the steps performed in Operator -
Enquiry: Any tool to reverse engineer an existing db schema in Oracle 8i
Dear All,
Do you know whether Oracle SQL Developer Data Modeler (3.1.1.703) supports Oracle 8i? If not, is there any tool that can be used to reverse engineer an existing database schema in Oracle 8i?
Your early reply is appreciated.
Thanks a lot.
LAWRENCE CHOWThat's a pity. The initial version of Data Modeler used to support import from Oracle 8i.
You could try setting up an ODBC connection to your database and using the JDBC tab (rather than the Oracle tab) when entering the Connection details into Data Modeler.
Alternatively, if you can get hold of an earlier version of Data Modeler (e.g. version 3.0 or earlier), you could try this (and if it works you could then upgrade your model to the current version).
David -
Reverse engineer issues in ODI 11g
Hello gurus,
We are testing ODI upgrade and we have an issue while reversing a data model.Its an existing sql server table and in ODI when we click on the reverse engineer ODI datastore doesnt sync with sql server DB table.
Please help ?
Thanks,
Mastan.Thank you so much for your reply....Yes thats exactly right it is not considering the deleted columns....when i try to remove the the data store it gives me an error saying
"object column : workflow_activity_identifier is referenced by: Txt CrossRef : 12142111, Txt CrossRef : 20617111
Cannot remove"
i think i have to edit my interfaces which is using the data store ? is there any way i can know how many interfaces are using this data store?
Thanks for your help. -
ODI - Java Error when trying to reverse engineer - Hyperion Planning
Hi,
I am receiving the error below when I am attempting reverse engineer the emission members into the models tab in the ODI Designer. In topology manager I get connection successful in both Synopsis memory engine and in File technology and I have checked all my settings and everything looks correct compared to the test environment. We are actually testing the Production install with a very simple Hyperion Planning dimension build. Does anyone have any ideas why I am receiving the error below.
Thank you in advance for the help!!
org.apache.bsf.BSFException: exception from Jython:
Traceback (innermost last):
File "<string>", line 1, in ?
ImportError: no module named java
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.i(e.java)
at com.sunopsis.dwg.cmd.g.y(g.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Unknown Source)Hi,
It looks as though we got it to work. However the way we got it to work is a bit confusing. We had someone just login and try it. The only difference is they used the admin username instead of the one we were using. They successfully ran the reverse. Then we re-logged in with the other username we were using before and it worked.
I just realized however before they did that, I was on the Prod server trying to open and view the odiparams.bat file. I accidentally ran the file by choosing 'open' instead of 'edit'. Thus I'm thinking that running that odiparams.bat file actually fixed the issue rather than logging in with admin account.
What would your professional opinion be on this as we can't recreate the issue and figure out which one fixed it.
Thanks, -
EBS reverse engineer table/view names
In SQL developer I connected to EBS and created some hierarchies from these tables - fnd_flex_value_hierarchies, fnd_flex_values_tl,FND_FLEX_VALUE_CHILDREN_V
Now I am using the trying to reverse engineer in ODI using the EBS knowledge module, but I can't find these tables.
...I was told by an EBS person I should be using the above tables to build my account hierarchy...is this correct? Or are there other tables I should be using?
Thank you,
JzHi Frank,
I assume you imported your Table definitions from a DDL file.
Column datatypes appear in dialogs in the way you have described if Domains are set up during the import and the Columns are associated with these Domains.
You can change this by opening the Preferences dialog (select Preferences from the Tools menu) and selecting Data Modeler/DDL in the tree.
On the Data Modeler/DDL page of the Preferences you should unset the option "Create Domains During Import".
David
Maybe you are looking for
-
I am trying to setup Family Sharing on IOS8. When I get to the share purchases screen and hit continue I get a box that comes up that says "Invalid Account" "You cannot use this account to share purchases because its disabled"... Does this have to do
-
[2013-06-12 21:52:15,554 IST] [INFO ] [.kernel.Default (self-tuning)'] [fatwire.logging.cs.install] READURL successful ReadURL for element OpenMarket/Xcelerate/Installation/AddACL?name=xceleditor&command=addacl&COMMANDNAME=READURL&USERNAME=ContentSer
-
No function with name 'F_ITEMCHECK' exists in this scope
Hi i have a error: SQL> Declare 2 Cursor stk_val is 3 Select prod_code,prod_desc, bal_Stock from prod_tran; 4 mProd_code prod_tran.prod_Code%type; 5 mProd_desc prod_tran.prod_desc%type; 6 mProd_qty prod_tran.prod_qty%type; 7 valexits integer; 8 bal_s
-
Entity remote in clustered http session ?
we put a entity remote object into a http session which is replicated across a cluster of 3 linux machines ( each with 1 weblogic 6.1 SP2). http session replication works fine: the entity is accessible on every
-
Hii Gurus!! Can anyone give me the report for ABAP programs, which has been fired in last one month. This is an urgent requirement of my client. points will be rewarded. kapil