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

Similar Messages

  • IWeb keeps reporting missing files

    Every time my wife starts working on her website with iWeb in her (non-admin) account, the program reports missing files. Mostly it's "cache-xx" files, but once I saw the png file that represents the white "Made with Mac" logo, while the logo was on all her site pages?! I work with iWeb in my (admin) account too, but never have seen this error.
    She's been getting this from the beginning, since a couple of weeks. Once, I deleted her whole site (was only 6 pages) and did it over from scratch. Went well for a couple of days, then the error came back again. It looks like the entire site works good, no missing photo's or such, but she get's a heart attach each time the error pops up, since she lost an entire day's work earlier, when, after a days work, iWeb presented her with her old website again when she re-opened the program...
    The website is not complex: 6 screens in standard setup. No movies, blogs or podcasts, only one out of the ordinary thing is a page with 97 photo's on it.

    I get the "Missing File" errors for nearly every picture on my sites, but not all of them. I don't know what the difference is between the ones that get the error and that don't. The only thing that I can think of is that maybe some of the files were "imported" from the desktop or something (by drag/drop), but the others were selected from the iphoto via the "media" window. My only option right now seems to be to recreate the entire site! This is NOT a good option for me, and makes me very sad that I upgraded to iWeb08... seems like it wasn't ready for primetime to me!

  • Data getting truncated while exporting report to a text file in crystal 10?

    Hi All,
    I am using crystal 10.When exporting report to a text file ,a dialog prompts asking for Character perinch with a default value 9.If I change the value from 9 to 16 i am getting the correct data(that means character per inch value is 16) and it update "CharPerInch" value in registry under following location to 16.
    HKEY_CURRENT_USER\Software\Crystal Decisions\10.0\Crystal Reports\Export\Text
    The dialog asked for character per inch also has option to select not to prompt again and i also selected that in first go.
    When i export the report again in text format it didn't prompt for number of character per inch but the data gets truncated.
    What i believe is even though it updates entry in registry and reads, it is not using the same value for export. It never consider the value that is in registry, if the check box is not selected then it is using the value entered in the dialog and if the check box is selected then in the next run it uses the default value as 9.
    Can anyone suggest me how to override this problem ? Is there any other setting place in registry where i can enter the number of character per inch.I don't want to crystal to prompt always for character per inch.

    Hi Venkateswaran,
    The other option to avoid truncation of the data could be
    Right click the text filed
    Click on Format Text to open the Format Editor
    On Common tab check the text box for Can Grow.
    This will prevent the data from truncating in preview as well as while exporting to text.
    Otherwise you will have to set the characters per inch to 16 each time. I donu2019t see changing the registry value causing any difference here.
    Regards,
    Aditya Joshi

  • Data Modeler: is it possible to compare physical models?

    Hello,
    We're looking for a new Data Modeling tool, as we will abandon Designer (for many different reasons...). The SQL Developer Data Modeling-tool looks very promising. Especially the "compare models" -tool looks interesting to create change-scripts for new implementations. What I don't find, however, is the possibility to generate typical physical attritutes, like permissions (resulting in grant-statements), tablespaces. Is this available? Is it possible at all? For your information: I've just downloaded the EAR 2 (version 1.5.1 build 525)
    Thanks in advance for your reply,
    Peter

    Peter,
    I would like to echo your feature request. I too spent many years with Designer and until SDDM came along, I was still using it for server model diagrams mostly. We always wanted to make sure that we have a record (model) of what was in a schema. We deploy to MANY environments - several for development, various phases of testing etc. and of course production and clones of production. It's really nice to run a utility of some sort that compares my model to an implementation. I might compare the same model to half a dozen environments. It helps me quickly pinpoint differences that aren't expected.
    I also like to ability to compare models with each other. We're all looking forward to the future of data modeling with SDDM!
    In some ways, SDDM is already ahead in the features department. I can version models in Subversion with the XML files. That’s HUGE!
    Maggie Tompkins, USMC

  • Changing foreign key name in physical model

    If I change foreign key name in physical model, it does not change in relational model. But when I change the name in relational model, the new name appears in physical model. This happens in Data Modeler 2 and 3EA2. Is it a bug or an intentional feature?

    it's not a bug - the name in physical model "follows" the name in relational model until name in physical model is changed. It keeps the same value and changes in relational model do not affect it. original behavior can be restored if you set the same name as it is in relational model.
    If I change foreign key name in physical model, it does not change in relational modelYou can look at physical model as specific implementation of relational model - changes do not go back in relational model.
    Philip

  • Schemas to Users in Oracle Physical Model

    I created a relation model and sorted out the tables among the schemas. Now I am trying to create a physical model (Oracle 11g). It works and the tables are created in but there are only two Oracle users (PUBLIC & MDSYS). All the tables in the physical model have blank user (schema) field. Does it mean that I should create the users (schemas) again and sorted out the tables in the physical model?
    I cannot find an option that allows me to transform the schemas in the relation model into the users in the physical model saving the links between the users and the tables.
    Does this option (way) exist?
    Regards,
    userIV

    Thank you for the prompt answer.
    Anyway it seems to me strange why schemes can not be auto created ion the physical level - I think it's quite rare situation when definition in the relational model can be different from the physical one. Fortunately it's no so many users I need in mu case.

  • Table properties doesn't propagate from Relational Model to physical model

    Hi all,
    I have a relationnal model with several tables and several schema.
    When i create a new table in the relational model with a specified schema, the table is created on the physicla model, but the schema is not prapagate.
    Is there a way to do this automatically ?
    Or do i have to specify the schema on the relationnal and on the physical.
    Thank you

    Hi,
    schema object in relational model needs to be implemented in physical model - user is the implementation of schema in Oracle physical model. User has property "implements schema". You also can omit this redirection and can assign directly user to table but in this case you'll lose the flexibility.
    Here is how DDL is impacted using different option (schema_1 and table_1 in relational model):
    1) physical model is not open - no implementation details
    CREATE TABLE Schema_1.TABLE_1
         Column_1 NUMBER
    ;2) physical model is open - Schema_1 is not implemented
    CREATE TABLE TABLE_1
         Column_1 NUMBER
        ) LOGGING
    ;3) physical model is open - Schema_1 is implemented by User1
    CREATE TABLE User1.TABLE_1
         Column_1 NUMBER
        ) LOGGING
    ;4) physical model is open - Schema_1 is implemented by User1; Table_1 is directly assigned to User2 in physical model
    CREATE TABLE User2.TABLE_1
         Column_1 NUMBER
        ) LOGGING
    ;Philip

  • SQL Data Modeler bugs (or only misused?)

    Hi,
    I think I ran into some modeler bugs and missing features ...
    BTW: is there a place where all the known bugs are listed?
    * although "no action" was selected in "General Options - Model - Relational" for foreign keys all the foreign keys are created with
    "not deferrable" (well, why not, if it makes the modeler happy) and
    "on delete set null" (thats not what I'd call "no action")
    * DDL statements for indexes lack the schema name
    * newly generated foreign relations are not always displayed in the relational model
    * DDL preview for syncing physical model with relational does not (always) work (well - so far it worked once)
    steps taken: File - Import - Data dictionary, selected objects for import, correct target model chosen, "swap target model" checked
    * foreign keys in unique constraints are always set to "not null" (in logical and physical model)
    * no trigger/constraint created for ARCs (I am not sure about this, but IIRC I did not see anything making an ARC really work)
    Or do ARCs simply not work yet?
    * modeler hangs sometimes (e.g. when opening "Save as" dialog etc.)
    * dialogs are opened outside visible pane when the position of monitors is changed (the dialogs seem to remember their last position)
    * sequences (physical model withing relational model) are loosing their user
    * missing multi schema capabilities :-(
    * the layout capabilities - pardon my french - suck
    Especially that the boxes and lines seem to wander around from one usage to the next (entities aligned with grid - next start the entities are no longer aligned).
    And if you ever need to save/export the model somewhere else all the references stick to a single connection point.
    Not to mention a simple move of a box ...
    Thank you for your effort
    Peter
    Edited by: stueckl on Sep 3, 2009 9:41 PM

    Hi Philip,
    sorry for not answering quite a time ...
    Just some prerequisites ;-) ...
    - Target database: Oracle 10g R2 (10.2.0.4)
    - Modeler version 2.0.0 build 570
    - model creation method: logical model, relational model, (physical model), Database objects
    - OS WindowsXP German, SP3
    - JDK Sun Java 1.6, build 1.6.0_16-b01
    * nullable FK column in unique keys
    meanwhile I found out, how to achieve that - but IMHO the steps to take are quite cumbersome
    1) make a FK relation with "target optional" checked on the Cardinality page of the FK properties
    2) open entity properties, check attributes of FK column (it says: nulls allowed - the checkbox cannot be changed)
    3) got to unique identifiers page and add a unique identifier
    4) open the unique identifier property dialog and add the foreign key
    5) close both property dialogs
    6) reopen the entity property dialog, check attributes of FK column (it says: no nulls allowed - the checkbox cannot be changed)
    7) check the FK properties: it still says: target optional (it is checked)
    8) check the graphical representation of the FK key: dashed line at target entity (meaning: optional)
    9) create the relational model: the FK column is created with "not null"
    10) go back to logical model
    11) change FK property to: target mandatory (uncheck "target optional")
    12) create relational model
    13) change FK property to: target optional (check "target optional")
    14) create relational model
    15) SUCCESS! the foreign key column is now nullable
    BUT: you never ever must change ANY of the entities properties or you must redo steps 11 to 15
    * "no action" of FKs
    I will look into that. Thanks for the suggestions.
    * DDL statements for indexes
    Sorry for being imprecise ... I was talking about automatically generated indexes (for unique and foreign keys).
    Those don't show up in the index listing of the tables in the physical model (probably, because they are automated).
    But why do I have to set the default schema for indexes again? The tables get the schema information for the default schema (General Options - Model - Physical) but not the indexes :-(.
    Generated DDL snippet:
    CREATE TABLE ZCBC1ST1.ZCBRAGIT_AGENDAITEM ( ...
    CREATE UNIQUE INDEX ZCBSAgIt_U1X ON ZCBC1ST1.ZCBRAGIT_AGENDAITEM ( ...
    Same for FK indexes. And the unique index property page in the physical table section does not let me specify a schema owner (OK for me, because the unique key is created by an "alter table" statement).
    * ARC trigger
    My bad - I only checked "DDL preview" of the table, which doesn't show the ARC trigger. The complete generation does. Sorry.
    * "missing multi schema capabilities" and "sequences loose owner"
    Please excuse a newbie blush.
    I just found out I can change the table owner using the physical model capabilities (I guessed I used way too long PowerDesigner V6 ;-) ).
    BUT ...
    The newly created user does not "survive" a "save all - close all - open" sequence on "Physical Models" ... only closing the app or saving the Oracle10g physical model makes the user persistent.
    And also ... if the new table or sequence owner is the first in the drop down list on the property dialog, the user is replaced by an automatically created new user (e.g. User4, User5, and so on).
    Example:
    * I have three defined users and the standard "MDSys" and "Public".
    * My three users are named ZCBC1ST1, ZCBCCore and ZCBCDial (those names are because i need to follow naming rules).
    * ZCBC1ST1 is my default physical model user, which was set in "General Options"
    * ZCBC1ST1 is the first in each drop down list.
    * I have some sequences named Seq1, Seq2, Seq3 and Seq4
    * Seq1 was given to ZCBC1ST1, Seq2 to MDSys, Seq3 to ZCBCCore and Seq4 to ZCBCDial
    * saved and closed the Oracle10g physical model and reopened it
    * Seq1 now has User4, but the other have still the users they were attached to
    The same applies to tables - I am unable to give a table to the first entry of the user list.
    Solution I found to this problem ...
    1) remove the default physical user in "General Options" (and never ever set it again)
    2) create a explicit user (with the name of the prior default user)
    3) manually reattach all objects to this user sigh
    4) so far not a problem with automatically generated indexes, because they don't use the default user anyway
    * newly generated FKs not shown in relational model
    I had this odd behaviour several times.
    1) Logical model: adding a new FK relation
    2) giving the reference-column a pretty relational name
    3) generating the relational model
    4) rather often the new column shows up in the relational model but the arrow for the new foreign key does not.
    5) only after i open the properties dialog of the missing foreign key the arrow is shown in the model
    6) happens often to sub-models - less often to the top-model
    * model syncing (Oracle10g with modeler)
    As Ms. Harper stated in one of her posts (and she even made a video tutorial IIRC) it should be possible to sync a Modeler model with the Oracle10g contents.
    AFAIR the tutorial showed only how to sync the model with the contents but not vice versa.
    I tried to achieve this checking the "swap target model" check box (that's the important thingy) of the import dialog. Everything worked fine besides there is only a preview of DDL statements available but no "Merge" or "Create DDL Statement". And exactly that preview doesn't seem to work anymore. No matter what objects I select, I am unable to see any DDL statements to upgrade the Database.
    I don't know why, but it worked again just before. I will keep an eye on this. ;-)
    So much for now ...
    Thank you for your effort
    Peter
    Edited by: stueckl on Sep 9, 2009 1:03 PM

  • 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.

  • Microsoft BI Semantic Model for Power View is missing in data source

    Microsoft BI Semantic Model for Power View is missing in data source type drop down when cretaing a rsds data source for powerview in sharepoint 2013

    Hi Sanjay,
    I resolved the issue.Follow the steps
    1)Go to Central Admin->System Settings->Manage Farm Solutions (Under Farm Management)
    2)Check if "powerpivotwebapplicationsolution.wsp" is there and is deployed for the webapplication under which you are creating report by verifying
    Deployed to:,if not then deploy that for your web application.
    Please Mark it as answer if this reply helps you in resolving the issue,It will help other users facing similar problem

  • Relational/physical model missing

    Hi,
    Yesterday engineered and saved relational/physical models appear missing today. I'm using new version 3.3.0.747. Yesterday I luckily already generated ddl -scripts and run it in database so now i can import tables etc from there.
    I checked the xml -files and there it is (including everything-> tables, tablespaces, etc. etc), but the Data Modeler Design Browser can't find it at all.
    Kind regards, user12957891

    I was about to post something similar. The entities I created in the last week or so aren't on the logical view (the visible one) anymore. (The 50 or so older than that are, and they're in the relational view.) They're in the browser's list of entities, and some of them are where they're supposed to be on a subview. But if I do right-click on one of them in the browser list, do "Go to Diagram->Logical", nothing happens. If I drag one from the browser list to the view, it shows as "Whatever:1", as if it was already there somewhere.
    In my case, it's possible there was versioning involved. I was going to check in new changes but couldn't because of conflicts. One was for "logical view". I accepted for merging some changes, and I remember seeing some "to delete" ones for these newish entities, but the checkbox wasn't checked for those and I didn't check them. I'm not sure if these entities were on the visible view before I merged in the pending changes today. My partner's model seems to be the same as mine at this point (newish entities in the browser list but not in the big white view), so I'm not sure what happened or how to get them to appear again.

  • 4.0 EA3 BUG - Physical Model Nodes Trancated

    In the physical model tree, when i opened properties (unable to double click, had to right click) and assign a schema to at a table, the name is truncated to 3 to 5 characters followed by and elipsis.  I closed the design and re-opened and the names are spelled out and I can now double click on tables to get properties.  Only message for today in the logs is:
    2013-10-31 10:12:32,496 [main] INFO  ApplicationView - Oracle SQL Developer Data Modeler 4.0.0.825
    I will try to reproduce it when I get time.  Today I created a new logical model in a subview, saved the design, engineered to the relational model, saved the design, assigned schema to each table (tables in the Browser became blank space as before), added tables to an existing sub-view, saved the design, and then opened the Physical browser node and assigned schema to each table.  The physical model is for MS SQL Server 2008.

    Hi Marcus,
    thanks for feedback. I was able to reproduce it and logged a bug for that.
    Philip

  • SQL DM - Copy/Export data models - bug?

    SQL DM - Copy/Export data models - bug?
    I am using SQL DM 3.0.0.665. I need your thoughts on following.
    We used saved as/export of the SQL DM copy the model into another location. We kept our models in harddrive as folder. We did not store it in database.
    We opened the copied model from target model. We found all the links to defined domain was lost. We find the data type shows as Varchar2 instead of Varchar2(20)etc. It creates error on sql.
    Why are loosing the domain definition/linkages during export/save as option?
    Is it a bug?
    Did anyone face such issues?
    What is the workaround?
    Thanks in helping us out.

    Hello,
    Thanks for your reply. I followed the steps. I did copy the folders/files as Kent suggested.
    As we installed the SQL developer on new desktop, it showed the domain definitions as unknown and count as 1 in Design Tree --> domain node. We copied all the xml files under C:\datamodeler\datamodeler\types folder of Desktop A to Desktop B. It brought all the domain definitions of Design in Desktop A.
    Why does it not keeping this domain definitions as part of Design folders?
    If we copy or save as the design , then domain also cane be saved as part of design. It will be difficult to make a sync of datamodels among multiple desktops.
    How do we establish a shareable/sync data models using SQL data Modeler on such situations?
    Thanks in helping.

  • Data Modeler : Modifying the Table Report layout

    Hi ,
    I'm using SQL Data Modeler (DM) 4.0 EA .
    I used the File -> reports option to generate the reports on Table and in the report
    1) I couldn't see the column data type ? (Refer below table ) , Is there any options to bring on the Data Type in the Report ?
    No
    Column Name
    PK
    FK
    M
    Data Type
    DT
    kind
    Domain Name
    Formula
    (Default Value)
    Security
    Abbreviation
    1
    ID1
    P
    Y
    (10)
    LT
      2
    ID2
    F
    Y
    (10)
    LT
    3
    ID3
    Y
    (1)
    LT
    4
    ID4
    Y
    (10)
    LT
    5
    ID5
    F
    (20,4)
    LT
    2) In options to manage the Table report (Reports -> Manage). Currently I can only remove a heading (like Descriptions Notes ,columns,column comments.). Is there is any way to customize the report in such a way that I can remove some columns (mostly the empty ones) from the report and add the column comments along with the column table than a new column comments table.
    Please let me know  ,is there is an option to customize the report .
    Note: I even tried generating the report using the search then report , but it doesn't give a complete report (i was only able to generate a report on column or table name or constraints , not all together.)
    Thanks,
    Srinivasan.K

    Thanks for the immediate reply.
    I checked on the DM again, the report comes good for the one which has the data type . But now all my data type changed to UNKNOWN and lokks like ,due to this my table report is coming without the "Data Type".
    Can you please help me in fixing this unknown data type issue ?
    Table report for the ones with proper Data type:
    Columns
    No
    Column Name
    PK
    FK
    M
    Data Type
    DT
    kind
    Domain Name
    Formula
    (Default Value)
    Security
    Abbreviation
    1
    ID1
    Y
    NUMERIC (10)
    LT
    2
    SCRIPT
    Y
    VARCHAR (1024)
    LT
    3
    UPGRADE_S
    Y
    VARCHAR (10)
    LT
    4
    UPGRADE_D
    Y
    VARCHAR (250)
    LT
    5
    UPGRADING_F
    Y
    VARCHAR (20)
    LT
    6
    TIMESTAMP2
    Y
    Timestamp
    LT

  • Data modeler saving Physical model changes not saved

    I am using version 2.0.0.584.
    The bug fix list contains: 8722310: Save does not save physical model changes
    Hovever I still see unexpected behaviour.
    I created a physical model for "Oracle database 10g" and allocated a couple of tables to a different tablespace.
    I saved the physical model via Physical model--> right mouse button --> save all.
    I saved the model with File--> save
    I close the model.
    After opening, the physical model is not available anymore.
    After Physical model--> right mouse button --> open (for Oracle 10g) the contents are not the same anymore.
    Tablespaces with name "TableSpace3" and "TableSpace4" are added and objects belong to this tablespace.
    We do not have currently a workaround for this behaviour.
    Can anyone help?
    Thanks
    Edited by: 793016 on 06-Sep-2010 03:10
    Edited by: 793016 on Sep 6, 2010 12:14 PM

    Hi Philip,
    default tablespaces were defined and I removed this. It did not have a positive effect.
    Checking the log files was a good idea.
    The log file contained errors about files which could not be found on the system.
    I will do some additional tests and let you know.
    Thanks.
    Kind regards,
    Maurice

Maybe you are looking for