-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Protect the diagrams from a change in server version
* Should the server version be changed, diagrams that are open or already have been opened will have elements that have been cached. Such caches cause exceptions since they contains models comprising of runtime specific language objects, which are not common between runtime clients. Thus, can cause class cast exceptions in the query service * ModelerCore * Ensure editors are closed upon a change of server version * DiagramEntityManager * Clear the diagram cache on change of version * SqlMappingRootCache * Clear the mapping caches on change of version * DqpPlugin * PreviewModelObjectLabelProvider * Initialise the default server version as early as possible to avoid an unnecessary server version change
- Loading branch information
Paul Richardson
committed
Feb 4, 2013
1 parent
d275bda
commit 131447e
Showing
7 changed files
with
99 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters