ERDSupport

(Difference between revisions)
(ERD support for Netbeans)
Line 1: Line 1:
__NOTOC__
__NOTOC__
==ERD support for Netbeans==
==ERD support for Netbeans==
-
 
-
<span style='color : red;'> NOTE - This plugin no longer works with NetBeans 6.x - will be '''ported again into NB6.8 soon'''.</span>
 
If you want E/R tooling for NetBeans, please add your vote to {{iz|105075}}
If you want E/R tooling for NetBeans, please add your vote to {{iz|105075}}
Line 8: Line 6:
===Introduction===
===Introduction===
The Goal of this project is visually represent the data model using entity relationships diagrams. Doesn't allows to edit or design E-R diagram.
The Goal of this project is visually represent the data model using entity relationships diagrams. Doesn't allows to edit or design E-R diagram.
-
[http://wiki.netbeans.org/wiki/attach/ERDSupport/erdnetbeans_ERDSupport.png Primary Key]
 
===Features===
===Features===
Line 19: Line 16:
===Types of relationships===
===Types of relationships===
-
* [http://wiki.netbeans.org/wiki/attach/ERDSupport/Oneandone_ERDSupport.png One and One relationships] One to One.
+
* [http://wiki.netbeans.org/wiki/attach/ERDSupport/Oneandone_ERDSupport.png One and One relationships]
-
* [http://wiki.netbeans.org/wiki/attach/ERDSupport/Oneormore_ERDSupport.png One and One relationships] One or more to Many.
+
* [http://wiki.netbeans.org/wiki/attach/ERDSupport/Oneormore_ERDSupport.png One or more to Many relationships]
-
* [http://wiki.netbeans.org/wiki/attach/ERDSupport/Zeroormore_ERDSupport.png One and One relationships] Zero or more to Many.
+
* [http://wiki.netbeans.org/wiki/attach/ERDSupport/Zeroormore_ERDSupport.png Zero or more to Many relationships]
===Icons which represents keys.===
===Icons which represents keys.===
Line 30: Line 27:
;:''It looks like the iconts for Foreign Key and Primary and Foreign Key are the same.  Wrong file uploaded?''
;:''It looks like the iconts for Foreign Key and Primary and Foreign Key are the same.  Wrong file uploaded?''
-
===Run and Use!===
+
===Run and Use===
-
* Download E-R [http://wiki.netbeans.org/wiki/attach/ERDSupport/org-netbeans-erdbeans_ERDSupport.nbm module].
+
* Download E-R
-
* Install using Module Manager in NetBeans 6.0 (the module requires NetBeans 6.0).
+
** [http://wiki.netbeans.org/wiki/attach/ERDSupport/org-netbeans-erdbeans_ERDSupport.nbm module] for NetBeans 5.5
-
;:''Is this '''really''' true?  I just tried it on NetBeans 5.5 and I'm able to create and view an ER diagram with no trouble (so far).''
+
** [http://wiki.netbeans.org/wiki/attach/ERDSupport73/org-netbeans-erdbeans_ERDSupport.nbm module] for NetBeans 7.3
-
;:''To make installation easer the nmb file contains Graph Library classes,this library is supported only by netbeans 6.0 ''
+
* Install using '''Tools|Plugins'''
* Nbm file already contains Graph Library so there is no need to install separately.  
* Nbm file already contains Graph Library so there is no need to install separately.  
* To create ER-Diagram use _New File ...|Persistence|ER-Diagram -  [http://wiki.netbeans.org/wiki/attach/ERDSupport/new_erd_ERDSupport.png new_erd].
* To create ER-Diagram use _New File ...|Persistence|ER-Diagram -  [http://wiki.netbeans.org/wiki/attach/ERDSupport/new_erd_ERDSupport.png new_erd].
Line 42: Line 39:
===How to Build===
===How to Build===
-
 
+
# Start with WorkingWithNetBeansSources
-
 
+
# Clone <code>hg clone http://hg.netbeans.org/main-silver/</code>
-
 
+
# <code>cd main-silver</code>
-
*Check out NetBeans sources using:
+
# Clone <code>contrib</code> i.e. <code>hg clone http://hg.netbeans.org/main/contrib/</code> ''it means contrib directory is in the top directory of main-silver repository''
-
 
+
# ant
-
cvs -D :pserver:<username>@cvstunnel.czech.sun.com:/cvs co standard_nowww
+
# ant -f contrib/o.n.erdbeans/build.xml
-
 
+
-
*Build NetBeans
+
-
 
+
-
Go to NBRootDir/nbbuild directory and run ant build.
+
-
 
+
-
 
+
-
*Build Visual Library
+
-
 
+
-
Go to NBRootDir/graph/lib directory and run ant for building the library.
+
-
 
+
-
*Run Netbans
+
-
 
+
-
Go to NBRootDir/nbbuild/netbeans/bin directory, run netbeans
+
-
 
+
-
* Check out ERD module
+
-
 
+
-
Create a directory somewhere outside of NBRootDir directory tree. Go to the new directory and check out ERD sources using:
+
-
 
+
-
cvs -D :pserver:<username>@cvstunnel.czech.sun.com:/cvs co contrib/erd
+
-
 
+
-
 
+
-
*Run ERD Module
+
-
 
+
-
Open under netbeans ERD module and run it
+
-
{{attachments|
+
-
* [[Media:org-netbeans-erdbeans_ERDSupport.nbm]]}}
+

Revision as of 14:04, 14 March 2013

ERD support for Netbeans

If you want E/R tooling for NetBeans, please add your vote to Issue 105075

Introduction

The Goal of this project is visually represent the data model using entity relationships diagrams. Doesn't allows to edit or design E-R diagram.

Features

  • E-R diagram can be created from existing database as well as dbschema file
  • using Graph Library 2.0
  • using dbschema file as data model
  • position of entities(Tables) can be save


Types of relationships

Icons which represents keys.

It looks like the iconts for Foreign Key and Primary and Foreign Key are the same. Wrong file uploaded?

Run and Use

  • Download E-R
  • Install using Tools|Plugins
  • Nbm file already contains Graph Library so there is no need to install separately.
  • To create ER-Diagram use _New File ...|Persistence|ER-Diagram - new_erd.
  • As datasource live connection or dbschema file can be used Datasource.
  • Click right on created file, and choose open.

How to Build

  1. Start with WorkingWithNetBeansSources
  2. Clone hg clone http://hg.netbeans.org/main-silver/
  3. cd main-silver
  4. Clone contrib i.e. hg clone http://hg.netbeans.org/main/contrib/ it means contrib directory is in the top directory of main-silver repository
  5. ant
  6. ant -f contrib/o.n.erdbeans/build.xml
Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo