|

Smart Development Environment 4.0 User's Guide:
SDE 4.0 User's Guide (for ORM)
The software and documentation are furnished under the Smart Development Environment 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
Smart Development Environment 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.
Smart Development Environment 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.
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
Part 2 - Working with Object-Relational Mapping
Chapter 11 - Introduction to Object-Relational Mapping
Introduction
Key BenefitsChapter 12 - Getting Started with Object-Relational Mapping
Database ConfigurationDatabase Configuration for Java ProjectSupported Database, JDBC Drivers and .NET Drivers
Database Configuration for .NET Project
Specifying JDBC Driver File, .NET Driver File and Adapter FileSupporting Multiple DatabaseChapter 13 - Using ORM Wizard
Introduction
Generating Code from Database
Generating Code and Database from ERD
Generating Code and Database from Class DiagramChapter 14 - Object Model
Introduction
Object ModelsCreating a Class DiagramEnterprise JavaBeans Modeling
Defining Package for Classes
Specifying Inheritance Strategy
Specifying Collection Type
Defining ORM Qualifier
Customizing SQL
Mapping an Object Model to a Data Model
Showing Mapping between Object and Data Models by ORM Diagram
Using ORM Pane
Reverse Engineering Java Classes to Object Model
Reverse Engineering Hibernate Model to Object ModelCreating an EJB Diagram
Defining Primary Key
Creating a Creator Method
Creating a Finder Method
Mapping an Enterprise JavaBeans Model to a Data ModelChapter 15 - Data Model
Introduction
Entity Relationship DiagramCreating an Entity Relationship Diagram
Specifying Index Column
Using the ID Generator
Defining Discriminator
Creating an Array Table
Creating a Partial Table
Copying SQL statements from Tables
Mapping a Data Model to an Object Model
Mapping a Data Model to an Enterprise JavaBeans ModelChapter 16 - Database Schema
Introduction
Generating Data Definition Language and DatabaseGenerating Database from Data ModelMapping Data Model to Data Definition Language
Generating Database from Object ModelChapter 17 - Implementation
Introduction
ORM-Persistable ClassGenerating ORM-Persistable Class from Data ModelMapping Object Model to ORM-Persistable Java Class
Generating ORM-Persistable Class from Object Model
Generating ORM-Persistable Class from DatabaseMapping Classes, Attributes and Data TypeMapping Object Model to ORM-Persistable .NET Class
Mapping Primary Key
Mapping Generalization
Mapping Association and MultiplicityMapping Classes, Attributes and Data TypeEnterprise JavaBean (EJB)
Mapping Primary Key
Mapping Generalization
Mapping Association and MultiplicityGenerating Enterprise JavaBeans from Enterprise JavaBean ModelMapping Enterprise JavaBean Model to Enterprise JavaBeanMapping Entity BeanDeploying Enterprise JavaBean on Application Servers
Mapping Primary Key
Mapping Association and Multiplicity
Mapping Message-Driven Bean
Mapping Session BeanConfiguring Application ServersDeveloping a Client Program
Deploying Beans on the Application ServerParameter Value for Context Environment in JBoss Client Program
Parameter Value for Context Environment in WebLogic Client Program
Parameter Value for Context Environment in WebSphere Client Program
Parameter Value for Context Environment in Oracle Client Program
Parameter Value for Context Environment in JOnAS Client ProgramChapter 18 - Manipulating Persistent Data with Java
Introduction
Using ORM-Persistable ClassModel APIUsing Entity Bean
Persistent API
Running the Sample Code
Running the Script FileCreating an Entity Bean
Loading an Entity Bean
Updating an Entity Bean
Deleting an Entity Bean Instance
Manipulating Association
Creating a Message Driven Bean
Creating a Session Bean
TransactionsChapter 19 - Manipulating Persistent Data with .NET
Introduction
Using ORM-Persistable .NET ClassModel APIApplying .NET Persistence Code to different .NET Language
Persistent API
Running the Sample CodeAppendix D - JDBC and .NET Drivers
Appendix E - Glossary
|
|
|||||||