JDEV 10.1.3 build 3565 database diagram error

The cardinality is inverted on the diagram when a table is referenced from an another schema.
To reproduce
1) create a table with a primary key
2) change the schema by your own
3) don't change the default schema for the project !
4) create an another table with a primary key too
5) add a foreign using the control palette between first and second table
6) check the not null option
the relationship is inverted in the diagram * 0..1 instead of 0..1 *
just change the schema to your own for the second table and the relationship is correctly displayed !

Thanks, I have filed bug 4923919 for this issue.
Regards,
Lisa
JDev QA

Similar Messages

  • Database diagram error

    Hi,
    Viewing SQL Server 2000 tables, when I try to create a database diagram, I get the following error when dragging a table onto the diagram : "columns of type int cannot have a size specified". I can create java classes by dragging the tables across but not an ERD.
    Any suggestions?
    Using 10g on XP. Project is using JDK1.3.2
    Cheers
    Eddie

    Hi Eddie,
    Unfortunately the Database Diagrammer is only supported with Oracle Databases in the current release. The support will be increased in the future to support non-Oracle Databases.
    Thanks,
    Lisa Sherriff
    JDev QA

  • Database Diagram - cannot not open in Jdev 10.1.3.3

    Hello Tech. Analysts,
    I recently downloaded and installed Jdev 10.1.3.3 .
    I can create a database diagram, but I cannot open it. I have tried different methods of opening the diagram; clicking on it, from the menu but nothing works.
    I have an older version on Jdev installed also, but now it cannot open database diagrams either.
    Any help would be appreciated.
    Thx.

    Hi Shay,
    I have got a partial solution to the problem. Basically, I didn't have enough screen real estate. Even though I created the diagram, it didn't come to the foreground automatically, like I expected, when I asked it to open. So what I did was to decrease the size of some of the other windows so there was ' blank' space in the middle of my screen. Then I was able to see the database diagram window, that was hidden behind all the other windows in Jdev.
    Q. Is there a setting in Jdev that automatically brings the a new window to the front , when you open it ?
    Malcolm

  • How to make a 1:1 cardinality in Jdev 102 Database Diagram?

    hello, i want to make a database diagram, and have following problem:
    i need to create a ( 1 :1 ) cardinality between 2 tables, but jdeveloper always shows ( 1 : * ) each time i add a foreign key in table 1 referring to table 2
    question 1:
    anyone know about this?
    question2:
    i have thought maybe i create a EJB diagram with java classes generated from the created tables, and then i determine the cardinality (1:1) between (java class 1) and (java class 2). is that an issue?
    question 3:
    in my database diagram:
    maybe i create 2 foreign keys :
    table1.ID ---------- (1:*) ----------> table2.ID
    table1.ID <---------- (*:1) ---------- table2.ID
    anyone has idea?
    thx for suggestions
    best regards

    hi again,
    oupps , i forgot sthg else to mention:
    the tables will be created directly in the diagram and are not exported as "offline tables" from an existant database
    that means, the cardinality 1:1 does not yet exist , i must create the relation 1:1 directly in the diagram, but i could not :-(

  • JDev 10g : Database Diagram exception while dragging table to diagram

    I added a new "Database Diagram" to my project. Then i try to drag a table on it from a database connection node in the "Connections - Navigator".
    the following exception occurs:
    Message
    Character literals must be enclosed in single quotes
    Cause
    Action
    I have this problem with all tables in the schema. When i use tables from another schema it works.

    I've logged bugs 3580537 - error message needs to identify erroneous object; 3580690 - single word character literals do not need to be quoted

  • [bug 10.1.3 EA1 Database Diagram]  edit error after schema change

    If you change the schema of a table definition in a Database Diagram and then attempt to edit the table definition, you get the following error:
    Editing is disabled.
    Error opening <table_name> - duplicate object definitions exist on the database path.
    The current node is: <path to .table file in old schema folder>
    Operations are diabled on all but the first object found on the database path: <path to .table file in new schema folder>
    Workaround is to close JDeveloper and re-open. Table definitions are then editable.
    Johnny Lee

    Thanks for reporting this Johnny.
    I was able to reproduce the problem in the EA1 release but it is working correctly in the latest build.
    Thanks again,
    Lisa
    JDev QA

  • Database diagram not displaying foreign keys

    I've created a database diagram by importing tables from a database, and then manually creating the Foreign Keys on the diagram ( they're logical FKs, but not actually on the database ).
    Now, when I reopen the diagram, the 'Structure' tab in the bottom LHS initially displays a list of all of the FKs and tables, and then the list shrinks to just 3 of the 15 or so FKs ( plus the tables ), and only these 3 are displayed on the diagram!
    I can post the diagram file if someone wants to go through it and find out the problem.
    The diagram was created in 10.1.3.1, and will not open correctly in either 10.1.3.1 or SU4.
    *

    Liam,
    Can you zip me up you project so that I can take a look?
    Can you rename the zip file extension to '.zap' to get it through the mail server.
    My email address is [email protected]
    Regards,
    Lisa
    JDev QA

  • Errors encountered using Database Diagram in JDeveloper 11g

    Tried to bring an existing MySQL 5.0 database schema into Database Diagram in JDev. Several problems encountered as listed below:
    1. For any columns that are with VARCHAR type and the length is greater than 255, I got "Display Width must be less than or equal to 255". Why JDeveloper sets such limitation even the DBMS allows? What I can do with it? I only want to do the ER modeling or do the reverse engineering here.
    2. I also got "A Foreign key constraint must define at least one column" for some tables that do have FK defined properly. The message seems suggest there is FK defined on NO column. It's not possible to create any constraint without specifying corresponding column(s) in the first place. So I feel this is a misleading message. But what's the really problem behind?
    Has anybody run into this? Any input is highly appreciated! Thanks.

    The details of the error code is like this:
    java.lang.ArrayIndexOutOfBoundsException: 4
         at oracle.jdbc.driver.T4C8TTIdty.marshal(T4C8TTIdty.java:465)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:329)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:490)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:202)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:474)
         at oracle.jdeveloper.db.adapter.AbstractConnectionCreator.getConnection(AbstractConnectionCreator.java:117)
         at oracle.jdeveloper.db.adapter.DatabaseProvider.getConnection(DatabaseProvider.java:233)
         at oracle.jdeveloper.db.adapter.DatabaseProvider.getConnection(DatabaseProvider.java:156)
         at oracle.jdevimpl.db.adapter.CADatabaseFactory.createConnectionImpl(CADatabaseFactory.java:60)
         at oracle.javatools.db.DatabaseFactory.createConnection(DatabaseFactory.java:372)
         at oracle.javatools.db.DatabaseFactory.createDatabase(DatabaseFactory.java:142)
         at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:633)
         at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:560)
         at oracle.dbtools.raptor.utils.Connections$ConnectionInfo$ConnectRunnable.doWork(Connections.java:1083)
         at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:161)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:615)
         at java.lang.Thread.run(Thread.java:595)
    I'm using JDeveloper 11g Technology Preview 3 to connect and got this error. I've try Jdeveloper 10g version 10.1.2, it can connect successfully.

  • Business Components diagram to Database Diagram AUTOMATICALLY Please.

    Hello,
    We are using Jdev 10.1.2 and we have a beautiful business components diagram with all the entities and associations and would like to generate automatically a database diagram from that beauty, without effectively creating the tables. We wish to have a look at the data definition language script to be sure that we get what we expect, when we generate the tables.
    Does anyone have any idea how to proceed ?
    Thanks a lot for your co-operation.
    Peace and Love to all of you !!!
    Jacques

    Jacques,
    In JDeveloper 10.1.2, you will need to generate tables from your Entity Objects to the database first and then either drag and drop the tables from the Connections Navigator to the diagram, or import them to the Offline Database, and then drag them to the diagram from the Applications Navigator.
    We are working on better integration between Business Components and the Offline Database/Database Modeling in future versions of JDeveloper.
    - John.

  • How to print the the database diagram?

    Hello,
    I am using Jdev 10.1.3.2.0.
    I've created a data diagram for my project, from which we create our datamodel.
    Is there a way that we can print the database diagram, a HTML type containing tables, fields, Primary Keys, Foreign Keys, etc.?
    The only option I've found so far is publish the diagram as a png.
    Thanks in advance,
    Regards Leon

    Hello John,
    I should rephrase that to export.
    I'm looking for the type of functionality like creating the Javadoc for UML. Clickable maps which go to the table definitions etc.
    Regards Leon

  • Where are my database diagrams - 10g - 11g migration ???

    Hi all,
    Can anyone please HELP me in locating/recovering my tables in my database diagrams.
    I had my tables designed in JDeveloper 10g (10.1.3.10.3984 build JDEVADF_10.1.3.1.0_NT_061009.1404.3984) and had 11g Studio 111 installed yesterday day.
    When started 11g I was prompted to migrate my existing projects, I clicked yes. The migration returned with a couple of errors which I didn't quite understand.. Sorry I forgot to make a note.
    Now I open my database diagrams all I have got left are the "note" items. What have happend to my tables and sequences? I went back to 10g I saw the same thing.
    Is possible to recover the 10g diagrams in 10g/11g? Please advise
    Thanks in advance
    Hien

    Hello Hien,
    There is a specific forum for 11g issues (JDeveloper and OC4J 11g Technology Preview ); however, it's documented in the release notes for the 11 technology preview that migration from 10g is not supported IN THE PREVIEW.
    Regards,
    John

  • Databased diagram and business components

    Hi,
    I am using Jdev release 1 (11.1.1.3.0) to create a database diagram out of the BC entities. I would have thought that as long as i had specified ERD notation, my diagram would not look like UML based one (.e.g associations without crawfoot etc)., but it does.
    Can someone please confirm.
    Thanks,

    What are the Business Packages have to deploy?
    In portal side you need to deploy the below packages.
    ->  BP ERP05 ESS 1.41
    ->  BP ERP05 MSS 1.51
    ->  BP ERP05 COMMON PARTS 1.51
    -> BPERPESSWDA1.50
    ->  BP MSS ADDON 1.0
    -> BP Recruiter
    -> BP Recruiter Administrator
    If you want implement TMS applications then you required below BP's
    ->  BP ERP TMS 1.51              
    ->  BP ERP05 TALENT DEV 1.01
    And the components should be SP level compatibility with SAP ECC system
    -> SAP ESS
    -> SAP MSS
    -> SAP PCUI_GP
    What are the Business Functions have to deploy?
    You need to activate the below BF's in ECC HR system
    HCM_ESS_CI_1
    HCM_ESS_WDA_1 
    HCM_ESS_WDA_2
    HCM_MSS_WDA_1
    HCM_MSS_WDA_2
    FIN_TRAVEL_1
    FIN_TRAVEL_2
    FIN_TRAVEL_3
    HCM_ASR_CI_1
    HCM_ASR_CI_2
    HCM_ASR_CI_3
    HCM_ECM_CI_1
    HCM_ECM_CI_2
    HCM_LSO_CI_1
    HCM_LSO_CI_2
    HCM_LSO_CI_3
    HCM_OSA_CI_1
    HCM_OSA_CI_2
    HCM_PD_UI_1
    HCM_TMC_CI_1
    HCM_TMC_CI_2
    CA_HAP_CI_1
    HCM_OSA_CI_1
    HCM_OSA_CI_2
    HCM_TMC_CI_1
    HCM_TMC_CI_2
    HCM_HCP_CI_1
    HCM_ECM_CI_2
    HCM_ERC_CI_4
    HCM_PD_UI_1
    FIN_CO_MSSBUA_NWBC
    FIN_REP_SIMPL_1
    ERP_ENTERPRISESEARCH
    What are the Business Components have to deploy?
    In ECC side import the addon components based on your system component levels.
    MSS Addon 1.0
    ERECRUTIMENT

  • 10G preview java excpection in database diagram

    I got java exception event i import tables into a package and a database diagram or drag them (multiselect) from schema structure into a database diagram. After this exception the relationships are no more present into the diagram and it is impossible to continue with another tables.
    Is it somebody tracking bug in 10g ?
    Are interesting by more details ?
    Are you planing updates on the fly (check for updates option by example) to correct our installation periodically ?

    First i created a new workspace and new empty project. Afterthat i create a connection to my database and test sucessfully. In the new project i created a new database diagram and move the connection pane and open the list of tables (tree). I selected the first occurence and go to the last, press the shift key and select the last also. So all the tables in the schema were selected. I dragged all the tables directly into the diagram. Some of them was correctly added in the diagram but the process did not fully complete.
    After i deleted all and do the same the import wizard with something like the same problem. I'm not sure that i really deleted the files from the disk so i will not confirm that the problem was exactly the same. I will reproduce and give you more information.
    the database is 9.2.0.3.0
    the os for both in windows xp sp1 (on the same machine for db and jdev)

  • Database diagram issue

    Hi,
    In the database diagram, the datatype of the fields are displayed even if the "show datatype of the column" option is unchecked. Is this a bug? Please let me know.
    Thanks

    Yes this is bug 4613035 and is fixed for the 10.1.3.1 release.
    Regards,
    Lisa
    JDev QA

  • Locate table in complex database diagram

    Hi All,
    If I have a database diagram of over 300 tables is there a quick way to locate an individual table by its name ?
    Ronnie

    Hi Ronnie
    I can't give you exactly what you're looking for, but maybe a suggestion that will help under JDev 10.1.3.
    If you have a diagram open, and the Structure Window open, the structure window lists all the items included in the diagram. Right clicking on the Structure Window allows you to resort the list in order of item types, as well as "Find Element in Diagram" which leaps to the item you're interested in.
    Hope this helps.
    CM.

Maybe you are looking for