For example, export the tables in the database to the powerdesigner diagram.
The following uses oracle as an example:
First, configure ODBC. When configuring the system DSN, select oracle in your lient11g_home1.
In the pop-up window
Data source name, which is optional
Description can be blank
TNS service name, select the Oracle Database Name
User ID is the login name
Till now, We have configured the DSN. Next, we will use this DSN In the PD to connect to the Oracle database, and perform reverse engineering to generate a PD diagram.
Pd -- database-Connect: select the DSN created above, enter the username and password for connecting to the Oracle database, and click Connect!
Pd -- database -- reverse enginner Databse, click OK, and select the database table for reverse engineering!
Refer to the following materials
Http://www.javaeye.com/topic/393508