Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: sravang on February 02, 2021, 10:01:46 pm

Title: Where can we find Notes
Post by: sravang on February 02, 2021, 10:01:46 pm
In which database table can we find Notes related to that element in sparx database.

Thanks,
Sravan
Title: Re: Where can we find Notes
Post by: Geert Bellekens on February 02, 2021, 10:13:43 pm
t_object.note

Geert
Title: Re: Where can we find Notes
Post by: sravang on February 02, 2021, 10:18:36 pm
Object_ID
Object_Type
Diagram_ID
Name
Author
Alias
Version
Package_ID
StereoType
Ntype
Complexity
Effort
Style
Backcolor
BorderStyle
BorderWidth
FontColor
BorderColor
CreatedDate
ModifiedDate
Status
Abstract
Tagged
PDATA1
PDATA2
PDATA3
PDATA4
PDATA5
Concurrency
Visibility
Persistence
Cardinality
GenType
GenFile
Header1
Header2
Phase
Scope
GenOption
GenLinks
Classifier
ea_guid
ParentID
Runstate
Classifier_guid
TPos
Isroot
IsLeaf
Isspec
IsActive
StateFlags
PackageFlags
Multiplicity
StyleEx
ActionFlag
EventFlag.

These are the columns I see in t_object table. I don't see note in t_object table
Title: Re: Where can we find Notes
Post by: qwerty on February 02, 2021, 10:39:52 pm
That's what EA shows you. Be explicit and use Note as Notes in the query as result column.

q.
Title: Re: Where can we find Notes
Post by: sravang on February 02, 2021, 10:48:25 pm
That worked.

Thanks,
Sravan
Title: Re: Where can we find Notes
Post by: Geert Bellekens on February 02, 2021, 11:54:31 pm
These are the columns I see in t_object table. I don't see note in t_object table
That is because you are not looking at the actual data, but the data through EA's view.

There is actually an option in the search window that allows you to choose whether to show the full notes, an abstract of the notes, or no notes at all.
If you choose no notes, EA will hide that column from you (based on the name)
Theres similar dark magic that happens with the Object_type field.


Geert