Import Oracle Designer model dependencies between objects
Hello,
I am using the Oracle Designer model import to fill Data Modeler. There are some views which have dependencies on each other, resulting that views which depend on other views are incomplete.
Is there a way to rerun the import again in the same relational model, since the import utility now opens a new relational model again.
Is there a kind of logging where you can find these kind of errors?
Best regards,
Joop
Thanks Phillip, but I was actually referring to the version level of the Designer repository itself, not the database instance in which it resides. I seem to remember that you could not upgrade your Designer repository without also upgrading the Oracle Designer client as well; hence my question about compatibility between SQL Developer Data Modeler and various Repository versions.
Similar Messages
-
Hello,
I have a client who maintains their data model in an old Oracle Designer 6.0 model repository. I would like to help them migrate from this very old data model to SQL Developer Data Modeler, if possible. With what versions of Oracle Designer repository is SQL Developer Data Modeler compatible with for model import?
Thanks in advance.Thanks Phillip, but I was actually referring to the version level of the Designer repository itself, not the database instance in which it resides. I seem to remember that you could not upgrade your Designer repository without also upgrading the Oracle Designer client as well; hence my question about compatibility between SQL Developer Data Modeler and various Repository versions.
-
Importing and Oracle Designer Model
Hi,
Is the "Importing an Oracle Designer Model" functionality enabled ? I seem to be able to test the connection (successful) but the next screen "Selct WorkArea" doesn't seem to be working?
-TomYour right!!
build 525 has a problem with importing Designer. A Bug has been generated. and it is internal.
The earlier build works. -
PowerDesigner doesn't respect dependencies between objects when generating script
Good afternoon,
I'm getting very frustrated trying to do something that should be 'by default' or easy to configure within PowerDesigner 16.5 working with a SQL Server 2008 R2 database.
I reverse-engineered a database into a physical model for modifications and I want to generate DDL from the physical model. I've worked around some issues including how to support SQL Server filtered indexes and a few others things.
However a really stupid think that I have not been able to figure out is how to have the script respect dependencies between objects in the model. When looking at the model at the Dependencies table the dependencies seem to be in place correctly. But when I choose the 'Generate Database...' menu item to generate a single script to create all of the objects within a database it does create them all but in alphabetical order which does not work because there are dependencies between objects (views, in particular) that requires specific views to be created in a different order depending on their dependencies.
Most tools understand the dependencies and create a script that will work.
How can I generate a database script from PowerDesigner that respects the dependencies between the objects (in this case between different databse views) so they get scripted out in the correct order.
Thanks much,
DonI figured this out via the use of 'Traceability Links' within the View Properties.
Let me tell you... the only way to set these is to create a diagram and visually link things together because working through the grid on the property pages to select additional Linked Objects is just incredibly slow and painful. You should be able to just free-text enter Linked Object names (with the model validating them) without having to traverse the model to individually select each object. I had a lot of dependencies and it took several hours to incorporate them all.
I'm also disappointed that the reverse-engineering of a SQL Server database into a physical model doesn't use the sysdepends data to create 'Traceability Links' to associate dependencies between views, stored procedures, etc. That would have saved me a lot of work.
I know that PowerDesigner is a 'generic' product that works with several databases... but being a person that only works with a particular database (in my case SQL Server) the lack of out of the box support (filtered index reverse engineering is an example that quickly comes to mind) is frustrating. -
Design question: Communication between objects
Hi all,
Just interested in some opinions from your experience. If you have two components, say two GUI components which are repesented by two separate classes, and you need to have these classes communicate in a relatively small way, how would you do it?
What I've done is passed a reference of the second object to the first.
I guess I'm wondering whether this would be considered a reasonable design, or should there be some in-between class which manages the communication between objects.
For a more concrete example: I have a main class (with my main() )which is a JFrame, and this frame has a split panel. I want the left and right sides to communicate with each other. Should I handle the communication through my main class, or should I "couple" the two classes upon initialization and let them do their communication independent of the my main class?
Thanks for any opinions or comments.>
When the user selects a node on the JTree, I want to
populate a particular ComboBox on the right based on
what the user selected in the tree. Or I may just
re-initialize the entire right component based on the
selected node on the JTree.
I guess I was wondering whether I should "marry" the
JTree and the JPanel class, and let them do their
communicating when needed, or whether I should manage
the communucations through the JFrame class.
For example, say I use the JFrame as a "message
manager". The JFrame class will listen for events
from the JTree on the left side, and then send the
appropriate information to the right side. This way
the JTree class and the JPanel class would have no
knowledge of each other. They are glued together
through my JFrame.
Thanks for your opinions.
Then you must register a selection listener with the JTree with addTreeSelectionListener this listener has a reference to the combo. The listener can be a new class (inner class or anonymous) used only for this purpose.
Bye. -
Importing Oracle Designer Processes into BPEL Designer
Hello,
We have several business processes defined and documented in Oracle Designer 10G , we were looking for a way to import these brocesses into Oracle BPEL. Is there any utility /tool to do this?
Thank you.
Syed AhmadI think your problem is caused by the fact you do not have a TEMP directory on your C: drive.
Windows NT has a temp directory under the drive C:\ but Windows 2000 doesn't.
The import creates a parameter file for the import in the Temp directory.
Hope this helps,
Didier -
Error trying to import Oracle Designer
Hi,
Any ideas on how to solve the error:
NoSuchMethodError:
oracle.18n.text.converter.CharacterConverterOGS.getInstance(I)Loracle/i8n/text/converter/CharacterConverter;
I get when trying to establish a connect to Oracle Designer (10.1.26) to export existing models.
Thanks,
ScottHi Scott,
If you get this problem again, please take a look at the message
Error when testing database connection
David -
SQL Developer Data Modeling - import from Oracle Designer Model
Hi,
I do want to try to import model from a Designer repository.
The first step is to create connection to the repository (9i version).
I have created the one, however any attempt to test the connection or to go to the next step simply finishes with error "4", without any valueable message.
Any idea or suggestion ?
Thanx.A clarification of the Data Modeling feedback application and this forum. The developers are part of the SQL Developer development team, but as for all our features, each developer has a focus area, so the Data Modeling developers will tend to answer those questions. There will not be a separate Data Modeling forum, so once we're production all SQL Developer Data Modeling questions will be on this forum. We want to encourage all users to get into the habit of tagging posts. Having the posts tagged means that users can skip them if they're not their focus area and users can search using the tags. The more tags are used in all the forums the better. You may well find find the answers to your questions are outside this forum!
As SQL Developer Data Modeling in in its first early adopter phase, we have provide a feedback application, where users can provide feedback, log bugs and ask questions. We did the same for SQL Developer before it's initial production release and found this to be very useful for the product.
I'm happy for "How To" questions to be on this forum, as the answers benefit the broader community.
Sue Harper -
Mapping dependencies between objects
I'm querying a database to obtain information from 10 tables. The goal is to display the information on a JSF based portlet using a tree-view, where an user can use the tree interface to drill to desired level of detailed information. The interface may need to show 3/4 different tree-views of the same data set.
To begin with, I'm doing a join across those tables and load a hash (representing the first hierarchy in the tree) with multiple levels to represent the tree-view or the dependency between various parameters. If there are 3 views required, I'm thinking about building 3 such hashes - where the elements in the hash will probabaly be derived from a TreeNode class to build the gui. Since all the views refer to the same underlying data model, each node of the Hash will actually refer to some object that stores the model data.
I have two questions:
* Currently I'm building the hash by parsing the ResultSet obtained from query; Is there a better way to do this? I thought about using O/R mappers; but I couldn't think of an elegant solution to load the collections from a query to represent the dependencies dictated by the view.
* Is there a better way to design the query?
I would really appreciate any comments.Thanks for the suggestions. I have a generic class for building a tree-view - and that uses recursion. However, that doesn't need to know about the parent-child relationship. I was thinking of parsing the db query result and store the parent child relationship in a nested hash. My generic Tree class implementation would know to take this nested hash and build the tree. Essentially an instantiation of the generic class or it's extended version would act as a backing bean for a JSF component.
Anyway, I'll try to focus more on a Hibernate based approach as you guys hinted. I'll wait for Dave's feedback. Actually, I have his book on the portlet API. -
Import Oracle BPA model (EPC) to Oracle BPM 11G
Hi,
I have my business process modeled using Oracle BPA product (EPC format). Now I need to import this model into Oracle BPM 11G which uses BPMN 2.0 format. Does any of the softwares provide a way to transform EPC models to BPMN 2.0 format.
These are the some of the approaches that I tried to perform the conversion:
1. Use share blueprint option for EPC model
Issue with this approach: The model imorted in jdeveloper is not BPMN 2.0 format, It is .xpdl file
2. Installed tutor macros on Oracle BPA, however this macro is enabled only for BPMN 2.0 process models, not for collobration models. Recreating the entire model as BPMN 2.0 Process model (I don't prefer this approach since this include manual conversion of the models from EPC) also does not work.
Issue with this approach: After importing model in OBPM is all activities appear as human task, new human task is created for start and stop activities along with start and stop events.
3. Use share blueprint option in Oracle BPA, this works only for BPMN 1.0 formats.
Issue with this approach: The SOA -> share blueprint option is not enabled for BPMN 2.0 type models
Ideal solution for me would be if there is a way to import the models created in EPC format into oracle BPM 11g without recreating the models manually. Can anyone help me with this?Hi,
Actually it's tool couldn't help you resolve your tasks.
It hasn't options "share blueprint" for BPMN 2.0 type models.
And I don't know software which can transform EPC model to BPMN 2.0 model... -
Hi Folks,
My client has asked me to move from one db to another. (I don't know why, may be they are restructuring). Now the problem is that there are many stored procedures, functions and tables which I have created and also using somewhere. Now for moving these objects
I have to do manual checks on each of my procedure to find out dependencies.
First I used SP_DEPENDS but that didn't show correct results. Then I did use
SYS.DM_SQL_REFERENCING_ENTITIES, but a weird thing I noticed. Some of my procedures are not listed in this table.
Basically I need the output in below format:
NAME
TYPE
DEPENDED UPON
TYPE
COLUMN NAME
RealTimeLeads
Stored Proc
INSTrigger
Trigger
OfferDateTime
RealTimeLeads
Stored Proc
INSTrigger
Trigger
EnquiryDateTime
RealTimeLeads
Stored Proc
cc_lead__c_upd
User Table
ID__c
RealTimeLeads
Stored Proc
cc_lead__c_upd
User Table
CustomerName__c
RealTimeLeads
Stored Proc
cc_lead__c_upd
User Table
Product__c
SP_CampaignDashboard
Stored Proc
CampaignDashboard
User Table
CD_ID
SP_CampaignDashboard
Stored Proc
EmailCampaign_Attempts
User Table
AttemptCount
SP_CampaignDashboard
Stored Proc
OfferProduct_Master
User Table
Product__c
SP_CampaignDashboard
Stored Proc
Portal_Campaign_Attempts
User Table
AttemptCount
SP_CampaignDashboard
Stored Proc
Responses
User Table
ResponseDate
SP_CampaignDashboard
Stored Proc
SMS_Campaign_Attempts
User Table
AttemptCount
Chaos isn’t a pit. Chaos is a ladder. Many who try to climb it fail and never get to try again. The fall breaks them. And some are given a chance to climb, but they refuse. They cling to the realm, or the gods, or love. Illusions. Only the ladder is real.
The climb is all there is.I did some tests. If you do not have sys.dm_sql_referencing_entities, you probably run SQL Server 2005 or lower. Alas, SQL_Dependencies seems to have the same shortcommings as the old fashioned dbo.sysdepends view. When you create an object referencing an
object that doesn't exist yet, this reference is not captured. Changing the order of creation can help you out. However, circular references will never be captured. Also, dropping and re-creating an object destroys the information in this view. Proof:
The below creation order causes the link between TestProc and TestView to be missed.
CREATE PROC TestProc AS SELECT * FROM TestView
GO
CREATE TABLE TestTab (i int not null)
GO
CREATE VIEW TestView AS SELECT * FROM TestTab
GO
-- Transact-SQL Statement to list all objects and their dependencies (SQL Server 2005).
SELECT SCH.name + '.' + OBJ.name AS ObjectName
,OBJ.type_desc AS ObjectType
,REFSCH.name + '.' + REFOBJ.name AS ReferencedObjectName
,REFOBJ.type_desc AS ReferencedObjectType
,REFCOL.name AS ReferencedColumnName
,DEP.class_desc AS ReferenceClass
,DEP.is_selected AS IsSelected
,DEP.is_select_all AS IsSelectAll
,DEP.is_updated AS IsUpdated
FROM sys.sql_dependencies AS DEP
INNER JOIN
sys.objects AS OBJ
ON DEP.object_id = OBJ.object_id
INNER JOIN
sys.schemas AS SCH
ON OBJ.schema_id = SCH.schema_id
INNER JOIN sys.objects AS REFOBJ
ON DEP.referenced_major_id = REFOBJ.object_id
INNER JOIN sys.schemas AS REFSCH
ON REFOBJ.schema_id = REFSCH.schema_id
LEFT JOIN sys.columns AS REFCOL
ON DEP.class IN (0, 1)
AND DEP.referenced_minor_id = REFCOL.column_id
AND DEP.referenced_major_id = REFCOL.object_id
ORDER BY ObjectName
,ReferencedObjectName
,REFCOL.column_id
GO
DROP TABLE TestTab
GO
DROP VIEW TestView
GO
DROP PROC TestProc
GO
Changing the order helps:
CREATE TABLE TestTab (i int not null)
GO
CREATE VIEW TestView AS SELECT * FROM TestTab
GO
CREATE PROC TestProc AS SELECT * FROM TestView
GO
-- Transact-SQL Statement to list all objects and their dependencies (SQL Server 2005).
SELECT SCH.name + '.' + OBJ.name AS ObjectName
,OBJ.type_desc AS ObjectType
,REFSCH.name + '.' + REFOBJ.name AS ReferencedObjectName
,REFOBJ.type_desc AS ReferencedObjectType
,REFCOL.name AS ReferencedColumnName
,DEP.class_desc AS ReferenceClass
,DEP.is_selected AS IsSelected
,DEP.is_select_all AS IsSelectAll
,DEP.is_updated AS IsUpdated
FROM sys.sql_dependencies AS DEP
INNER JOIN
sys.objects AS OBJ
ON DEP.object_id = OBJ.object_id
INNER JOIN
sys.schemas AS SCH
ON OBJ.schema_id = SCH.schema_id
INNER JOIN sys.objects AS REFOBJ
ON DEP.referenced_major_id = REFOBJ.object_id
INNER JOIN sys.schemas AS REFSCH
ON REFOBJ.schema_id = REFSCH.schema_id
LEFT JOIN sys.columns AS REFCOL
ON DEP.class IN (0, 1)
AND DEP.referenced_minor_id = REFCOL.column_id
AND DEP.referenced_major_id = REFCOL.object_id
ORDER BY ObjectName
,ReferencedObjectName
,REFCOL.column_id
GO
DROP TABLE TestTab
GO
DROP VIEW TestView
GO
DROP PROC TestProc
GO -
Import from Designer crashes with IMAGE data type
Hello,
I'd like to report an issue with Data Modeler while importing from Oracle Designer. If you consider this a bug, please let me know if I need to do anything else to request a fix for it.
I've used the import > Oracle Designer Model tool to import an application model. The import runs fine for a while, then crashes with a message "There are errors in import - check log file".
The application to be imported has 509 domains, 963 entities to import.
The summary info displayed after the import (when I close the error message pop up) is:
All statements: 1472
Imported statements: 538
Failed statements: 0
Not recognized statements: 934
The log file has the lines below:
2011-04-28 10:55:46,505 [Thread-8] ERROR XMLTransformationManager - Unable to load object from XML: C:\Users\Beatriz\Documents\ODTUG\2011\SDDM designs\GAME\GAME\rel\0EEBE15E-D9EFB22E4D6B\subviews\02A206F8-0C6C-0DF9-E643-5919DBCB895A.xml
java.io.FileNotFoundException: C:\Users\Beatriz\Documents\ODTUG\2011\SDDM designs\GAME\GAME\rel\0EEBE15E-D9EFB22E4D6B\subviews\02A206F8-0C6C-0DF9-E643-5919DBCB895A.xml (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at oracle.dbtools.crest.model.metadata.XMLToObjectTransformer.transformToObject(Unknown Source)
at oracle.dbtools.crest.model.metadata.XMLTransformationManager.transformFromXMLToObject(Unknown Source)
at oracle.dbtools.crest.model.metadata.XMLTransformationManager.openDesignPart(Unknown Source)
at oracle.dbtools.crest.model.design.Design.openDesign(Unknown Source)
at oracle.dbtools.crest.swingui.ControllerApplication$Recent$1.run(Unknown Source)
2011-04-28 11:03:44,114 [Thread-12] WARN ODODomain - ODOType.initStructuredTypeAttributes() - Unable to find Logical DataType for: IMAGE
2011-04-28 11:03:46,532 [Thread-12] ERROR ODExtractionHandler - Error during import from Designer Repository
java.sql.SQLException: Numeric Overflow
at oracle.jdbc.driver.NumberCommonAccessor.throwOverflow(NumberCommonAccessor.java:4380)
at oracle.jdbc.driver.NumberCommonAccessor.getInt(NumberCommonAccessor.java:111)
at oracle.jdbc.driver.OracleResultSetImpl.getInt(OracleResultSetImpl.java:928)
at oracle.jdbc.driver.OracleResultSet.getInt(OracleResultSet.java:434)
at oracle.dbtools.crest.imports.oracledesigner.logical.ODOEntity.generate(Unknown Source)
at oracle.dbtools.crest.imports.oracledesigner.ODExtractionHandler.generateDesign(Unknown Source)
at oracle.dbtools.crest.imports.oracledesigner.ODExtractionController$Runner.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)
I see the issue with the IMAGE data type in the log. The model to be imported does have domains and entities using this data type. The domain actually did get imported, but it shows as "Unknown" logical type, even though there is an Image type available in the Data Modeler type list. None of the entities using IMAGE got imported.
Please let me know if you can provide a fix or workaround for this (other than changing the format in Designer).
Thank you,
Beatriz.Hello Beatriz,
definitely this is a bug. The problem with entities is not IMAGE data type it's supported there (it's overlooked for domains). The problem is volume information - Initial, Maximum, Average, Growth rate. No workaround for that.
Domain can be changed manually if it's just one affected.
Philip -
Data Modeler 30EA : Oracle Designer Import Wizard
When I want to import an Oracle Designer Model, I've no entries in "Select Applications Systems".
But in the previous release (2.0.0), i could see all my "Aplication System".
My Oracle release is 9i.
What is the problem? Must I configure anything more?
Thanks, CédricHi Cédric,
the problem was reported and is related to import from non versioned repository. Fix is included in EA2.
Philip -
4.0EA1 DM Import from Designer view wrong
Hello,
when using the import of an Oracle Designer model, the view definition is malformed in Data Modeler when the select text of a column in Designer is appended with a comment.
For example, in Designer the select text of the column is: tab1.column1 -- comment
during the import of the view, the comma is appended to the line, being interpreted as a comment.
In Designer the following is generated (part of view definition):
,CAT1.ARTIKEL_CATEGORIE_KD
,CAT2.ARTIKEL_CATEGORIE_KD --W6
,asx_bep_art_prijs(art.artikel_kd)
In data modeler the view definitionis like:
CAT1.ARTIKEL_CATEGORIE_KD BOEKSOORT,
CAT2.ARTIKEL_CATEGORIE_KD --W6 BINDWIJZE,
asx_bep_art_prijs(art.artikel_kd) PRIJS,
So the import should should prefix the select text with a comma instead of appending.
Best regards,
JoopHi
I would like to echo Joop's suggestion to rather put the comma at the start of each line (prefix), when generating the select text. It alleviates many issues (such as the one highlighted in Joop's topic) and it is our own internal SQL coding standard for just that reason.
I hope my 'like' of this topic counts as a vote for the suggestion.
Regards -
Generation of DDL similar to Oracle Designer (Data Modeler 3.0 EA1.)
Hi,
Will the production version of SQL Data Modeler allow the creation of separate DDL files similar to that which Oracle Designer does? For example, I can create a sequence number generator in Data Modeler (DM) and then make a call to that in an Object Type method. However the DDL file that is generated by DM has all DDL in one file. This would allow to take dependencies were taken into consideration, that is create the sequences before object types, packages and tables, then object type bodies, package bodies, etc...
Thanks,
ScottKAt this stage we do not support multiple files. We do plan to do this in the future. However you can work around this by repeating the DDL generation for the different objects types you want to have files for.
Remember that you can vote on the Exchange for your most desired features.
Sue
Maybe you are looking for
-
MBA 10.8.4 wakes from sleep after a few seconds
I have a MacBook Air 4,2 with Mountain Lion 10.8.4 and a lot of trouble with the sleep function. Everytime I want it to sleep, it awakes after same seconds. If I close the lid, the MBA sleeps like a baby until I open it again. What I tried: - Reset P
-
My kids were using ipad1 and now screen won't rotate. How do I reset this feature?
I have tried to reset screen function. The screen only displays in landscape with the power button/charger plug at left of screen. The screen will not rotate when the device is turned to accomodate portrait or landscape in the other direction. Tha
-
When I print an article from the NYT or elsewhere, I get pages that are illegible--as if written in code. I never had this problem before. I must go to Explorer to print--or copy & paste to Word and then prin the Word document. Obviously there is a m
-
CRM survey through the (service SICF) webgui
Hello, I am facing a problem with the questionnaire. when we are activating the service webgui through sicf and access the questionnaire in the activity there is an error .. Problem: I have a questionnaire that i have defined through the CRM_SURVEY_S
-
hey guys! i am with a little problem with the brushes in illustrator cs4, i really had shearch in everywhere but i simply don t know how to resolve that... with the pen (P) or pencil (N) selected! when i draw a line in cs3 and aplly a brush to the pa