on 11-14-2014 2:21 PM
Hi,
I am using PD 16.5. I have a problem with generating DDL for an auxiliary table. It appears in front of the CREATE DATABASE statement. That's not what I want. According to the manual it should be genrated at the end of the DDL because it is an Extended Object. That is also where I want it.
I tried to change the generation order in the DBMS file, but that is not possible for Extended Objects (again according to the manual).
Anyone a suggestion how to solve this. Or is this a bug?
regards
Dirk Verburg
Hi,
There are many ways to control the generation order.
* You can change the item in the XDB (Script\Objects\GenerationOrder) that control in which order the metaclass are distributed in DDL generation.
* Dependencies between object should influence the objects order in DDL generation (ex. View on Tables)
* You also can manually create a traceability link between two objects (regardless metaclass) with type "DBCreateAfter". This will instruct PowerDesigner to respect the order between objects.
In your case, you may need and fill) an extended attribute of type Database on your extended object to create the dependency.
Marc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had several times the problem that even standard objects are not generated in the right order
(i.e view creation before table creation and so on )
The problem is that this is not reproducable behavoir and therefore hard to open a case,
but i would treat this as a bug
regards
dj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes Dirk,
We define several databases for one application in one model.
1. The tablespaces must be connected to one of the databases through the physical option IN. Select the correct database from the list.
2. And then the tables must be connected as usual to the tabespace using the physical options of the table (choose the IN option and then select the tablespace from the list).
But make sure you define the database before you connect the tablespaces.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.