Overview
The following steps are performed in this tool mentor:
Two types of model properties must be set to enable forward engineering of the Data Model to create a database or Data
Definition Language (DDL) file. These properties are:
-
Default Database Target Database Management System (DBMS) (see Setting the Default Database Target
)
-
Default Database Assignment (see Setting the
Default Database Assignment
)
Rational XDE supports forward engineering to the ANSI SQL 92 standard and to the database management systems (DBMS)
listed in the Rational XDE online Help topic Databases
Supported in Rational XDE
.
Reference: Setting Data Modeling Options
.
Rational XDE can be used to forward engineer a Data Model to a new database schema or a new DDL file. You can forward
engineer individual tables or an entire Data Model. Reference: Database and DDL Generation
You initiate the
forward-engineering process using the data modeling Forward Engineering Wizard provided by Rational XDE. (See
Generating Databases or DDLs
.)
Whether you decide to only generate a DDL or to execute the DDL to create a database, Rational XDE creates a DDL file
for you in the directory that you specify in the wizard. The elements that Rational XDE includes in the
forward-engineering process depend upon the options that you selected in the Forward Engineering Wizard. All
elements or DDL scripts are generated according to the specified DBMS. Refer to the following Rational XDE online Help
topics for specifics on the different types of supported DBMS:
-
DB2 Database and DDL Generation
-
Oracle Database and DDL Generation
-
SQL Server Database and DDL Generation
-
Sybase Database and DDL Generation
If you forward engineer an ANSI SQL 92 Data Model, Rational XDE generates a DBMS-independent DDL. You can use the
database tool of your choice to execute this DDL.
In order to perform the forward engineering of the database, Rational XDE must establish a connection to the
appropriate DBMS. See Connecting to Database
Management Systems
for more
information on establishing database connections. Refer to the following Rational XDE online Help topics for
information on establishing connections for a specific DBMS type:
-
Oracle Database Connections
-
SQL Server Database Connections
-
Sybase Database Connections
-
DB2 Database Connections
After the database or DDL has been created, the changes to the Data Model and generated database must be controlled and
managed. Rational XDE provides a Compare and Synchronize feature to assist the database designer in managing
change. Reference: Comparing and Synchronizing in Data
Modeling , Tool Mentor: Managing Databases in Rational XDE.
|