Data modeler, physical model related view

Hi community,
is there a way to create a physical model related view in the data modeler or a better idea?
The reason is simple, let me say, I have a view with string concatenation and want use this view in oracle and sql server, the syntax is different.
In Oracle it is " column1 || ' ' || column2". The same thing in sql is "column1 + ' ' + column2"
Regards, Henrik

Hi Kent,
thank you for the answer, but it is not really a solution for me to copy the complete relational model to a second one! It is unfavorable for later changes on the model.  You must do them all changes on both models.
Currently I have one relational model together with four physical models, Oracle 10, Oracle 11, Oracle 12 and MS Sql. If I work with stored functions, procedures, packages, triggers and so one, it is possible to change the content of these objects in the physical model, depending of the sql language and the database version features.
Only tables and views are not changeable and I’m not able to add a table or view to the physical model.
Other suggestions?
Regards, Henrik

Similar Messages

  • SQL Developer Data Modeler - Relation to Foreign Key Generation

    SQL Developer Data Modeler 2.0.0 Build 584.
    I am having trouble with Relations to Foreign Keys when Forward Engineering a Relational Model from a Logical Model.
    First of all, the Naming Standard is not applied to the Foreign Keys when I perform the Engineer to Relational Model.
    So I right click on the Relational Model from the Browser and Apply Naming Standards to Keys and Constraints.
    I uncheck everything but Foreign Keys.
    Now, Foreign Keys are named according to my Naming Standards.
    However, this process also performs renames on the Column Foreign Keys even though I specifically unchecked that option.
    This appears to be a BUG in the software and I haven't found a way around it.
    I tried using {column} instead of {ref column} in the Naming Standard Template for Column Foreign Key, but that simply resulted in renaming my columns to "{column}".
    Please confirm and/or let me know of any work-around for this.
    Thanks,
    Dan

    Hi Philip,
    Thanks for the reply.
    Is this recorded as a bug to be addressed in the future?
    Should I submit this problem via Oracle Support?
    The other work-around I came up with is to override every Relation name in the Logical Model with the name I want to use in the Relational Model.
    When the Relational Model is Engineered, this becomes my Foreign Key name.
    Of course, this is not how I want to do things, so I am hoping for a bug fix someday.
    Regards,
    Dan

  • Data Modeler: Relational data model questions

    1. Can a different notation be specified for relational data models' constraints? Specifically, I'd like crow's feet. BTW, the docs show crow's feet and parent pointer (with the arrowhead), but there's no such thing in the actual modeler.
    2. Is there any way to manually route FK constraints lines?
    3. When forward engineering from logical, is there any way to indicate the preferred name for keys and indexes (primary, unique, foreign)?
    4. Mandatory/optional indicator on tables: what exactly does 'N' or 'A' stand for? I can understand 'N' meaning "Not optional", but 'A'? Wouldn't it be simpler to use '*' and 'o' like in the logical?
    Man, do I ever miss Designer!
    Thanks,
    Patrick

    Here's one more question:
    I've transformed several super/sub entities to relational, and some of the tables do not allow me to open Properties (on the table). I can use the navigator to open column properties, but cannot open table properties (neither from diagrammer nor from navigator). Some of the tables are two or three subtype levels deep, and I haven't figured out why some open and some don't.

  • Data Model: Relational Tables/Columns Naming Options

    Hello,
    My design consists of several Relational models.
    1. Using Logical model properties, I defined Naming Options (Max. Name Length, Character Case, Valid Characters) applicable to all Entities, Attributes and Views.
    2. But for Relational models, Tables/Columns/Views Naming Options (Max. Name Length, Character Case, Valid Characters) can only be defined per Relational model and not for all the models.
    Question: Is it possible to define Tables/Columns/Views Naming Options (Max. Name Length, Character Case, Valid Characters) applicable to all Relational models? If yes, please inform me.
    Thanks
    Chiedu

    Andrey,
    When You select all the columns, you need to hold the Shift key to select all. Don't let it go to do the copy. So, still holding the shift key, right click for the context menu. The menu only has 2 items, Copy and Delete. Now Copy. Then you can go to the diagram and select paste, to paste them in each of the tables you want those columns to appear in.
    Sue

  • Oracle Data Modeler Versión 4.1.0.866 -- issue compare model Vs BBDD ( index PK, UK)

    Hello,
    I have a Data Modeler Relational and physical, the data model has three. The three tables are in a BBDD. The primary key generate is usssing index , and when I generated the DDL only show alter table add constraint .... . until here everything OK.
    if I compare the bbdd with Data Modeler , I get differences in indices that generated oracle when I create the primary key.
    ¿Is a bug or is there some way to fix it by configuration options? 
    Thanks

    Hello,
    So you have a Relational Model containing 3 Tables.  I assume the Physical Model is for an Oracle database.
    The primary key generate is usssing index , and when I generated the DDL only show alter table add constraint .... . until here everything OK.
    I assume you are doing a DDL generation of your model (using the Generate DDL button above the diagram or using Export > DDL File from the File menu).
    In the DDL Generation Options phase of the DDL generation, can you go to the Tables tab and check that the "Selected" check box for the relevant Tables is selected.
    (This should normally be selected, but if you deselected it in a previous DDL generation, it will remember that setting.)
    The "PK and UK Constraints" and "Indexes" tabs also allow you to control whether the constraints and Indexes are included in the generated DDL.
    if I compare the bbdd with Data Modeler , I get differences in indices that generated oracle when I create the primary key.
    ¿Is a bug or is there some way to fix it by configuration options?
    I assume here that you have input your generated DDL to your database and you are then doing a File > Import > Data Dictionary to compare your database definitions with your initial model.
    It is likely that there will be some differences shown, due to defaults used by the database when the DDL is input (e.g storage properties for your indexes and tables).
    I suggest you examine the differences (which will be highlighted in red on the Details, Storage Details or Physical Details tabs) for each object in the Compare Models dialog, and provided they are acceptable, select the Merge button to merge them into your model.
    If you do not want some of the property differences to be merged, you should unset the "Selected" check box for that property before merging.
    Note that it is possible to exclude specific properties from the comparison by selecting the Options tab in the Compare Models dialog, and then selecting the Properties Filter, Physical Properties Filter or Storage Properties Filter tab as appropriate.
    I hope this helps.
    David

  • How to create Spatial index in SQL Developer Data Modeler 4

    Hi,
    What is the procedure to create a Spatial index in SDDM v4 ? I ended up in a deadlock due to the following issues :
    1) Reverse engineering missed the spatial index, so I need to add them manually.
    2) Adding an index does not allow me to check the 'spatial index' checkbox, nor does it allow me to add the sdo_geometry column in the index definition.
    3) When registering Spatial properties for a table, I cannot choose the Spatial Index name.
    I came across an old post (Data Modeler - can't create a spatial indexes), yet this post is no longer valid since SDDM V4 does not allow me to create an index without columns (incomplete index definition).
    Help is appreciated,
    Kind regards,
    Richard.

    Hi,
    One more thing : When doing a compare with the database (from which I reverse engineered) there was only 1 difference (apart from the storage details, which could be ignored by setting a parameter).
    This is the Spatial Table property. This was set in the Model, but what would be the corresponding setting in the database ?
    The Spatial Table property is set on import from the database if the "Spatial Properties" option is set for the import, and there is an entry for the Table and its owning Schema in the metadata view ALL_SDO_GEOM_METADATA.
    ALL_SDO_GEOM_METADATA is similar to USER_SDO_GEOM_METADATA, but has an additional OWNER column identifying the schema that owns the table (as described in section 2.8 of the Oracle Spatial and Graph Developer's Guide: http://st-doc.us.oracle.com/database/121/SPATL/sdo_objrelschema.htm#SPATL545).
    The fact that your table is not being treated as a spatial table suggests that either the import cannot access the view ALL_SDO_GEOM_METADATA or it cannot find an entry for the table and its owning schema in that view.
    Are any errors being logged to your log file when you do your import?  (You can see the log by selecting External Log from Data Modeler's View menu.)
    David
    Added note: I've added a further comment - it's on page 2 of this thread.

  • Model-Controller-View tutorial movies?

      
    In looking for Xcode tutorials I Googled with “Xcode tutorial movie.” As a result I came across this EXCELLENT set of movie tutorials on Apple's developer site. They cover: Core Data, Model-Controller-View, and Interface Builder:
        http://developer.apple.com/macosx/coredata.html
    ... but I’m that I need Core Data to effectively employ a Model-Controller-View design in my audio projects and music education projects.
    Does anybody know of similar quality (movie) tutorials that focus primarily on Model-Controller-View and Interface Builder with Xcode projects? I think I just need a few simple examples that demonstrate instantiating controller objects, setting key bindings and outlets. Any suggestions?
    Also encountered an interesting example at:
        http://macromates.com/screencast/introto_tmdialog.mov
    Looking for something of this ilk that shows an enlightened approach to constructing a project.
    Thanks!
    John

    Understanding ADF's architecture is an essential step to understanding how to use it with Oracle BPM.
    I added a new blog post (http://www.avioconsulting.com/blog/datwood/2012/11/26/oracle-bpm-and-oracle-application-development-framework-adf) that describes the different layers of ADF's architecture and how they tie to Oracle BPM.
    Hope this helps,
    Dan

  • Convert XML to relational view

    WE are retrieving data using Web Services, i.e. using SOAP protocol and receiving data in XML format.
    We need to access this data using a normal relational view, but can not find a solution how to do this.
    Example:
    The returned XML is a invoice with 2 lines. We want to create 2 distinct views, one for the invoice header and one for the lines, i.e. it must return 2 rows.
    How is this possible?

    You can create a relational view using extract() and extractValue() SQL operators on the underlying XMLType data. Also, the XMLSequence() operator can be used to generate the view for lines.
    See XML DB Developer's Guide for further details.

  • How to add an index to a materialized view in Data Modeler 3.3

    Hello everyone,
    I'm looking for a how-to to add an index to a materialized view in Data Modeler 3.3.0.747, as I coudn't find a way to do it so far.
    I looked here:
    Relational Model
    Physical Model
    Oracle 11g
    Materialized Views
    "my_mv_name"
    "INDEXES" IS NOT HERE IN THE TREE
    "Tables" does not include it either
    Thank you & Best regards,
    Blama

    Hi David,
    thanks a lot. I did so and it worked, but I found a minor bug while doing so:
    I marked the table as "Implement as Materialized View" and went to File->Export->DDL (for Oracle 11g).
    The generated code (I checked all options in "Drop Selection") includes a row:
    DROP MATERIALIZED VIEW mv_mymatview CASCADE CONSTRAINTS ;
    which produces a syntax error.
    Best regards,
    Blama

  • Data Modeler: Editing or creating a view "crashes"

    Hi all,
    some days ago I've created a view in my relational model using the data modeler (SQL Developer 3.2.20.09). Today I wanted to add some more columns. Unfortunately the property pane doesn't open any more when double clicking the view object (for the tables it still works). No error message is shown. In the logical view a red triangle is shown in the top left corner of the view object.
    When I try to create a totally new view then the data modeler /sql developer crashes (doesn't respond anymore)...
    What could be the reason?
    If also tried with the new version of SQL Developer - there it doesn't work either...
    Thanks in advance
    Matthias

    Or this one:
    2014-01-22 16:49:32,665 [AWT-EventQueue-0] ERROR DefaultDiagramUI - DefaultDiagramUI.paint:
    java.lang.NullPointerException
      at oracle.dbtools.crest.swingui.diagram.graph.EdgeRenderer.getForeground(Unknown Source)
      at javax.swing.JComponent.setForeground(JComponent.java:2679)
      at oracle.dbtools.crest.swingui.diagram.graph.EdgeRenderer.installAttributes(Unknown Source)
      at oracle.dbtools.crest.swingui.diagram.graph.EdgeRenderer.setView(Unknown Source)
      at oracle.dbtools.crest.swingui.diagram.graph.EdgeRenderer.getRendererComponent(Unknown Source)
      at oracle.dbtools.crest.swingui.diagram.graph.AbstractCellView.getRendererComponent(Unknown Source)
      at oracle.dbtools.crest.swingui.diagram.ui.def.DefaultDiagramUI.paintCell(Unknown Source)
      at oracle.dbtools.crest.swingui.diagram.ui.def.DefaultDiagramUI.paint(Unknown Source)
      at javax.swing.plaf.ComponentUI.update(ComponentUI.java:143)
      at javax.swing.JComponent.paintComponent(JComponent.java:760)
      at javax.swing.JComponent.paint(JComponent.java:1037)
      at javax.swing.JComponent.paintChildren(JComponent.java:870)
      at oracle.dbtools.crest.swingui.diagram.OverviewPanel.paintChildren(Unknown Source)
      at javax.swing.JComponent.paint(JComponent.java:1046)
      at javax.swing.JComponent.paintChildren(JComponent.java:870)
      at javax.swing.JComponent.paint(JComponent.java:1046)
      at javax.swing.JComponent.paintChildren(JComponent.java:870)
      at javax.swing.JComponent.paint(JComponent.java:1046)
      at javax.swing.JComponent.paintChildren(JComponent.java:870)
      at javax.swing.JComponent.paint(JComponent.java:1046)
      at javax.swing.JComponent.paintChildren(JComponent.java:870)
      at javax.swing.JComponent.paint(JComponent.java:1046)
      at javax.swing.JComponent.paintChildren(JComponent.java:870)
      at javax.swing.JComponent.paint(JComponent.java:1046)
      at javax.swing.JComponent.paintChildren(JComponent.java:870)
      at javax.swing.JComponent.paint(JComponent.java:1046)
      at javax.swing.JComponent.paintChildren(JComponent.java:870)
      at javax.swing.JComponent.paint(JComponent.java:1046)
      at javax.swing.JComponent.paintChildren(JComponent.java:870)
      at javax.swing.JComponent.paint(JComponent.java:1046)
      at javax.swing.JComponent.paintChildren(JComponent.java:870)
      at javax.swing.JComponent.paint(JComponent.java:1046)
      at javax.swing.JComponent.paintChildren(JComponent.java:870)
      at javax.swing.JComponent.paint(JComponent.java:1046)
      at javax.swing.JComponent.paintChildren(JComponent.java:870)
      at javax.swing.JComponent.paint(JComponent.java:1046)
      at javax.swing.JLayeredPane.paint(JLayeredPane.java:567)
      at javax.swing.JComponent.paintChildren(JComponent.java:870)
      at javax.swing.JComponent.paintToOffscreen(JComponent.java:5139)
      at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1491)
      at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1422)
      at javax.swing.RepaintManager.paint(RepaintManager.java:1225)
      at javax.swing.JComponent.paint(JComponent.java:1023)
      at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
      at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
      at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
      at java.awt.Container.paint(Container.java:1778)
      at java.awt.Window.paint(Window.java:3390)
      at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:797)
      at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
      at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:694)
      at javax.swing.RepaintManager.access$700(RepaintManager.java:41)
      at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1636)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:666)
      at java.awt.EventQueue.access$400(EventQueue.java:81)
      at java.awt.EventQueue$2.run(EventQueue.java:627)
      at java.awt.EventQueue$2.run(EventQueue.java:625)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:636)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

  • Data Modeler bug? - it keeps reporting missing physical model files

    Hi,
    I'm having a rather serious problem with the latest data modeler, Oracle SQL Developer Data Modeler 3.1.4.710. It keeps losing physical model files for some reason.
    I started to notice that it was not generating all the tables in my small design. After hours of struggle I found multiple error messages in the log file:
    2012-12-18 10:51:20,126 [Thread-71] ERROR XMLTransformationManager - Unable to load object from XML: C:\cygwin\home\Brian\codebase\models\data\Design\rel\395D160B-C7224B8EAD05\phys\D9582E4E-2ED963CB9D32\View\seg_0\A555DB9B-8864-9C0B-DCA8-BAC5231F55C6.xml
    java.io.FileNotFoundException: C:\cygwin\home\Brian\codebase\models\data\Design\rel\395D160B-C7224B8EAD05\phys\D9582E4E-2ED963CB9D32\View\seg_0\A555DB9B-8864-9C0B-DCA8-BAC5231F55C6.xml (The system cannot find the path specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:138)
         at oracle.dbtools.crest.model.metadata.XMLToObjectTransformer.transformToObject(Unknown Source)
         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.openPhysicalModel(Unknown Source)
         at oracle.dbtools.crest.model.metadata.XMLTransformationManager.openPhysicalModel(Unknown Source)
         at oracle.dbtools.crest.swingui.browser.BrowserPanel$88.run(Unknown Source)
    These messages appeared every time I opened my physical model (Oracle 10g).
    After deleting and recreating the physical model the problem went away for a while. But after closing and reopening the design I started to see the errors again.
    Has anyone seen something similar?
    Regards,
    Brian

    Thanks Philip!
    The workaround does the trick for the tables, primary keys and unique keys.
    I have just observed that table level constraints show a slightly different behaviour.
    Names show up like TCC5, TCC6, etc.
    Seems the same problem as previously in SQL*Modeler forgets check constraint names
    Is there a workaround for that problem too ?
    I already noticed that there is no parameter NameChanged for a table constraint.
    Enrico

  • MS SQL Server Indexed View in Data Modeler

    Hi All,
    I'm fairly new to Data Modeler. Tried to search the forums for this but couldn't find anything. I'm trying to figure out how to create (in a SQL Server 2008 physical model) a view with a clustered index in Data Modeler v. 3.3. Seems like it is supported per the below link, however I can't seem to find a reference to it in the application.
    http://www.oracle.com/technetwork/developer-tools/datamodeler/featurelist-167684.html
    Any help would be appreciated!
    Thanks,
    Jeff

    Hi Jeff,
    you need to create/open physical model for MS SQL Server and find view presentation there. Set the view property "Schema Binding" to yes.
    However I see some problems in definition of such index and DDL generation for view and logged a bug for that.
    Philip

  • Physical data model

    We are trying to report our physical data model from Designer2000 meta data.
    Actually individual reports exists within Designer showing tables, attributes.
    However, we would like to have a single report, combining all tables with their text description, along with their attributes and their characteristics (nullable, type, length, domain...)
    Is anybody as always did that ???
    Thanks,
    Alain

    Hi,
    As you aware major part of GL is based on Chart of Account, Calander (GL Period) and Currency, you can check all tables related to these.
    You can use below query to get those tables :
    select from all_tables where table_name like 'GL%' and owner='GL'*
    and table_name not like 'GL_ALLOC%' and table_name not like 'GL_CONS%'
    Please do refer the doc suggested by the other expert in this thread..
    Regards,
    S.P DASH
    N.B : We believe you put a GL question in a wrong folder/Thread (Procurement) :).. you could have received a better response had it been in Finance folder.. :)

  • Questions related SQL Developer Data Modeling

    1) Is it possible to import ERwin 3.5.2 version(called as Platinum Erwin) erx file to SQl developer data
    modeling tool?
    2) When this tool going to be released as a standalone Product?
    3) One of our requirements is calculating Table and Database size from Data model tool(as a volumetric
    report). Is it possible in this tool?. Also i couldn't able to define storage properties(like Tablespace).

    I have also replied to you in the feedback application where you logged your query. I have added my response here for others who may be interested.
    1)We currently only support import from ERwin 4.x
    2) It is company policy not to disclose release dates. We plant to release in 2009.
    3) You can define Tablespace using the Physical model. Expand the Relational node and then the physical model. The two nodes you can use for your tablespaces are the Tablespaces and Segment Templates nodes.
    Regards
    Sue Harper

  • Data modeling tool: physical model migration

    Hi,
    I have imported my relational model with a generated physical model for oracle 9i.
    I'd like to migrate my DB to oracle 10g, but I don't feel like creating a new physical model for Oracle 10g from the scratch and configuring it all.
    Is there any way to copy that oracle 9i physical model into an oracle 10g model? I know there could be any implementation change from 9i to 10g, but at least copy the main 99% (and warn about the 1% impossible to replicate in 10g).
    Could this feature be taken into the production version?
    By the way, is this a BUG? when I start the tool, my oracle 9i physical model is not shown in the tree, and I've to right-click over physical model, press open, and then select oracle 9i, to be shown in the tree. But I close the data modeling tool, and when I start again, there is no physical model shown in the tree :(
    thanks a lot in advance, I'm evaluating the tool.

    Thank you very much for your reply, and hearing those news makes me very happy, because I'm evaluating the product and I miss some functionality like that.
    By the way, where can I find the new functionality or the fixed one that is going to be on the production release? Or could yo send it to me by email or any other way? I'm very interested in it.

Maybe you are looking for

  • Macbook Pro no longer support Apple Cinema Display after graphic update 1.0

    I recently updated my system to ver. 10.5.2 and after that I updated to graphic system 1.0. After that my macbook pro began to have several problems dealing with my 23" Apple Cinema Display. 1- if started in 'closed lid' mode it gives me a kernel pan

  • VPN issue on 10.8.5 - is there a way to do a full reset?

    Regardless of where I am connected from (various different WIFI networks), I am not getting  a login prompt for all of my VPN connections (all Cisco IPSec). This symptom only started manifesting aftrer I got my maboook back from Apple after a repair

  • How to see SPACES/network of two macs

    I read that we can activate (see?) spaces with F8. I have a MAC BOOK so I think FN and F8. But when i press nothing happens. i am not sure I understand this. I never used shortcuts before so maybe I am missing something. Another thing. I have two Mac

  • Old mouse broke, How do I pair a new magic mouse?

    The magic mouse that came with the desktop broke, so I bought a new 1, but now I have now idea how to pair it with the computer. I checked the page that explains how to do it but I got no other mouse to click here and there like it says, so what do I

  • Using variables in Illustrator

    Hi, I am trying to create templates which I can re-use for wireframing purposes, and I'm trying to find similar functionality as in OmniGraffle, where I can define generic fields, such as "Author", "Copyright" "Date", or "Description", and then inser