<< Click to Display Table of Contents >> File Locking |
This chapter describes the file locking mechanism when using regular projects (not Collaboration Projects).
If the expression PDMDataCache_[USERNAME].dcf is used, it means this is the data cache file of PlantDataManager with your changes in it.
Remark: The NPO_[DWGGUID].xml files are currently not locked.
Use Cases when using PlantDataManager
This section shows how PlantDataManager handles the locking of the PDMDataCache_[USERNAME].dcf. The following is a list of use cases when using PlantDataManager. 1.Opening the project in PlantDataManager with no existing changes yet 2.Saving first changes in PlantDataManager with no prior changes 3.Closing project with existing changes 4.Opening the project in PlantDataManager with existing changes 5.Opening the project in PlantDataManager with existing changes while the changes are already loaded in PlantDataManager Plugin |
Use Cases when using PlantDataManager Plugin
This section shows how PlantDataManager Plugin handles the locking of the PDMDataCache_[USERNAME].dcf. The following is a list of use cases when using PlantDataManager Plugin. 1.Opening the project in PlantDataManager Plugin with existing changes 2.Opening the project in PlantDataManager Plugin with existing changes while the changes are already loaded in PlantDataManager |
Use Cases when using SQL Server
The uses cases when using SQL Server are essentially the same as when using SQLite. However, PlantDataManager will create the dcf file with xml content which points to a SQL Server database. And the SQL Server database will also be created by PlantDataManager. The behavior of the lock file is the same as with SQLite projects. A small difference compared to SQLite projects is, that the dcf file and the SQL Server databases will not be deleted if the DataCache table is empty (e.g., when all changes are imported). Remark: Make sure the PlantDataManager users have sufficient user rights to be able to create databases on SQL Server. |
Next Chapter: Using Collaboration projects