Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Geert Bellekens

Pages: 1 ... 478 479 [480] 481 482 ... 560
7186
Gordon,

Some tips:

1. I don't think you need to call eaElementPackage.Update() just to add an element in the .Elements connection.

2. 20.000 elements in a single package?!?  :o No wonder it gets slow. Lets put it this way, if you create 20.000 classes in a single namespace/package in code (say Visual Studio) and VS is starting to get slow because of it, are you going to send a bug report to Microsoft? Or are you going to refactor things to reach a bit more sensible numbers.

3. if all else fails, create the element on a different (empty) package,  and then change it's packageID (via an sql query if you have to). That might be a lot faster then adding it to the gigantic package.

4. There's a "new" schema for SQL Server available on the website of Sparx. If you are running EA for years, and you haven't updated the database schema since, it might be worth it.

Geert

7187
Christian,

This is the post I was referring too.

http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1341486101/7#7

Geert

7188
IIRC there a post here somewhere from a Sparxian confirming an issue with the MDG DOORS and some database.

Try searching the forum using the top left button.

Geert

7189
Automation Interface, Add-Ins and Tools / Re: How to use Baseline with dbms
« on: September 20, 2012, 10:52:46 pm »
This document should help you get started:

http://www.sparxsystems.com/downloads/whitepapers/EA_Deployment.pdf

Geert

7190
Automation Interface, Add-Ins and Tools / Re: How to use Baseline with dbms
« on: September 20, 2012, 09:38:54 pm »
There's no difference between EA on a DBMS or EA on .eap file.
Baselines work exactly the same.

Geert

7191
Quote
So answer to question 2 it doesn't help you to install your plugin under HKLM because Sparx searches under HKLU. If you install it on a machine that will be shared among different users you have to install the reg key for the plugin for each user individually. I have learned this using EA on a terminal server.
Micheal,

That information is outdated. They started supporting HKLM in version 8 somewhere (check the release notes to be sure).

Geert

7192
Andreas,

I don't think you can install something for all users without admin privileges. (that would seem logical wouldn't it?)

Geert

7193
Send in a bug report. I don't see any good reason not to fire the event, so it is probably just a bug.

Geert

7194
Quote
Maybe your webmaster should remove that extra search field...
James, it's not my webmaster, I'm just a user like yourself  :)

Geert

7195
Searching for "Composite" in this forum yielded lots of useful results:

In think this one contains the most info: http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1217982429/0

Geert

PS. you have to use the top left search button, not the top right search field.

7196
James,

Look at Element.IsComposite.

I think I mentioned that Repository.Execute is an [highlight]undocumented[/highlight] method. It doesn't show up in intellisense, but it works.

I'll see if I can find that old post again.

Geert

7197
James,

IIRC there is a recent addition to the API that exposes the "make composite" functionality.

If for some reason that doesn't work out, there are a number of (old to very old) posts about this topic that explain how to do it the hard way.

In short it involves using the undocumented method Repository.Execute(SQLString) to execute an SQL command that manipulates data. (insert, update, delete)

Geert

7198
I can't see the image you posted (our lovely internet filter won't allow it) but if you see something then that means that your query works.

It also means I don't have a clue why the other query won't return any results.
Maybe time to call in the cavalry( i.e. send an email to Sparx support)

Geert

7199
Bizarre  :o

Just to verify things, what happens if you use this query?
Code: [Select]
select c.ea_guid as CLASSGUID,c.object_type as CLASSTYPE,c.name as Name, c.stereotype as Stereotype from t_object c
If yo still don't have any results there's something wrong with the way you are editing the SQL Search.

Geert

7200
I'm not sure, could be a difference in database types.
I'm using this search query on an SQL Server 2008 database.

EA version is 9.3.935

Geert

Pages: 1 ... 478 479 [480] 481 482 ... 560