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.


Topics - localhro2

Pages: [1]
1
All,

We recently transitioned from Oracle to SQL Server 2012 to help with performance issues. Shortly after this, we realized that all of our Association Source and Targets had been trimmed down to 50 characters.

This was not a problem in Oracle but is in SQL Server 2012. Is there something in the Schema that is causing this trimming? If so how can we fix it in the schema or will that break other things?

Any help would be greatly appreciated, SQL Server is much faster but we are forced to work in slow Oracle if this issue can't be fixed.

Thanks,

Sean Conway

2
Automation Interface, Add-Ins and Tools / EA Runs the wrong Jscript
« on: April 01, 2016, 07:06:24 am »
I have a weird script issue that appears every now and then.

When I run the a JScript from a diagram it tries to run a different JScript in the same folder instead. This behavior continues until I restart EA. Then, the correct selected JScript will run normally for a while, but the problem will randomly start back up.

Thanks,

Sean

3
All,

I don't see any documentation on how to use the DiagramObject method ShowInheritedAttributes. Does anyone know how to use them? I've tried setting it as Boolean or integer or even strings without luck. It is not documented in any of the API documentation.

Any ideas or thoughts would be greatly appreciated.

Thanks,

Sean Conway

4
All,

I have a script that looks at a class and then creates a diagram with that class on it and all other classes connected to it via associations, generalizations, etc...

So far it works great, but I also want to automate the Feature and Compartment Visibility, so that I can automatically show notes, wrap Features, and show Attributes on all of the classes on the diagram.

How do you access the feature and compartment visibility from the API? Is it even possible. I would assume it would happen at the Diagram Object level. Am I looking in the wrong API Class??

Any help would be greatly appreciated we are building 1000's of these diagrams so doing it manually will be a chore.

Thanks,

Sean Conway

5
I create a java program that iterates through a selected EA model transforming classes from one modeling standard to another. The program copies the elements in the old standard and then creates the same elements in the new standard. To do this there are a lot of collections called, elements created, and iterations through the model. I continually max out the javaw.exe memory around 1.5 gb. Since I can't use any more memory than this, my program fails.

I know in the past the EA Java API had troubles with memory not freeing up, so I am manually calling

System.gc();
System.runFinalization();

in many parts of my code to try and clean out the unused elements. This doesn't seem to help at all.

I am also trying to destroy unused objects. After each collection is done being used I am manually calling .destroy() to try and free up the memory. Again this does not help at all.

What am I doing wrong? In much older posts from 2007, I see a Repository.Compact() recommeneded, but that method does not seem to exist any more. Any ideas or guidance would be appreciated.

Thanks,

Sean Conway
719-351-4544

Pages: [1]