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 - korsbecker

Pages: [1] 2
1
General Board / Re: Filename generate xsd
« on: September 30, 2015, 06:07:49 pm »
Hi VKN

Did that but it does make any difference as far as I can see?

kind regards
henrik

2
General Board / Filename generate xsd
« on: September 29, 2015, 05:07:49 pm »
Hi

In the dialog "Generate XML Schema" in the "Child Package Options" I have to supply filenames for each package! But I have to do this every time I generate! Is there a way to set this filename permanently on the package?

I'm using EA 9.3

kind regards
Henrik

3
General Board / Re: Import DB schema from ODBC source
« on: January 09, 2012, 05:59:43 pm »
Got this from Sparx:

"No.  Unfortunately there is no way to configure EA to automatically delete tables from your data model that no longer exist in the database being imported."

Korsbecker

4
General Board / Import DB schema from ODBC source
« on: December 15, 2011, 07:44:29 pm »
Hi

I'm importing my db schema from odbc source. I offend make changes to the schema but when I reimport the schema deleted table in the schema are not deleted from EA... Is there any way to make EA deleting these automatically?

henrik :-)

5
General Board / how to pass stereotypes with transformations
« on: March 05, 2008, 06:56:09 pm »
Hi

I need to pass a stereotype on an association in my PIM to the generated operation in my PSM. How do I do that!

henrik :-)

6
General Board / Annotations and associations
« on: March 04, 2008, 05:33:16 pm »
Hi

I have a problem with adding annotations on setters for properties coming from associations also I have a problem with generation getters and setters coming from associations.

I have to classes A and B. A got one attribute a1 and I marked it "Property" which secures generation of getters and setters when I generate code and this is fine. Between A and B there is an association. When I generate code directly from the model no getters and setters are generated, it seems that I have to make a transformation in order to get the getters and setter???? Is there any other way of securing generation of getters and setters?

Anyway if the association between class A and B is a one-to-many I need to annotate the setter with the following:


  @OneToMany(
    cascade={CascadeType.ALL},
    fetch=FetchType.EAGER
  )

  @JoinColumn(name="[setter attribute]")

What is the easiest way of doing this?

Henrik :-)

7
General Board / Re: java annotations
« on: February 22, 2008, 05:30:22 pm »
Of course silly me....

hmm that is to bad....

Thnx Luis you have been most helpfull...

henrik :-)

8
General Board / Re: java annotations
« on: February 22, 2008, 12:38:14 am »
Hi... again

Ok I got the annotation on the classes and if I generate code directly from my model the annotation is added to the code so this is fine. But in order to get some real java code (including getters and setters) I need to transform my model to java. I've done this and it seems to work except that my annotations disappear????

Also is there a simple way of adding an attribute to more classes in one operation. i.e. adding an "int id" to several classes?

henrik :-)

9
General Board / Re: java annotations
« on: February 21, 2008, 10:01:25 pm »
Thnx that was very helpfull  :)

henrik :-)

10
General Board / Re: java annotations
« on: February 21, 2008, 09:10:34 pm »
Hi Luis

thnx for the answer

I looked at the "Java convention" page in the help section, but i can't see how this helps me ???

henrik :-)

11
General Board / java annotations
« on: February 21, 2008, 07:32:33 pm »
Hi

I'm a newbie to EA so please forgive my simple question. I'm trying to generate java code from my model and I want to annotate my classes. As far as I understand I should use code templates for this but I can't seem to find any examples on how to manipulate templates, what templates to manipulate!

I found to places in EA where I seem to be able to work with templates: [CTRL]+[SHIFT]+[P] (Code Generation Templates)and [CTRL]+[ALT]+[H] (Transformation Templates) . But no matter what I do I can’t seem to save any changes?? An asterics is always present on the tab no matter how many times I press the save button.
Any suggestions would be much appreciated.

Henrik  :)

12
Bugs and Issues / Re: EA jet database error
« on: March 23, 2012, 04:39:45 pm »
Ok I wasn't aware that the EAP is a ms jet db.. sorry but it still doesn't solve my current problem that I can't access one of my diagrams!

regards
henrik :-)

13
Bugs and Issues / Re: EA jet database error
« on: March 22, 2012, 11:07:49 pm »
There is no "database" involved apart from what might be used internally by EA!!!

henrik

14
Bugs and Issues / EA jet database error
« on: March 22, 2012, 06:45:18 pm »
Hi All

How do I get rid of this message:

http://imageshack.us/f/69/eaerror.jpg/

"the microsoft database engine stopped the process because you and another user are attempting to change the same data at the same time"

There is only one user using this *.eap file, but the users EA crashed just before this error occurred!

regards
henrik :-)

15
Bugs and Issues / Re: Tagged values for relations in diagrams
« on: May 07, 2010, 10:03:59 pm »
thnx

But this seems to work only for tagged values on the hole relations not if the tagged value only references to one of the end points of the relation or am I missing something?

henrik :-)

Pages: [1] 2