Some observations on my first use of Data Modeler Beta

First of all, I can see this tool has a lot of promise.
I hope Oracle keeps at it, it could turn into a real winner if all the features I see being worked on mature.
Thanks!
Here are a few observations on things that I found non-obvious or tedious to do.
1. When designing an entity, I want to give it a name, a definition, attributes and keys. I want that process to be quick and require the minimum amount of mouse-clicking/navigation fiddling as possible. The current way of defining the attribute's datatype and size is painfully slow. I have to click to get a pop-up. Then I have to click to choose from a set of categories. Then I have to click on a dropdown list. If I try to use the down-arrow on the dropdown list, it works, but not if I go past the one I want. The up-arrow won't take me backwards in the list, so more clicking. It's just a nasty, slow interface to do a simple task that I have to do a thousand times in a data model. If I need to change the size of something, back I go thru the entire process all over again.
That makes it doubly slow to work in the most natural way, which is to list the attributes and the datatypes, then come back and refine the sizes once the model is maturing and relatively stable.
2. Adding an additional attribute requires a mouse click instead of a down-arrow. That means I have to take my hands off the keyboard to add a new attribute. Maybe there is some short-cut key that does that, but I have better things to do than memorize non-standard keyboard mappings. Make the down/up arrows works as they should.
3. Adding the comment that describes the attributes is not quite as slow, but still requires more keystrokes/mouse movements than it should. It's hard enough to get developers to document their attributes, don't discourage them.
4. I can't see the list of attributes, data types, sizes, key/mandatory settings, and the comment at one time while editing the entity. Makes it harder to grasp what all the attributes mean at a glance, which slows down the modeling and the comprehension of an existing model.
5. All the entities I created had primary keys with columns in them. But when I tried to have it build a physical model, it complained that some relationships had no columns in them. For the life of me, I couldn't figure out how to fix that. Never had that problem in any other case tool.
6. Getting it to generate DDL was awkward to find. Make it something obvious, like a button on the toolbar that says "Generate DDL".
7. Apostrophes in the Comments in RDBMS are not escaped, so the generated DDL won't run.
8. For the ease of use/speed of use testing on high-volume key tasks, make the developers do the task 1000 times in a row. Make them use long names that require typing, not table A with columns c1, c2 and c3. Long before they get to iteration 1000 they will have many ideas on how to make that task easier and faster to do.
9. Make developers use names of things that are the maximum length allowed. For example, for a table name in oracle, the max length of the name is 30 characters. The name of one testing table should be AMMMMMMMMMMMMMMMMMMMMMMMMMMMMZ. That's a capital A followed by 28 capital M's and a capital Z. For numbers, use the pattern 1555559. If the developers can't see the A and Z or 1 and 9 in the display area for the name in the default layout for the window, they did the display layout wrong. For places where the text can be really long, choose a "supported visible length" for that field and enter data in the pattern AMMMMMMMMMMMMMMMQMMMMMMMMZ, where Q is placed at the supported visible length. if the A and Q don't show, the layout is wrong.
10. SQL Developer has quite a few truly gooberish UI interaction designs and I can see some of that carrying over to the Data Modeler tool. I really recommend getting a windows UI expert to design the ui interface, not a java expert. I've seen a lot of very productive windows user interfaces and extremely few java interfaces suitable for high-speed data entry. Give the UI expert the authority to tell the java programmers "I don't want to hear about java coding internals - make the user interface perform this way." I think the technical limitations in java UIs are much less than the mindset limitations I've seen in all to many programmers. That, and making the developers use their code 1000 times in a row to perform key tasks will cause the UI to get streamlined considerably.
Thanks, and keep up the good work!

Dear David,
Again thank you for your valuable and highly appreciated feedback. Find included a more elaborated answer to your observations:
*1. When designing an entity, I want to give it a name, a definition, attributes and keys.*
In the new Early Adopter Release, a "SQL developer like" property window has been added for Entities and Tables. For each attribute/column you will have the ability to add name, datatype, Primary Key, Mandatory and comment from one and the same screen
*2. Adding an additional attribute requires a mouse click instead of a down-arrow.*
An enhancement request has been created
*3. Adding the comment that describes the attributes is not quite as slow, but still requires more keystrokes/mouse movements than it should.*
In the new Early Adopter Release, a "SQL developer like" property window has been added for Entities and Tables. For each attribute/column you will have the ability to add name, datatype, PK, M and comment from one and the same screen
*4. I can't see the list of attributes, data types, sizes, key/mandatory settings, and the comment at one time while editing the entity. Makes it harder to grasp what all the attributes mean at a glance, which slows down the modeling and the comprehension of an existing model.*
See former answers. For meaning of attributes you can also use the Glossary and Naming Standardization facilities: see Tools Option menu, Glossary and General Options for naming standards
*5. All the entities I created had primary keys with columns in them. But when I tried to have it build a physical model, it complained that some relationships had no columns in them. For the life of me, I couldn't figure out how to fix that. Never had that problem in any other case tool.*
A Bug report has been created. Issue will most probably be solved in the nexr Early Adopter release
*6. Getting it to generate DDL was awkward to find. Make it something obvious, like a button on the toolbar that says "Generate DDL".*
An enhancement request has been created.
*7. Apostrophes in the Comments in RDBMS are not escaped, so the generated DDL won't run.*
A bug report has been created
*8. For the ease of use/speed of use testing on high-volume key tasks, make the developers do the task 1000 times in a row. Make them use long names that require typing, not table A with columns c1, c2 and c3. Long before they get to iteration 1000 they will have many ideas on how to make that task easier and faster to do.*
I aplogize, but I don't understand clearly what you want to say with the use/speed of use here.
*9. Make developers use names of things that are the maximum length allowed.*
Our relational model is for use for not just Oracle, but also DB2, SQL Server and in the future maybe other database systems. Whicjh means that we can't taylor it to just one of these database systems. However you can set maxinum name lenghts by clicking right on the diagram and select Model Properties and here you can set naming Options. Here you can also use the Glossary and Naming Standardization facilities: see Tools Option menu, Glossary and General Options for naming standards
*10. SQL Developer has quite a few truly gooberish UI interaction designs and I can see some of that carrying over to the Data Modeler tool.*
Fully agree. As you will see in our next Early Adopter release we have started to use SQL Developer like UI objects.
Edited by: René De Vleeschauwer on 17-nov-2008 1:58

Similar Messages

  • Oracle Entity Framework: some tables won't update the entity data model

    I've successfully connected to an oracle database, and I've set up an entity data model project in Visual Studio 2010.
    Using "Update Model from Database" on the EDMX file, some tables that I select are imported, but others do not appear. Is there something about these tables that prevents them from being imported?
    Thanks
    Jonathan Poor
    Rubin & Poor, Inc.

    When I tried this the first time, I missed a message that answers my question:
    The table/view does not have a primary key defined and no valid primary key could be inferred. This table/view has been excluded. To use the entity, you will need to review your schema, add the correct keys, and uncomment it.
    Another table was brought in because the entity model managed to infer a primary key:
    The table/view does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view.

  • Using mulitple data models in a report

    Is it possible to use more than one data model in a report? For example, we have many reports that are based on several data models. There are also various sub-templates that could be associated with a report, independent of the report's main data model. I cannot see a way to join data models, leaving me with only two apparent choices:
    1) Add (replicate) all the sub-template data sources and data sets to each data model
    2) Create a mega model that has everything.
    Any ideas for a better solution? Seems like a common problem...
    Thanks,
    Armand

    Hello, and thank you for answering.
    Puting a # infront of portal30.wwctx_api.get_user didn't work
    When i did that, it resulted in this pl/sql code in the package:
    if l_column.get_value = '#portal30.wwctx_api.get_user' then
    l_style := l_row.get_style;
    l_style.set_color('blue');
    l_style.set_background_color('red');
    l_style.set_font('');
    l_style.set_bold('NO' );
    l_style.set_italic('NO');
    l_style.set_underline('NO');
    l_style.set_blink('NO');
    l_row.set_style(l_style);
    end if;
    It looks like the portal treat all that is inside the value field as text.
    I tried to come around the problem by editing the plsql code which is stored in the database. This worked, but when i tried to edit it from the portal afterwards, my changes wasn't reflected.
    Regards Per-Jarle

  • Why won't some apps appear on the "Use cellular data for" list?

    When I enter settings then go to cellular, not all the apps I have on my phone are appearing on that list. In my case, I am trying to turn off data for Twitch.tv and Mlg.tv but they aren't there! These apps use ALOT of data so I don't want to be using my limited amount in case my wifi ever cuts out. Any help is appreciated.

    Many developers when they updated their apps to support iOS 5 and 6 dropped compatibility for iOS 4.2.1 and earlier.
    Your only way is if you have the version that was compatible on your computer such as in the recycle bin/trash or in a computer file backup. In that case delete the current version that is in your iTunes App library and replace it with the older version. Then sync.

  • XML Parse issues when using Network Data Model LOD with Springframework 3

    Hello,
    I am having issues with using using NDM in conjuction with Spring 3. The problem is that there is a dependency on the ConfigManager class in that it has to use Oracle's xml parser from xmlparserv2.jar, and this parser seems to have a history of problems with parsing Spring schemas.
    My setup is as follows:
    Spring Version: 3.0.1
    Oracle: 11GR2 and corresponding spatial libraries
    Note that when using the xerces parser, there is no issue here. It only while using Oracle's specific parser which appears to be hard-coded into the ConfigManager. Spring fortunately offers a workaround, where I can force it to use a specific parser when loading the spring configuration as follows:
    -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl But this is an extra deployment task we'd rather not have. Note that this issue has been brought up before in relation to OC4J. See the following link:
    How to change the defaut xmlparser on OC4J Standalone 10.1.3.4 for Spring 3
    My question is, is there any other way to configure LOD where it won't have the dependency on the oracle parser?
    Also, fyi, here is the exception that is occurring as well as the header for my spring file.
    org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
    Line 11 in XML document from URL [file:/C:/projects/lrs_network_domain/service/target/classes/META-INF/spring.xml] is invalid;
    nested exception is oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
         [snip]
         ... 31 more
    Caused by: oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'
         at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:425)
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:287)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:331)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:222)
         at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:155)
         at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)Here is my the header for my spring configuration file:
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xmlns:aop="http://www.springframework.org/schema/aop"
           xmlns:tx="http://www.springframework.org/schema/tx"
           xmlns:context="http://www.springframework.org/schema/context"
           xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
           http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
           http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd
           http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">Thanks, Tom

    I ran into this exact issue while trying to get hibernate and spring working with an oracle XMLType column, and found a better solution than to use JVM arguments as you mentioned.
    Why is it happening?
    The xmlparserv2.jar uses the JAR Services API (Service Provider Mechanism) to change the default javax.xml classes used for the SAXParserFactory, DocumentBuilderFactory and TransformerFactory.
    How did it happen?
    The javax.xml.parsers.FactoryFinder looks for custom implementations by checking for, in this order, environment variables, %JAVA_HOME%/lib/jaxp.properties, then for config files under META-INF/services on the classpath, before using the default implementations included with the JDK (com.sun.org.*).
    Inside xmlparserv2.jar exists a META-INF/services directory, which the javax.xml.parsers.FactoryFinder class picks up and uses:
    META-INF/services/javax.xml.parsers.DocumentBuilderFactory (which defines oracle.xml.jaxp.JXDocumentBuilderFactory as the default)
    META-INF/services/javax.xml.parsers.SAXParserFactory (which defines oracle.xml.jaxp.JXSAXParserFactory as the default)
    META-INF/services/javax.xml.transform.TransformerFactory (which defines oracle.xml.jaxp.JXSAXTransformerFactory as the default)
    Solution?
    Switch all 3 back, otherwise you'll see weird errors.  javax.xml.parsers.* fix the visible errors, while the javax.xml.transform.* fixes more subtle XML parsing (in my case, with apache commons configuration reading/writing).
    QUICK SOLUTION to solve the application server startup errors:
    JVM Arguments (not great)
    To override the changes made by xmlparserv2.jar, add the following JVM properties to your application server startup arguments.  The java.xml.parsers.FactoryFinder logic will check environment variables first.
    -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
    However, if you run test cases using @RunWith(SpringJUnit4ClassRunner.class) or similar, you will still experience the error.
    BETTER SOLUTION to the application server startup errors AND test case errors:
    Option 1: Use JVM arguments for the app server and @BeforeClass statements for your test cases.
    System.setProperty("javax.xml.parsers.DocumentBuilderFactory","com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl");
    System.setProperty("javax.xml.parsers.SAXParserFactory","com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl");
    System.setProperty("javax.xml.transform.TransformerFactory","com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl");
    If you have a lot of test cases, this becomes painful.
    Option 2: Create your own Service Provider definition files in the compile/runtime classpath for your project, which will override those included in xmlparserv2.jar.
    In a maven spring project, override the xmlparserv2.jar settings by creating the following files in the %PROJECT_HOME%/src/main/resources directory:
    %PROJECT_HOME%/src/main/resources/META-INF/services/javax.xml.parsers.DocumentBuilderFactory (which defines com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl as the default)
    %PROJECT_HOME%/src/main/resources/META-INF/services/javax.xml.parsers.SAXParserFactory (which defines com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl as the default)
    %PROJECT_HOME%/src/main/resources/META-INF/services/javax.xml.transform.TransformerFactory (which defines com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl as the default)
    These files are referenced by both the application server (no JVM arguments required), and solves any unit test issues without requiring any code changes.
    This is a snippet of my longer solution for how to get hibernate and spring to work with an oracle XMLType column, found on stackoverflow.

  • DEFECT: Data Modeler Beta does not allow optionals in logical UKs

    When entering in a logical model, I was not allowed to choose an optional attribute or relationship to include in a unique key definition.
    The physical level correctly allows me to do so.

    Hi David,
    we'll fix it.
    Thanks,
    Philip

  • Connection to SQL Developer Data Modeler Fails

    All,
    I am using Oracle SQL Developer Data Modeler version 3.0.0.665 in an Oracle 10g database environment. When I try to import DDLs, I get the following error message:
    NoSuchMethodError:
    oracle.i18.ntext.converter.CharacterConverterOGS.getInstance(I)Loracle/i18n/text/converter/CharacterConverter;I use the same connection profile in Oracle SQL Developer version 1.5.0.53, and my connection works fine there, but the same credentials in SQL Developer Data Modeler fails with the above error message. Any thoughts what causes this connection problem?
    Thank you,
    Seyed

    Hi Philip,
    Thank you so much for the information. Your suggested solution resolved my problem. For some reason when I first installed the Data Modeler, it worked fine and I was able to save the result into PDF files. Then my connection went bad and I posted this question on this forum.
    Again thank you very much,
    Seyed

  • Using CVS in SQL Developer for Data Modeler changes.

    Hi,
    I am fairly new to SQL Developer Data Modeler and associated version control mechanisms.
    I am prototyping the storage of database designs and version control for the same, using the Data Modeler within SQL Developer. I have SQL Developer version 3.1.07.42 and I have also installed the CVS extension.
    I can connect to our CVS server through sspi protocol and external CVS executable and am able to check out modules.
    Below is the scenario where I am facing some issue:
    I open the design from the checked out module and make changes and save it. In the File navigator, I look for the files that have been modified or added newly.
    This behaves rather inconsistently in the sense that even after clicking on refresh button, sometimes it does not get refreshed. Next I try to look for the changes in Pending Changes(CVS) window. According to the other posts, I am supposed to look at the View - Data Modeler - Pending Changes window for data modeler changes but that shows up empty always( I am not sure if it is only tied to Subversion). But I do see the modified files/ files to be added to CVS under Versioning - CVS - Pending Changes window. The issue is that when I click on the refresh button in the window, all the files just vanish and all the counts show 0. Strangely if I go to Tools - Preferences - Versioning - CVS and just click OK, the pending changes window gets populated again( the counts are inconsistent at times).
    I believe this issue is fixed and should work correctly in 3.1.07.42 but it does not seem to be case.
    Also, I m not sure if I can use this CVS functionality available in SQL Dev for data modeler or should I be using an external client such as Wincvs for check in/ check out.
    Please help.
    Thanks

    Hi Joop,
    I think you will find that in Data Modeler's Physical Model tree the same icons are used for temporary Tables and Materialized Views as in SQL Developer.
    David

  • Why is my iphone 3gs using excessive data?

    why is my iphone 3gs using excessive data?

    Check your (push) notifications.
    Settings > Notifications > Look at what applications are pushing information to your phone. Turn off the applications' notifications that you don't care about.
    Settings > Email > Check how often your phone is checking email and sending it to you. Push will use the most data. Data usage goes down from there.
    Check your running applications.
    From your home screen, double-press the home (physical) button > Hold down an icon until they shake and the "X"s appear on their corners. Hit the "X"s to close out the application.
    Some applications can continue to use your data while running the background even though you are not actively using the application.
    Are you using YouTube?
    YouTube, and any other video application, uses a lot of data.
    Are you using Pandora?
    Music applications can also use up data though not as much as video.

  • Invalid Name Pattern in SQL Developer Data Modeler

    I am using Data Modeler version 3.3.0.747, I have exported a couple of data models (logical and physical) to an Oracle 11.2.0.3 database. I used the Reporting_Schema_Permissions.sql file to define the ID that owns the repository. Each data model that I exported returned the successful export message.
    However when I use Oracle Data Modeler and connect (as a different user) to the repository to generate a report on one of the diagrams I immediately get an error returned. The error is (from the log file in datamodeler\log\datamodeler.log):
    2013-04-19 08:36:12,233 [Thread-18] ERROR ReportsGenerationDialog - Generating report from Reporting Schema exception - invalid name pattern: username.OBJECTS_LIST
    Where username is the name of the ID being used to generate the report (not the repository owner ID).
    I have created public synonyms on the repository tables and views (though I must have missed where that was a requirement) so the repository objects can be seen by other users.
    Has anyone encountered this and if so how did you resolve it. I have searched the web (and the Oracle forums) and so far had no hits on this issue. That seems to indicate that there is something I must have missed in the setup or such.
    Thanks

    Hi,
    I think you didn't grant EXECUTE to package and types. Here is full working script:
    DECLARE
    CURSOR cur IS SELECT table_name, owner FROM all_tables WHERE owner='<owner>';
    BEGIN
    FOR rec IN cur LOOP
    EXECUTE IMMEDIATE 'GRANT SELECT ON '||'<owner>'||'.'||rec.table_name||' to '||'<another_user>';
    EXECUTE IMMEDIATE 'CREATE SYNONYM '||'<another_user>'||'.'||rec.table_name||' FOR '||'<owner>'||'.'||rec.table_name;
    END LOOP;
    END;
    DECLARE
    CURSOR cur IS SELECT view_name FROM all_views WHERE owner='<owner>';
    BEGIN
    FOR rec IN cur LOOP
    EXECUTE IMMEDIATE 'GRANT SELECT ON '||'<owner>'||'.'||rec.view_name||' to '||'<another_user>';
    EXECUTE IMMEDIATE 'CREATE SYNONYM '||'<another_user>'||'.'||rec.view_name||' FOR '||'<owner>'||'.'||rec.view_name;
    END LOOP;
    END;
    DECLARE
    CURSOR cur IS SELECT type_name FROM all_types WHERE owner='<owner>';
    BEGIN
    FOR rec IN cur LOOP
    EXECUTE IMMEDIATE 'GRANT EXECUTE ON '||'<owner>'||'.'||rec.type_name||' to '||'<another_user>';
    EXECUTE IMMEDIATE 'CREATE SYNONYM '||'<another_user>'||'.'||rec.type_name||' FOR '||'<owner>'||'.'||rec.type_name;
    END LOOP;
    END;
    GRANT EXECUTE ON <owner>.pkg_osdm_utils to <another_user>;
    CREATE SYNONYM <another_user>.pkg_osdm_utils FOR <owner>.pkg_osdm_utils;
    There is no document for reporting repository install process. If you are exporting design for first time, the repository is automatically created for you.
    When you get new version of DM you can
    1. Use new repository
    2. Upgrade existing one. If so, the simplest variant is to run /datamodeler/reports/DMRS_Upgrade_Script_<latest_vesrion>. Eventually compile single stored procedure.
    Another variant for upgrade is with running osddm_upgr.sql, but there is some error, which is going to be fixed in the next release.

  • 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

  • PowerPivot removed table replicated into the data model on refresh

    Hey
    I am facing the following problem which is absolutely persistent and annoying in nature. I am using a data model created with PowerPivot with connections to three different SQL servers and 25 tables. The bug is that every time I refresh my data, a table
    that was initially added to the data model (and later removed) is replicated in equivalent number of tables that use this connection, which is currently around 12 tables, so I get 12 duplicates of the same unnecessary table on every refresh, named with the
    name of the schema on the SQL server that is followed by a running number. Removing these from the data model on every refresh simply takes too much time on a daily basis. The additional undesired table which is created is what is defined in the SQL query
    of the connection string of this connection.
    I tried to solve this problem by zipping the Excel file and modifying this SQL statement present in the connection string in the connections.xml file in a way that it would not return anything, but this always leads into a corrupted workbook.
    After encountering this I have managed to avoid this problem by making sure that the initial table I'm adding to the data model will remain in the model, but I really don't want to rebuild this current model. Is there any fix for this issue without
    rebuilding the data model?
    Thanks for all the help in advance!

    I am using 64-bit Office 2013 with the recent SP1 upgrade and the included PowerPivot plug-in on a Windows 8.1 machine.
    I always create the connection by using "From SQL server" then fill in the server and log in details and use a ready SQL statement that I have written by using SQL Server Management Studio to import the initial table. For all the preceding tables
    using the same server and schema, I always select it from existing connections and just paste the SQL queries required for any additional tables to the "Write a query that will specify the data to import", rather than using the table import tool.
    I am not sure if it could have any effect that I've been using the type connection "From SQL server" although the database is really running on Azure (there is a possibility to select From Other sources > Microsoft SQL Azure, but the functionality
    seems the same).
    I don't really understand what I should edit from the existing connections section. Just to clarify, apparently the Connection String parameters can be edited from PowerPivot, but not the Command Text which can be viewed from Excel Data > Connections
    > Properties, but is shown in gray with a message "Some properties cannot be changed because this connection was modified using the PowerPivot add-in."
    In the data model I am using two sets of identical tables, but connected to two different servers that are running a database 1:1 in structure. Initially the problem considered only the other of these, but I accidentally reproduced it by, again, editing
    the SQL query in the table that was initially imported when that connection was created (PowerPivot > Design > Table Properties). Now when refreshing I get tables that are structured as in what the "Connection Text" part of the connection would
    produce, which replicated for the equivalent amount of additional tables using the same connection, so now I'm getting 12 tables (the number of tables using the same connection) each named "*schemaname1* Query", "*schemaname1* Query2",
    "*schemaname1* Query3" "*schemaname2* Query" and so on.
    Personally I can definitely see a pattern here. If there isn't a table matching what has been specified in the "Command Text" that was described when the connection was created, then it for some reason runs this query anyway on every table that
    is using the connection.

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

  • Creating PDF from ERD (Data Modeler) in readable format

    I created an entity relationship diagram (ERD) using Toad Data Modeler.  I want to save/print it to PDF, which I can just fine.  However, it cuts off tables and is very hard to read.  I'm looking for a format to use that will not cut off the tables.  I've played around with various settings, but can't get it to look right.  Are there specific settings I should be targeting so it won't cut off the diagram?  Thank you!

    Thank you.  I've been playing around with the page size, but it still wants to cut off some of my tables, almost as if I can't get the diagram to size into the size of the PDF margins.  I can't seem to find the magic combination so I figured I must be missing a parameter setting somewhere.  Thank you for your time.
    Brian

  • New To SQL Developer Data Modeler - Data Dictionary Report

    I am new to Data Modeler and I am currently learning what I can do and can't with it. Is there a way to generate a "Data Dictionary" report? We would like a report we can distribute that describes all tables and columns with descriptions and comments. We used to use an old version of Power Designer and we could do this from the data model we created. Is it possible to do something like this from SQL Developer Datas Modeler?

    Hi,
    Saxon is just an option, you don't need it by default.
    Could be permissions problem. What are you working on i.e. OS? What java version do you use?
    Even though you have specified directory for the reports do you have permissions to write there?
    Report generation directories priority is:
    1. Custom directory if specified in Settings->Data Modeler->Default Reports Directory
    2. /datamodeler/reports/
    3. User home directory
    You must have permissions somewhere on these directories. On the other hand you are saying that report_data.xml is generated so you have permissions.
    Okay. Now I saw a bug in 710. When you click "Generate report" there are progress dialogs and result dialog, but if you meanwhile click somewhere or change focus, these dialogs are hiding below main "Reports" dialog i.e. you are not seeing them. If you use Alt+Tab the result dialog will popup. This bug is fixed in the next release.
    So you must see either result dialog or error dialog at the end of report generation. If not check with Alt+Tab if it is not hidden somewhere below and if there is no such dialog close the DataModeler and check the log file for some error.
    There is SQL Developer Data Modeler 3.3 Early Adopter Available.
    http://www.oracle.com/technetwork/developer-tools/datamodeler/downloads/datamodeler-33-ea-1869055.html
    Above issue is fixed there and report is opening automatically.
    Edited by: Dimitar Slavov on Nov 29, 2012 11:53 PM

Maybe you are looking for

  • Can't connect sony xr105e handycam

    Hi all, I've just purchased an imac 21.5" i3 with the hope of using it for basic camcorder footage but it does not seem to register when i connect the camera via a usb port. I've read that the camcorder may not be compatible due to the AVCHD encoding

  • Converting images from a Matrox frame grabber to LV?

    How can I convert an image captured with ActiveMIL Lite from a Matrox frame grabber to an IMAQ Vision image? I grab the image in LV using the ActiveMIL Lite functions. After that I will analyse the image using IMAQ Vision. So I have to convert the Ma

  • Password have been changed?.

    I got this mail where its written that my password have been changed but i tried to log in With my password and it worked. So is it changed?

  • Struts.  Using bean:write to access actionForm parameters

    While I am not new to web applications, I am fairly new to Struts. What I am trying to accomplish is to have a read only view of a maintenance form. Instead of using html:input fields to display the values in a form bean, I want to use the bean:write

  • YOUR ITEMS HAVE BEEN CANCELED

    Hi, I would like to have a full explaination about why my purchase was cancelled. Order number: (Removed per forum guidelines) I called in and was told that there was an error on the international shipping information on Best Buy's end and that cause