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.

Similar Messages

  • How to Develop with ADF Business Components for Multiple Databases

    Hi,
    I developed business component by http://www.oracle.com/technetwork/developer-tools/jdev/multidatabaseapp-085183.html tutorial. it was work on mysql and oracle database. In mysql , Set Up Primary Key Generation is only one sequence share betweeen tables. How to make another sequence each mysql table?

    juddi,
    As that article states, the built-in capability of ADF BC uses that single table for all entities (tables) - since it's just a surrogate key, it should not matter. If you wanted different sequences for different entities (tables), that is something you'd have to code for yourself.
    Best,
    John

  • Database no automatic open

    hi master
    thank you for you reply
    master
    when i open my system and open sql plus windows it give me error your database not available
    then i go i enterprise manager and open my datadase and start work
    how my database open automaticly
    please give me idea
    thanking you
    Aamir

    Dear Aamir,
    If you are using Windows platform for your database server, remark this line "SQLNET.AUTHENTICATION_SERVICES=(NTS)" in SQLNET.ORA (located in ORACLE_HOME$/NETWORK/ADMIN directory) or change it to SQLNET.AUTHENTICATION_SERVICES=(NONE).
    Regards,
    Reza

  • 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

  • BUG 10.1.3 EA -- BME-99003 in Business Components Diagram with imported EOs

    Following a hands-on exercise in the Oracle JDeveloper 10g Handbook (pages 343 - 345):
    -- Create new application workspace, say HRApp, using default Web Application Template.
    -- Edit Model project properties to create new library with classpath that points to business domain objects in a project folder from a different workspace.
    -- Import the Business Components from the other project's folder, say "businessdomain.xml".
    -- Create a BC Diagram in the Model project of the HRApp application.
    -- Create a new View Object in the BC Diagram by dragging from Component Palette, rename to "JobsView".
    -- Drag entity object representation from new library, say "Jobs.xml" onto View Object.
    -- See error message below.
    Johnny Lee
    Message
    BME-99003: An error occurred, so processing could not continue.
    Cause
    The application has tried to de-reference an invalid pointer. This exception should have been dealt with programmatically. The current activity may fail and the system may have been left in an unstable state. The following is a stack trace.
    java.lang.NullPointerException
         at oracle.jbo.dt.modeler.diagram.dropHandler.BC4JXMLDropHandler.processObjects(BC4JXMLDropHandler.java:82)
         at oracle.bm.addinUtil.IDEAppContext$4.performAction(Unknown Source)
         at oracle.bm.diagrammer.LockMonitor.performLockedAction(Unknown Source)
         at oracle.bm.diagrammer.BaseDiagram.performDiagramLockedAction(Unknown Source)
         at oracle.bm.addinUtil.IDEAppContext.dropNavigatorNodeLater(Unknown Source)
         at oracle.bm.addinUtil.IDEAppContext$5.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Action
    If further errors occur, you should restart the application.
    Also, report the problem on the JDeveloper forum on otn.oracle.com, or contact Oracle support, giving the information from this message.
    ________________________________________________________________________________

    We have not been able to reproduce the exact same error, there would be a problem if we were trying to write to the library file, as those objects are read only, of course. Can you tell me, the entity object that you are referencing, has it ever appeared on a diagram? An easy way to tell, if you don't know is by looking at its XML file and see if it has an ID=some long string entry.

  • 10g: Database Diagram "Unable to Locate Elements For ..."

    Hello,
    In experimenting with JDeveloper 10g Diagram feature (IDE version 9.0.5.13.88), I experienced a rather vexing problem. I wondered if anyone could shed some light onto the issue for me and perhaps even help get it corrected.
    I started off by Upgrading/Converting an existing 9.0.3 project up to 9.0.5. I then created a new Database Diagram (File | New..., General -> Diagrams -> Database Diagram). I then dragged 1 unconstrained view and 2 constrained views onto the diagram. It automatically drew the view links. I arranged the views on the diagram and then closed JDeveloper. I then closed the diagram and the workspace. When I attempted to reopen the diagram, I received the following error:
    Unable to Locate Elements for Adhoc Reporting Model
    In the list were the 3 views and associated viewlinks. Pressing continue yielded a blank diagram, much to my chagrin.
    Any ideas?
    Thanks,
    Sean

    When you mention views, I presume that you mean View Objects, if this correct. I also presume that you dragged and dropped these View Objects from the navigator, and that the View Link that you mention was already visible in the navigator, is this also correct?
    Did you see your view objects in the navigator, when you re-opened JDev? Are they in the same project, as your diagram? The diagrammer should have been able to find the objects, if they are visible in your current project.
    You state that you first shutdown JDeveloper, and then closed your diagram, and workspace, did your diagram re-appear as expected when you opened up JDeveloper, and it was only after closing the diagram, and workspace, and then re-opening the workspace and diagram that you ran into problems?
    Did you save everything, before you shutdown JDeveloper?
    There is no known bug on this, so it would be good to get very specific test steps for this, to enable us to log a bug. Incidentally, why did you chose to create a Database diagram, rather than a Business Components Diagram?

  • 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

  • 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

  • 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

  • Problem migrating database diagram from JDeveloper 10 to Jdeveloper 11

    Hi List,
    I have database diagrams created by use of JDeveloper 10 (files *.oxd_db), but (after automatic migration) they are not displayed as diafram in JDeveloper 11 (they are displayed as xml).
    If I create new diagrams from JDeveloper 10 I get *.db_diagram files.
    Anybody knows how to migrate JDeveloper 10 diagrams to JDeveloper 11?...
    Best regards
    Francesco

    Hi,
    >>>SAP BASIS 7.11 SWC, after importing it from the SLD
    you don't import that from SLD
    import it from TZP file from PI installation DVD
    then it will work
    Regards,
    Michal Krawczyk

  • 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

  • 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

  • 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

  • Database Diagram Tool

    Anyone recommend a tool to produce pretty Database Diagrams?
    Ideally, something that can read our Orcacle 8i Database. i.e. if we add a column - it will automatically add to the diagram (so that the diagram and the database are in sync - I think this is called reverse engineer). Something free or cheap would be nice!

    You are in luck, it's been discussed fairly recently:
    erd diagrams
    ER Diagram

  • Adding tables outside of your schema to Database diagram

    Say, from what I can tell, there is no way to import a table from outside of your own schema user to a database diagram. I can drag tables from my own connection, but if it is a table that I have a public synonym to, no dice?
    Anyone know if this is possible? If not, please add it to the list of enhancements.
    Thanks,
    Joe

    Never mind. I found it. It's not exactly obvious, but if you go to the system navigator and right click on your schema name, do a "import database objects" you can do it.

Maybe you are looking for