UNIFACE 8.1.01 - Migrating from UNIFACE 7

[back to index]

Note: The term Business Object Model is named 'Application Model' in the UNIFACE Beta release.

Changes to .asn and .ini files

Repository Migration

Steps to take

The Migration Process

Migration FAQs


Changes to .asn and .ini files

In UNIFACE 8.1.01 the setting "demandload=..." in the .ini-file is no longer used.
UNIFACE 7.2 needed this setting to find the entry points of UNIFACE DLL's. In UNIFACE 8 this information is stored within ULIB.DLL.

Versions of database drivers could be modified in UNIFACE 7.2. by changing the "demandload=..." setting. In UNIFACE 8.1.01 the versions are stored in the section [driver_settings] of the .asn file, e.g.:

[driver_settings]
ORA = U4.1

meaning that the UNIFACE 4.1 Oracle driver is used for accessing Oracle databases.

Non-UNIFACE DLL's could be added to the "demandload=..." or "preload=..." setting in the [userdlls] section in UNIFACE 7.2, which is also obsolete in UNIFACE 8.1.01.
There is a new .asn-section called [user_3gl] which now contains this information.
Example:

[user_3gl]
mydll(function1,function2)
otherdll
thirddll /preload

This illustrates 3 types of use:

Also see: 3GL Signatures


Repository Migration

When migrating UNIFACE V7.2 Applications to V8, your application sources need to be V7.2.05 or higher. If not, use previous migration/upgrade instructions to get to this level.

Migrating your 7.2.05 sources to V8 involves the same steps as when migrating from one maintenance release to the next: Migrating your Repository to V8 means adding values to a V7 Repository to convert it a V8-styled Repository. All new Fields added to the Repository are of type "variable length", which means they will be added automatically by UNIFACE.

There are two ways of migrating to V8:


Steps to take

1. Always make a backup

2. Start the UDE.

3. Make sure you have imported the UDE defaults.

4. Import your .trx or .xml files if nessecary.

5. Go to Goto->Administration->Migrate Repository. You will see the following message:

Click the button "Migrate" to start the migration. Depending on the size of your Repository, the migration process might take some time to complete.

6. Check for possible errors in the Message Frame (View->Message Frame). If you didn't import the default values as mentioned in step 3, you will see error messages in the message line.


The Migration Process

The Migration process performs the following upgrades to your Repository:

For all Entities: