|
DB Visual ARCHITECT 4.0 Designer's Guide
The software and documentation are furnished under the DB Visual ARCHITECT license agreement and may be used only in accordance with the terms of the agreement.
Copyright Information
Copyright © 1999-2007 by Visual Paradigm. All rights reserved.
The material made available by Visual Paradigm in this document is protected under the laws and various international laws and treaties. No portion of this document or the material contained on it may be reproduced in any form or by any means without prior written permission from Visual Paradigm.
Every effort has been made to ensure the accuracy of this document. However, Visual Paradigm makes no warranties with respect to this documentation and disclaims any implied warranties of merchantability and fitness for a particular purpose. The information in this document is subject to change without notice.
All examples with names, company names, or companies that appear in this document are imaginary and do not refer to, or portray, in name or substance, any actual names, companies, entities, or institutions. Any resemblance to any real person, company, entity, or institution is purely coincidental.
Trademark Information
DB Visual ARCHITECT is registered trademark of Visual Paradigm.
Sun, Sun ONE, Java, Java2, J2EE and EJB, NetBeans are all registered trademarks of Sun Microsystems, Inc.
Eclipse is registered trademark of Eclipse.
JBuilder is registered trademark of Borland Corporation.
IntelliJ and IntelliJ IDEA are registered trademarks of JetBrains.
Microsoft, Windows, Windows NT, Visio, and the Windows logo are trademarks or registered trademarks of Microsoft Corporation.
Oracle is a registered trademark, and JDeveloper is a trademark or registered trademark of Oracle Corporation.
BEA is registered trademarks of BEA Systems, Inc.
BEA WebLogic Workshop is trademark of BEA Systems, Inc.
Rational Rose is registered trademark of International Business Machines Corporation.
WinZip is a registered trademark of WinZip Computing, Inc.
Other trademarks or service marks referenced herein are property of their respective owners.
DB Visual ARCHITECT License Agreement
THE USE OF THE SOFTWARE LICENSED TO YOU IS SUBJECT TO THE TERMS AND CONDITIONS OF THIS SOFTWARE LICENSE AGREEMENT. BY INSTALLING, COPYING, OR OTHERWISE USING THE SOFTWARE, YOU ACKNOWLEDGE THAT YOU HAVE READ THIS AGREEMENT, UNDERSTAND IT, AND AGREE TO BE BOUNDED BY ALL OF THE TERMS AND CONDITIONS OF THIS SOFTWARE LICENSE AGREEMENT.
SPECIFIC DISCLAIMER FOR HIGH-RISK ACTIVITIES. The SOFTWARE is not designed or intended for use in high-risk activities including, without restricting the generality of the foregoing, on-line control of aircraft, air traffic, aircraft navigation or aircraft communications; or in the design, construction, operation or maintenance of any nuclear facility. Visual Paradigm disclaims any express or implied warranty of fitness for such purposes or any other purposes.
NOTICE. The Product is not intended for personal, family or household use; rather, it is intended exclusively for professional use. Its utilization requires skills that differ from those needed to use consumer software products such as word processing or spreadsheet software.
GOVERNMENT RIGHTS. If the Software is licensed by or on behalf of a unit or agency of any government, the Licensee agrees that the Software is "commercial computer software", "commercial computer software documentation" or similar terms and that, in the absence of a written agreement to the contrary, the Licensee's rights with respect to the Software are limited by the terms of this Agreement.
Acknowledgements
This Product includes software developed by the Apache Software Foundation (http://www.apache.org). Copyright © 1999 The Apache Software Foundation. All rights reserved.
Table of Contents
Chapter 1 - Working with DB Visual ARCHITECT
Introduction
Key Benefits
Database ConfigurationDatabase Configuration for Java ProjectSupported Database, JDBC Drivers and .NET Drivers
Database Configuration for .Net Project
Supporting Multiple DatabaseAssigning Data Types from Multiple Database
Displaying Data Type based on Default Database
Chapter 2 - Using Wizard
Introduction
Generating Code from Database
Generating Code and Database from ERD
Generating Code and Database from Class Diagram
Chapter 3 - Designing Object Model with UML Class Diagram
Introduction
Creating Object Model with Class DiagramDrawing a Class DiagramDefining Package for Classes
Synchronizing from Data Model to Object Model
Specifying Stereotypes
Specifying Inheritance Strategy
Specifying Collection Type
Defining ORM Qualifier
Customizing SQL
Chapter 4 - Designing Data Model by Entity Relationship Diagram
Introduction
Creating Data Model by Entity Relationship DiagramDrawing an Entity Relationship DiagramSpecifying Primary Key
Synchronizing from Object Model to Data Model
Specifying Index Column
Using the ID Generator
Defining DiscriminatorDefining Discriminator Column for EntityCreating an Array Table
Defining Discriminator Value for ClassDefining an Array TableCreating a Partial Table
Defining an Array Type for Attribute in ClassSplitting TableCopying SQL Statements from Tables
Converting to a Partial TableCopying SQL Statements from Specified Scope
Chapter 5 - Reverse Engineering Classes and Databases
Introduction
Reverse Engineering ClassesReverse Engineering Java Classes to Object ModelReverse Engineering Relational Database
Reverse Engineering Hibernate Model to Object Model
Using ORM PaneUsing Reverse Database Facility
Using ORM Pane
Chapter 6 - Mapping Object Model to Data Model and vice versa
Introduction
Mapping Object Model to Data ModelMapping Classes to EntitiesMapping Data Model to Object Model
Mapping Attributes to Columns
Mapping Data Type
Mapping Primary Key
Mapping Association
Mapping Aggregation
Mapping Composite Aggregation
Mapping Multiplicity
Mapping Many-to-Many Association
Mapping Inheritance/Generalization
Mapping Collection of Objects to Array Table
Mapping Object Model TerminologyMapping Entities to ClassesShowing Mapping by ORM Diagram
Mapping Columns to Attributes
Mapping Data Type
Mapping Primary Key
Mapping Relationship
Mapping Cardinality
Mapping Many-to-Many Relationship
Mapping Array Table to Collection of Objects
Mapping Data Model TerminologyCreating an ORM Diagram from Existing Diagrams
Drawing an ORM Diagram
Showing Attribute Mapping
Supporting Real-time Synchronization
Switching the View of Mapping
|
|
|||||||