yes, with pleasure. although I've never used jira,
http://team.andromda.org:8080/jira seeme to be down
right now.

--- Martin West <[EMAIL PROTECTED]> wrote:

> Hmmm, just reproduced here, is a bug can you please
> jira.
> 
> Thanks
> 
> On Mon, 2005-01-17 at 17:13, Bernard Sirius wrote:
> > OK, I tried what you suggested. now the id
> attribute
> > of the resource hierarchy is duplicated:
> > 
> >     // --------------- super attributes
> > ---------------------
> >     private java.lang.String id;
> > 
> >     /**
> >      * 
> >      *
> >      * @hibernate.id
> >      *     generator-class="uuid.hex"
> >      *     column="ID"
> >      *     type="java.lang.String"
> >      *
> >      * @hibernate.column
> >      *     name="ID"
> >      *     sql-type="VARCHAR(256)"
> >      */
> >     public java.lang.String getId()
> >     {
> >         return this.id;
> >     }
> > 
> >     public void setId(java.lang.String id)
> >     {
> >         this.id = id;
> >     }
> > 
> >   
> >     // ------------- super relations
> > ------------------
> > 
> > ... and here it comes again:
> > 
> >     // --------------- attributes
> > ---------------------
> >     private java.lang.String id;
> > 
> >     /**
> >      * 
> >      *
> >      * @hibernate.id
> >      *     generator-class="uuid.hex"
> >      *     column="ID"
> >      *     type="java.lang.String"
> >      *
> >      * @hibernate.column
> >      *     name="ID"
> >      *     sql-type="VARCHAR(256)"
> >      */
> >     public java.lang.String getId()
> >     {
> >         return this.id;
> >     }
> > 
> >     public void setId(java.lang.String id)
> >     {
> >         this.id = id;
> >     }
> > 
> > ...
> > 
> >     // ------------- relations ------------------
> > ...
> > 
> > 
> > I guess this is clearer for you than it is for me
> ;-)
> > 
> > bernard
> > 
> > 
> > --- Martin West <[EMAIL PROTECTED]> wrote:
> > 
> > > I made Resource interface = interface and
> > > AbstractObject inheritance =
> > > subclass. This puts the associations down a
> level
> > > and may get around the
> > > hiberbate restriction.
> > > 
> > > Could you try that.
> > > 
> > > On Mon, 2005-01-17 at 13:52, Bernard Sirius
> wrote:
> > > > here you are
> > > > 
> > > > > Yeah, figured that from the error messages.
> > > > > 
> > > > > Can you send me the model or an example of
> the
> > > part
> > > > > of the model that
> > > > > creates the error.
> > > > > 
> > > > > Thanks
> > > > > 
> > > > > On Mon, 2005-01-17 at 09:14, Bernard Sirius
> > > wrote:
> > > > > > I forgot to mention that the inheritance
> > > strategy
> > > > > I'm
> > > > > > trying to apply is the "subclass" one.
> > > > > > 
> > > > > > I just tried the "concrete" one, and that
> one
> > > > > worked,
> > > > > > but I understand that hibernate here
> places
> > > the
> > > > > > limitations on allowed polymorphic
> > > associations.
> > > > > > 
> > > > > > bernard
> > > > > > 
> > > > > > --- Martin West
> <[EMAIL PROTECTED]>
> > > wrote:
> > > > > > 
> > > > > > > Bernard, the inheritance support did not
> > > apply
> > > > > any
> > > > > > > constraints that were
> > > > > > > not already there.
> > > > > > > 
> > > > > > > Can you be more explicit please.
> > > > > > > 
> > > > > > > Martin West
> > > > > > > 
> > > > > > > On Sun, 2005-01-16 at 16:55, Chad
> Brandon
> > > wrote:
> > > > > > > > Hey Bernard,
> > > > > > > > 
> > > > > > > > You might want to ask Martin as he's
> the
> > > one
> > > > > that
> > > > > > > added it. 
> > > > > > > > 
> > > > > > > > Chad
> > > > > > > > 
> > > > > > > > -----Original Message-----
> > > > > > > > From: Bernard Sirius
> > > > > > > [mailto:[EMAIL PROTECTED] 
> > > > > > > > Sent: Sunday, January 16, 2005 6:22 AM
> > > > > > > > To: Chad Brandon
> > > > > > > > Subject: RE: [Andromda-user] can't
> choose
> > > > > > > inheritance strategy
> > > > > > > > 
> > > > > > > > thanks.
> > > > > > > > 
> > > > > > > > now the problem is that apparently the
> > > choice
> > > > > of
> > > > > > > an
> > > > > > > > inheritance strategy places
> constraints on
> > > the
> > > > > > > > associations (or does it?).
> > > > > > > > 
> > > > > > > > The only strategy my rather convoluted
> > > model
> > > > > works
> > > > > > > > with it the default one. Pitty
> > > > > > > > 
> > > > > > > > thanks!
> > > > > > > > 
> > > > > > > > bernard
> > > > > > > > 
> > > > > > > > --- Chad Brandon
> <[EMAIL PROTECTED]>
> > > wrote:
> > > > > > > > 
> > > > > > > > > Hi Bernard, it's a bug in the docs
> > > (which
> > > > > we've
> > > > > > > > > fixed in RC1-SNAPSHOT,
> > > > > > > > > anyway the correct docs are here:
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
http://team.andromda.org/docs/andromda-hibernate-cartridge/modeling.html)
> > > > > > > > > 
> > > > > > > > > You'll see its supposed to be
> > > > > > > > > @andromda.hibernate.inheritance
> > > > > > > > > 
> 
=== message truncated ===



                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to