Database Diagram Cardinality in 11g

I am creating a database diagram in jdev 11g, I can drop foreign key relationships between the table objects, but they always default to * to 0..1
and I can't seem to see a way to change the cardinality. Anyone know how this is done.
Orlando

Hi,
It depends which method you are using to create the FK and the makeup of the underlying columns of the key
Also depends which is your 'source' and 'target' table (when drawing the FK or dragging columns) - source is the '1' side and target is the 'm'
Using the diagrammer you cannot explicitly select the FK line and change the cardinality
Try doing the following in the diagram and see the differences in cardinality:
1. create 2 tables (a, b) with no PK defined
select the FK object in the drawing palette -click on a and drag to b
the Create FK dialog opens and you can create a PK based on any col in 'a' and the same col in 'b' will be used as the FK column (if it doesn't exist in 'b' it will be created.
This is 0..1:M
2. select the FK line and delete it
mark what was the FK column in 'b' as 'connot be null'
select the FK object - again drag from 'a' to 'b'
same FK is created - but this time, as FK column in 'b' is not null - cardinality is 1:m
3. delete the FK again
select the PK reference in 'a' and drag it to 'b'
FK is created in 'b' - 0..1:m and a new column is created for the FK
but if you double click on the FK in 'b' and change the Local Column to the original FK column (that is not null) the cardinality will change to 1:m
(note - click next to col name and a dropdown will appear to allow you to select another column)
4. delete the FK and also delete the PK from 'a'
select a column from 'a' and drag to 'b'
UK is created in 'a' and a FK in 'b' with 0..1:m cardinality
Hope this helps
rgds
Susan

Similar Messages

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

  • 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 :-(

  • Change the cardinality of a database diagram

    Is it possible to change the cardinality in the database diagram. I tried double clicking the lines etc nothing worked. the default that comes up when i put a foreign key is not always right.

    Hi
    When you draw the FK between 2 tables the cardinality is semantically defined depending on the optionality of the foreign key columns in the FK constraint.
    When the Create Foreign Key dialog appears it defaults to creating a new column in the FK table. By default this is set as optional so the FK is created as 0..1:M. If you wish you can check the 'Set new columns to Not Null' box and the cardinality is set as 1:M. You cannot use the diagram to change that cardinality.
    It is not semantically possible to have a M:M in the database and therefore you cannot model this in the diagram (you are doing Physical modeling in the diagrammer)
    It's not possible to change the cardinality in the diagram and have the underlying optionality of the FK columns change. But I have requested this as a result of your question.
    Many thanks for the question
    rgds
    Susan Duncan
    JDeveloper PM

  • 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

  • Problem with Database diagram

    Not exactly a newbie but not a pro,
    Started getting this error when dragging tables from the connections folder to a database diagram. Instead of the "Specify Location" dialog I am getting a "Create as " dialog with
    Business Components Entity Objects
    Business Components Read Only View Objects
    EJB 3.0 Entities
    Java Classes (TopLink persistence)
    as choices with a message that "Some of the objects you have selected can be used to create related objects. Choose the precise set of objects you want to appear on your diagram.
    All selections end in the error.
    Any help appreciated.
    Performing action Visual Properties...[ from oracle.modeler.addin.ModelerEditor ]
    java.lang.NullPointerException
    o.jbo.dt.bcmodeler.bridge.Utils.findOrCreatePackage(Utils.java:187)
    o.jbo.dt.bcmodeler.dragdrop.DBTableSubDropHandler.createJboObjects(DBTableSubDropHandler.java:57)
    o.jbo.dt.bcmodeler.dragdrop.BaseSubDropHandler.dropObjects(BaseSubDropHandler.java:88)
    o.diagram.framework.dragdrop.handler.DelegateChooserDropHandler.dropSelected(DelegateChooserDropHandler.java:386)
    o.modeler.dnd.ModelerTCDropHandler.access$001(ModelerTCDropHandler.java:69)
    o.modeler.dnd.ModelerTCDropHandler$3.run(ModelerTCDropHandler.java:288)
    o.modeler.dif.GraphicAdder.addImpl(GraphicAdder.java:387)
    o.modeler.dif.GraphicAdder.addAndLayoutImpl(GraphicAdder.java:372)
    o.modeler.dif.GraphicAdder.addSelectAndLayout(GraphicAdder.java:348)
    o.modeler.dnd.ModelerTCDropHandler.dropSelected(ModelerTCDropHandler.java:284)
    o.diagram.framework.dragdrop.handler.DelegateChooserDropHandler.drop(DelegateChooserDropHandler.java:150)
    o.diagram.framework.dragdrop.DefaultDropPlugin.drop(DefaultDropPlugin.java:115)
    o.modeler.dnd.ModelerDropPlugin.drop(ModelerDropPlugin.java:100)
    o.diagram.framework.dragdrop.DropTargetHelper.drop(DropTargetHelper.java:188)
    o.diagram.framework.dragdrop.ManagerViewDragAndDropController$MyDropTargetListener.drop(ManagerViewDragAndDropController.java:802)
    j.a.dnd.DropTarget.drop(DropTarget.java:434)
    sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:519)
    sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(SunDropTargetContextPeer.java:832)
    sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropTargetContextPeer.java:756)
    sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:30)
    j.a.Component.dispatchEventImpl(Component.java:4487)
    j.a.Container.dispatchEventImpl(Container.java:2099)
    j.a.Component.dispatchEvent(Component.java:4460)
    j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
    j.a.LightweightDispatcher.processDropTargetEvent(Container.java:4312)
    j.a.LightweightDispatcher.dispatchEvent(Container.java:4163)
    j.a.Container.dispatchEventImpl(Container.java:2085)
    j.a.Window.dispatchEventImpl(Window.java:2478)
    j.a.Component.dispatchEvent(Component.java:4460)
    j.a.EventQueue.dispatchEvent(EventQueue.java:599)
    j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    j.a.EventDispatchThread.run(EventDispatchThread.java:122)

    I saw this problem and I know the solution.
    Delete your Database Connection.
    Then recreate your database connection via Application Navigator...
    Application Resources | Connections | Right Click | New Connection | Database.
    Related thread...
    Re: Oracle JDeveloper 11g Handbook: A Guide to Fusion Web Development

  • How to make tables fully sized in a database diagram?

    Hi,
    This is my first time using JDeveloper. I have been asked to make a database diagram from a database schema for the purposes of printing the diagram out to stick on the office wall, yay Smile
    There are a huge number of tables (100+) and I have got them on the screen, but the problem is that all the tables are the same size and many don't show all their fields. I could manually resize all the tables and shift them around but it would take forever. As I'm being paid for this I thought I should try and find an easier way.
    I tried selecting all the tables and choosing Model->Optimize Shape Size but it didn't work, and I can't see anything else that would do it.
    Thankfully, someone else is going to worry about how to print it out.
    Can anyone help?
    thx
    Adam

    Hi,
    It should be showing the cardinalities unless you've turned the preferences off! You may find that the cardinalities aren't positioned as close to the lines due to the redrawing. If you select one of the FKs you should see two grey lines going from the line to where the cardinalities are, you can then either move them manually or try one of the 'Layout Shapes' options which will relayout your diagram and hopefully move the cardinalities closer to the Fks.
    You can check whether the 'Show Cardinality' property is set to 'True' by selecting one FK and then invoking the context menu and selecting 'Select All This Type' and then in the Property Inspector ensure that the value is set to True.
    Regards,
    Lisa
    You can ignore this I was typing this while you were posting that you had done it!
    Message was edited by:
    Lisa Sherriff

  • How to create one to one relation in database diagram

    Hi!
    I'd like to create a database diagram in JDeveloper 10g. Is there any possibility to create a one-to-one relation between two tables?
    Thanks in advance,
    Jim

    This seems to be the same problem that I am having. I was trying to create a database diagram with tables imported from the database. I have two tables having a 1 --> 0..1 relationship. However when I pulled these tables on to a database diagram , it displayed as a 1 --> * relationship. I also realized that JDeveloper does not allow you to change the cardinality in a database diagram.
    As a workaround, I created a class diagram and named the classes the same as the database tables. Then I used UML connectors to show the relationships with the correct cardinality. Since I did not need to show the column names on the diagram, it was sufficient for my purpose. I hope this bug is fixed soon, otherwise I will have to use some other tool to create database diagrams.

  • Question: how to open a database diagram stored in subversion

    I am new to Jdeveloper and am exploring Jdeveloper 11g TP4 interaction with subversion.
    I created a project and then created a database diagram and added it to subversion.
    On another computer that does not have the same project defined, I would like to access and open the database diagram. I can select the diagram in Subversion Navigator. The database diagram editor does not launch when I choose open from the context menu. Should it?
    I am not grokking something and would appreciate any tips.

    atlr,
    You cannot open the diagram directly from Subversion like that. You need to check out a copy in order to open it.
    Hope this helps,
    John

  • ER - Database related facilities in Database Diagrams (procedures/objects)?

    I am having a look at JDeveloper 11g Preview (11.1.1.0.0).
    Our environment is (still) very much a relational environment using Oracle Forms/Reports (and Designer for analysis/design, not generation).
    I am pleased to note, that materialized views can be "copied online" from a database, which was not possible in JDeveloper 10. But materialized views cannot be represented on a database diagram.
    The Database Diagram tool resembles the Server Model Diagram (SMD) tool in Designer, and it is fine when comparing the two tools. What I could have found useful in Designer, in the SMD tool or otherwise, is to be able to add database functions, procedures and packages to the database diagram.
    Also, representation of database types on the database diagram would be useful. This sort of "dropped out" in Designer :-}
    Taking this thought at step further, it would be useful to have a diagramming tool that could represent dependencies among database objects graphically.
    So, on the whole, a strengthening of the database related diagramming facilities would be appreciated.
    Regards
    Thomas Kirchhoff.

    Hi Thomas,
    Thanks for your feedback.
    In the next technology preview of 11g (TP3) you will be able to represent materialized views on the diagram.
    Unfortunately we cannot add functions, procedures and packages etc to the diagram.. But feedback from users like yourself is useful for future planning. When you talk of 'representation of database types' are you talking PL/SQL or the specific database (aag, XE...)
    What kinds of dependencies would you like to see? We have things like view usages and we are conscious of making diagrams 'too busy'. However, we do provide the diagram annotations: attachment, dependency, link and note for you to annotate your diagrams.
    rgds
    Susan

  • Facing Parse Errors after upgrading database from 10g to 11g

    Hi,
    We are facing parse errors in the SQL's after upgrading database from 10g to 11g.
    Kindly look into below parse errors.
    ********************************** Parse Error *****************************************************
    Tue Aug 13 14:13:08 2013
    kksSetBindType 16173533-2: parse err=1446 hd=3c73061fb8 flg=100476 cisid=173 sid=173 ciuid=173 uid=173
    PARSE ERROR: ospid=15598, error=1446 for statement:
    SELECT ROWID,ORGANIZATION_CODE,PADDED_CONCATENATED_SEGMENTS,PRIMARY_UOM_CODE,REVISION,SUBINVENTORY_CODE,TOTAL_QOH,NET,RSV,ATP,ORGANIZATION_NAME,ITEM_DESCRIPTION,INVENTORY_ITEM_ID,ORGANIZATION_ID,LOCATOR_ID,LOCATOR_TYPE,ITEM_LOCATOR_CONTROL,ITEM_LOT_CONTROL,ITEM_SERIAL_CONTROL FROM MTL_ONHAND_LOCATOR_V WHERE (INVENTORY_ITEM_ID=:1) and (ORGANIZATION_ID=:2) order by ORGANIZATION_CODE,SUBINVENTORY_CODE,REVISION, organization_code, padded_concatenated_segments
    Tue Aug 13 14:13:10 2013
    kksfbc 16173533: parse err=942 hd=3c387c4028 flg=20 cisid=3266 sid=3266 ciuid=3266 uid=3266
    PARSE ERROR: ospid=29813, error=942 for statement:
    Select feature from toad.toad_restrictions where user_name=USER or user_name in ( select ROLE from sys.session_roles)
    kksfbc 16173533: parse err=942 hd=3c97d83648 flg=20 cisid=3266 sid=3266 ciuid=3266 uid=3266
    PARSE ERROR: ospid=29813, error=942 for statement:
    SELECT password
    FROM SYS.USER$
    WHERE  0=1
    kksfbc 16173533: parse err=6550 hd=35185e4278 flg=20 cisid=3266 sid=3266 ciuid=3266 uid=3266
    ----- PL/SQL Stack -----
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    319e277050        30  anonymous block
    319e277050        57  anonymous block
    PARSE ERROR: ospid=29813, error=6550 for statement:
    BEGIN sys.dbms_profiler."146775420110782746251362632012"; END;
    kksfbc 16173533: parse err=942 hd=3c142d8600 flg=20 cisid=3266 sid=3266 ciuid=3266 uid=3266
    ----- PL/SQL Stack -----
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    319e277050        67  anonymous block
    PARSE ERROR: ospid=29813, error=942 for statement:
    SELECT 1 FROM plsql_profiler_data WHERE 0 = 1
    Please help.
    Regards
    Suresh

    Hi Suresh,
    Apologies for misunderstanding..
    Tue Aug 13 14:13:08 2013
    kksSetBindType 16173533-2: parse err=1446 hd=3c73061fb8 flg=100476 cisid=173 sid=173 ciuid=173 uid=173
    PARSE ERROR: ospid=15598, error=1446 for statement:
    SELECT ROWID,ORGANIZATION_CODE,PADDED_CONCATENATED_SEGMENTS,PRIMARY_UOM_CODE,REVISION,SUBINVENTORY_CODE,TOTAL_QOH,NET,RSV,ATP,ORGANIZATION_NAME,ITEM_DESCRIPTION,INVENTORY_ITEM_ID,ORGANIZATION_ID,LOCATOR_ID,LOCATOR_TYPE,ITEM_LOCATOR_CONTROL,ITEM_LOT_CONTROL,ITEM_SERIAL_CONTROL FROM MTL_ONHAND_LOCATOR_V WHERE (INVENTORY_ITEM_ID=:1) and (ORGANIZATION_ID=:2) order by ORGANIZATION_CODE,SUBINVENTORY_CODE,REVISION, organization_code, padded_concatenated_segments
    Assuming you see the above error message in the alert log file, which was your original post, follow the below steps:
    1 Get the 'ospid' value from the error
    2. Issue the below command:
    SQL> select request_id,ORACLE_PROCESS_ID
      2 from fnd_concurrent_requests
      3 where request_id = 15598;
    3. After obtaining the request_id
    4, Query it from the front-end using SYSADMIN responsibility
    Hopefully this should get you the respective concurrent report/program.
    Thanks &
    Best Regards,

  • Not able to create a database link using the database gateway of oracle 11g

    HI,
    While trying to create a database link to SQL server from Oracle ,using the database gateway provided with 11g, i am getting the following error while making use of it in selecting columns from tables :
    Error starting at line 1 in command:
    select * from test1@dblink
    Error at Command Line:1 Column:20
    Error report:
    SQL Error: ORA-28513: internal error in heterogeneous remote agent
    ORA-02063: preceding line from DBLINK
    These are the steps i have followed for setting up:
    1.Ran the set up for the Database gateway.and mentioned the SQL server name and database .ALos set up a listener.
    2. Added the following in the Listener.ora of Oraclehome 11/NETWORK/ADMIN:
    LISTENER_SQL_FCD =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST =localhost) (PORT = 1541)
    SID_LIST_LISTENER_SQL_FCD =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME=dg4msql)
    (ORACLE_HOME= D:\app\20537\product\11.1.0\db_3)
    (PROGRAM=dg4msql)
    3.Added the following in tnsnames.ora inOracle home/NETWORK/ADMIN:
    dg4msql=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1541))
    (CONNECT_DATA=(SID=dg4msql))
    (HS=OK)
    4. Following is the entry in initdg4msql.ora in C:\product\11.1.0\tg_5\dg4msql\admin:
    HS_FDS_CONNECT_INFO=10.148.45.242:1433//SalesDemo
    HS_FDS_TRACE_LEVEL=DEBUG
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    5. Created the database link :
    create database link dblink
    connect to "sa" identified by "<pswd>"
    using 'dg4msql'
    On running :select * from test1@dblink i get the following error:
    Error starting at line 1 in command:
    select * from test1@dblink
    Error at Command Line:1 Column:20
    Error report:
    SQL Error: ORA-28513: internal error in heterogeneous remote agent
    ORA-02063: preceding line from DBLINK
    Is there any issue with the set or definition that I get the above error?

    What is the version of the Oracle database in which you have specified/and use the database link?
    If it is for example 10.2.0.3.0 you need to apply the mandatory patch for RDBMS bug 5965763 first before being able to use an 11g gateway. Have a look at MetaLink note 457808.1 for details about this patch.
    Regards,
    Ed

  • SSMS crash when creating new database diagram

    For several years I have been unable to create database diagrams from within SSMS.  I have tried every combination of VS2005, VS2008, VS2012 and VS2013 with every combination of SQL2005, SQL2008, SQL2012 and SQL2014.
    I have installed, uninstalled, and repaired many dozens of times.  I am currently using VS2013 ultimate with SQL2014 express.
    I have tried every related 'workaround' that I can find on the internet.  Still the problem persists.
    Any help would be deeply appreciated.
    Here are the relevant details with file versions:
    In SSMS, I right-click on a database and choose New Database Diagram.  A Blank diagram window appears with the SSMS error dialog:
    ===================================
    Attempted to read or write protected memory. This is often an indication that other memory is corrupt. (Microsoft.VisualStudio.OLE.Interop)
    Program Location:
       at Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
       at Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
       at Microsoft.Internal.VisualStudio.Shell.Interop.IVsTrackSelectionExPrivate.Register()
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConnectSelectionContext()
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Activate()
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.viewManager_ActiveViewChanged(Object sender, ActiveViewChangedEventArgs e)
       at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
       at Microsoft.VisualStudio.PlatformUI.ExtensionMethods.RaiseEvent[TEventArgs](EventHandler`1 eventHandler, Object source, TEventArgs args)
       at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.SetActiveView(View view, ActivationType type)
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ShowInternal(ShowFlags showFlags)
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.<Show>b__26()
       at Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(Func`1 method)
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Show()
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.MarshalingWindowFrame.<Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame.Show>b__7a()
       at Microsoft.VisualStudio.Shell.ThreadHelper.Invoke[TResult](Func`1 method)
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.MarshalingWindowFrame.Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame.Show()
       at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con, String fileName)
       at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection
    con, String fileName)
       at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con, String fileName)
       at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.CreateDesignerWindow(IManagedConnection mc, DocumentOptions options)
       at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.InvokeDesigner(IManagedConnection connection)
       at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.Invoke()
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ToolsMenuItemBase.MenuInvokedHandler(Object sender, EventArgs args)
    Version info taken from Sql Server  Management Studio/Help/About dialog:
    Microsoft SQL Server Management Studio      12.0.2000.8
    Microsoft Analysis Services Client Tools    12.0.2000.8
    Microsoft Data Access Components (MDAC)     6.1.7601.17514
    Microsoft MSXML                             3.0 4.0 5.0 6.0
    Microsoft Internet Explorer                 9.11.9600.17358
    Microsoft .NET Framework                    4.0.30319.18444
    Operating System                            6.1.7601
    DLL versions
    c:\Program Files(x86)\Common Files\microsoft shared\Visual Database Tools
    dsref80.dll  version 12.0.21005.1
    c:\Program Files(x86)\Common Files\microsoft shared\MSDesigners8
    msdds.dll    12.0.21005.1
    msddsf.dll   12.0.21005.1
    msddslm.dll  12.0.21005.1
    msdds.mp.dll 12.0.21005.1
    msddsp.dll   12.0.21005.1
    c:\Program Files(x86)\Common Files\microsoft shared\MSDesigners8\Resources\1033
    msddsui.dll 12.0.21005.1

    Hello,
    There is a Connect item related to this issue. This is the link of that Connect item:
    https://connect.microsoft.com/SQLServer/feedback/details/730985/smss-crashes-when-creating-new-database-diagram
    Try the workarounds posted there (Workarounds section).
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Polling from the database view in BPEL 11g

    Hi,
    We do have a requirement of polling from the database view in BPEL 11g. I am exploring the following polling strategies in our case:
    - Delete
    - Logical Delete
    In case of Delete polling strategy, can we delete the record as the view does not allow deletion. In this case, do we have any other way to achieve this functionality?
    In case of Logical Delete, We have to mark the status column with particular value. how could we achieve the same when the view is not updateable.
    In 10g, we can override the delete polling strategy with an update statement. Is it possible in 11g?
    Thanks & Regards
    Siva

    Hi,
    I am also doing the same thing what you have done, please help me.
    I have used BPEL export utility for exporting my JPDs to BPEL. but it was not a good help, ultimately i m creating a process manually.
    the main problem what is the replacement of control(jcx files)
    please guide me really it would be great help..
    Thanks in advance and hope to hear from you.
    my mail id is [email protected]
    please send some document if you have...

  • Can't connect to Database from Database Adapter in BPM 11g

    I added a database adapter in BPM 11g to the composite.xml. This database adapter is just to load data into a XML document (UI payload). I can’t seem to get a connection to the database. I am getting a error, see below.
    <bpelFault><faultType>0</faultType><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'GetRequestInfoSelect' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. FundsDisbursementProject:GetRequestInfo [ GetRequestInfo_ptt::GetRequestInfoSelect(GetRequestInfoSelect_inputParameters,FdRequestHeaderCollection) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element &lt;connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the &lt;connection-factory/> element: location='jndi/FDF_Database'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '&lt;jndi-name>' element in weblogic-ra.xml has not been set to jndi/FDF_Database. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary></part><part name="detail"><detail>JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element &lt;connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the &lt;connection-factory/> element: location='jndi/FDF_Database'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '&lt;jndi-name>' element in weblogic-ra.xml has not been set to jndi/FDF_Database. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server </detail></part><part name="code"><code>12510</code></part></bindingFault></bpelFault>
    The docs says I need to add an Outbound Connection Pool to to SOA DbAdaptor in WebLogic. The problem is I can’t seem to make my changes take effect. This is the same error recorded here:
    BPEL DB adapter
    The problem is when trying to change the property, xADataSourceName, the changes don’t take effect. I also notice that in our test environment I get a dialog box to change the deployment plan. On my local WLS, I don’t get this dialog box. Either way the changes to xADataSourceName will not take effect.
    There must be a simple solution, I just don’t see it.
    Any help is greatly appreciated.
    Regards,
    Mark
    Edited by: M Peterson on Jul 15, 2010 5:33 AM

    When you enter the xADataSourceName property, did you hit enter on the field? If you simply tab off the field and hit save changes without hitting the enter key then it doesn't record the change to the property.

Maybe you are looking for

  • How do you put text into a photo book?

    I am new to Photoshop Elements, using Elements 11, and my first project is to make a photo book for a recent trip.  I have figured out importing the pictures and titles.  I want to include a 3000 word story on 3 or 4 pages.  I have spent hours trying

  • Stop error on Q180 when trying to install windows 7 professional

    I get the stop error 0x0000007E when i try to start to install windows 7 pro (64-bit), it goes through 2 "windows is loading files" screens after I select the usb drive to boot from. The usb drive was formatted and the image copied onto using the Win

  • NotAllowedError:  Security settings prevent...

    Hello I'm just starting to work with acrobat and javascript. Testing somethings out I created a script : this.importTextData and I get the error below. Any ideas? Thank you! NotAllowedError: Security settings prevent access to this property or method

  • How to change the form's language on startup

    Hello , When I open the form the date field is initialized to a date of today but the the problem is that the date is displayed in Arabic numbers , I want when the form starts the date is displayed in English numbers instead , How can I do that ? Tha

  • Merge in oracle

    I have a table A and Table B. I want to use a merge statement for following 1) If Not matched then update values in Table B from table A. 2) If not matched then insert values from table A to Table B 3) If value is present in Table B and not in Table