Re: [Andromda-user] Generated SQL DDL

2005-02-18 Thread Guillaume Lederrey
On Friday 18 February 2005 17.58, Chad Brandon wrote: > [WZ> ] just go into the root of your project and type 'maven' > > If you would open maven.xml you would see the other goals you could run > there Ok, it's becoming clearer to me ... Thanks a lot for all your help. Now the problem I have

RE: [Andromda-user] RE: 1:1 associations

2005-02-18 Thread Chad Brandon
For not-null you can model multiplicities as 0..1 but yes we can add a namespace property that doesn't make not-null the default (just file a JIRA issue for the hibernate cartridge). About the outer join, take a look at the hibernateUseOuterJoin property (http://team.andromda.org/docs/andromda-hib

RE: [Andromda-user] RE: 1:1 associations

2005-02-18 Thread Bernard Sirius
bingo ! that's it. Hey, this is a *huge* improvement for my application! OK, this is the second thing that I don't want AndroMDA to default for me, the first one being setting not-null="true" all over the place. For now, I'm hacking maven code like this: ...but it wo

RE: [Andromda-user] RE: 1:1 associations

2005-02-18 Thread Bernard Sirius
I think I know what causes my queries to "cascade"... Needs checking, but I'd like to have your hearings about this: it's all about the outer-join attribute in the many-to-one, one-to-one, etc... mappings: quoting from the hibernate documentation: The outer-join attribute accepts three differen

RE: [Andromda-user] RE: 1:1 associations

2005-02-18 Thread Chad Brandon
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chad Brandon Sent: Friday, February 18, 2005 7:53 PM To: 'Bernard Sirius' Cc: andromda-user@lists.sourceforge.net Subject: [Andromda-user] RE: 1:1 associations No...only composition associations are by eager

[Andromda-user] RE: 1:1 associations

2005-02-18 Thread Chad Brandon
No...only composition associations are by eagerly loaded...which sets that lazy flag to "false" by the way you can turn off the composition defining eager loading: http://team.andromda.org/docs/andromda-hibernate-cartridge/namespace.html (look for compositionDefinesEagerLoading). That way you can u

RE: [Andromda-user] Generated SQL DDL

2005-02-18 Thread Chad Brandon
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wouter Zoons Sent: Friday, February 18, 2005 9:54 AM To: 'Guillaume Lederrey'; andromda-user@lists.sourceforge.net Subject: RE: [Andromda-user] Generated SQL DDL > -Original Message- > From: [EMAI

RE: [Andromda-user] Generated SQL DDL

2005-02-18 Thread Wouter Zoons
> -Original Message- > From: [EMAIL PROTECTED] [mailto:andromda-user- > [EMAIL PROTECTED] On Behalf Of Guillaume Lederrey > Sent: Friday, February 18, 2005 4:16 PM > To: andromda-user@lists.sourceforge.net > Subject: Re: [Andromda-user] Generated SQL DDL > > > [CB] I'm assuming you've ge

Re: [Andromda-user] Generated SQL DDL

2005-02-18 Thread Guillaume Lederrey
> [CB] I'm assuming you've generated your application using the andromdapp > maven plugin? If so after you build your application, the generated DDL > (since it sounds like you're using hibernate)...will be in project>/app/target Ok, let me try to be more precise ... I generated a base structu

RE: [Andromda-user] Generated SQL DDL

2005-02-18 Thread Chad Brandon
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Guillaume Lederrey Sent: Friday, February 18, 2005 7:26 AM To: andromda-user@lists.sourceforge.net Subject: [Andromda-user] Generated SQL DDL Hello ! I just begun using AndroMDA and I am already addict

[Andromda-user] Generated SQL DDL

2005-02-18 Thread Guillaume Lederrey
Hello ! I just begun using AndroMDA and I am already addicted ! Great tool ! I have a very stupid question : where is the generated SQL DDL, used to create the database ? I'm sure I have seen it somewhere, but I cannot find it again ... At the same time, I'm looking for an example of h

Re: [Andromda-user] AndroMDA - sequence diagrams and statecharts

2005-02-18 Thread Wouter Zoons
> Firt, congratulations to the author(s), andromda is a wonderfull > product/framework! > thanks :-) > i am using androMDA 3.0M3. I have created my own cartridges and i can > successfully parse class diagrams to generate some stuff. OK, cool. > great, you managed to do that without asking any q