Summary
The Sparx Enterprise Architect stores annotated bookmarks in a specific table, which is not immediately apparent when using the Find in Project functionality or the Query Builder. This article aims to provide the necessary information to query these bookmarks.
Root Cause
The root cause of this issue is the lack of clear documentation on the storage location of annotated bookmarks in Sparx Enterprise Architect. The following factors contribute to this issue:
- Insufficient documentation on the database schema
- Limited filtering options in the Query Builder
- No clear indication of the table name in the Find in Project functionality
Why This Happens in Real Systems
This issue occurs in real systems due to:
- Complex database schemas that are not well-documented
- Limited functionality in the Query Builder or Find in Project features
- Lack of transparency in the storage locations of specific data types, such as annotated bookmarks
Real-World Impact
The impact of this issue is significant, as it can lead to:
- Inefficient searching for specific data, resulting in wasted time and resources
- Difficulty in maintaining and updating the system due to lack of understanding of the underlying data structure
- Frustration among users who are unable to find the information they need
Example or Code
SELECT * FROM t_bookmark
WHERE Notes '' AND Type = 'Annotated Bookmark'
How Senior Engineers Fix It
Senior engineers fix this issue by:
- Consulting the database schema to identify the correct table and fields
- Using SQL queries to directly access the annotated bookmarks
- Creating custom scripts or plugins to extend the functionality of the Query Builder or Find in Project features
Why Juniors Miss It
Junior engineers may miss this issue due to:
- Lack of experience with complex database schemas
- Limited understanding of the Sparx Enterprise Architect data structure
- Insufficient training on the use of SQL queries and database management principles