Difference between revisions of "HowTo:Transfer Data from UBIK 3 to UBIK 4"
(→Create an empty {{UBIK}} 4.0 database) |
|||
Line 26: | Line 26: | ||
=> You might get an MSDTC related error. In that case you need to enable the MSDTC: https://learn.microsoft.com/en-us/biztalk/adapters-and-accelerators/adapter-sql/configure-msdtc-on-sql-server-and-adapter-client | => You might get an MSDTC related error. In that case you need to enable the MSDTC: https://learn.microsoft.com/en-us/biztalk/adapters-and-accelerators/adapter-sql/configure-msdtc-on-sql-server-and-adapter-client | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Transfer the previously copied meta definitions == | == Transfer the previously copied meta definitions == | ||
Line 37: | Line 31: | ||
* Merge & Save the Transport Container to the Environment. | * Merge & Save the Transport Container to the Environment. | ||
=> All the meta definitions should be available in the new {{UBIK}} 4.0 Environment. Now we just have to transfer the instance data. | => All the meta definitions should be available in the new {{UBIK}} 4.0 Environment. Now we just have to transfer the instance data. | ||
+ | |||
+ | == Remove obsolete MetaClasses == | ||
+ | * Some old meta classes have been transferred, but we can just delete them: | ||
+ | ** System.Main.SYSTEMSETTINGS | ||
+ | |||
+ | == Adapt Customizing == | ||
+ | In case your customizing doesn't compile even after removing the obsolete meta classes, this might help. | ||
+ | Some method signatures have changed, so we have to adapt custom code if these methods are used: | ||
+ | |||
+ | * For most View related methods, the parameter "bool sorted" does not exist anymore; it can be removed. | ||
+ | * The method View.Children now doesn't have the parameters "bool sorted" and "bool fullBranchSync" anymore; they can be removed. | ||
+ | * There is a new method View.ChildrenForBranchSync with the same parameters as View.Children (equivalent to having the "fullBranchSync" parameter on true). If you customized View.Children, this one should be customized as well. | ||
+ | * The UBIKClassList does not derive from List anymore. If you're using it as List in your custom code, you have to adapt this, using UBIKClassList instead. | ||
== Make sure all languages are configured == | == Make sure all languages are configured == |
Revision as of 16:29, 15 February 2023
With UBIK® Server version 4.0, much has changed on database level. We had to sacrifice direct downward compatibility with respect to older database versions in order to gain new possibilities (see Dynamic Live Mode).
In order to upgrade a UBIK® Environment from version 3.7 to version 4.0, it is necessary to create a new database and to transfer the data from the old database to the new one. Here's how.