I just took this from the HibernateEntity.vsl:

#if($attribute.required)
     *     not-null="true"
#end

Is that not what you're talking about?

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

> hmmm, but there is no logic in the
> HibernateEntity.vsl. I would have
> expected some code that added hibernate logic
> not_null= as per
>
http://www.hibernate.org/hib_docs/reference/en/html_single/#toolsetguide-s1-2
> 
> 
> On Wed, 2004-09-08 at 15:14, Chad Brandon wrote:
> > Hey Martin,
> > 
> > Nope no need for a tagged value, just define the
> > multiplicity of the attribute as 1 (or don't
> define
> > the multiplicity and it will be assumed to be
> 1)...if
> > you want to make the attribute optional, give the
> > attribute the multiplicity of 0..1.
> > 
> > Chad
> > --- Martin West <[EMAIL PROTECTED]> wrote:
> > 
> > > I cant find any reference to support for the
> > > hibernate not null tag.
> > > I assume something like a tagged value on
> attribute
> > > @andromda.hibernate.notnull
> > > 
> > > Would you like an enhancement jira?
> > > 
> > > 
> > > -- 
> > > Martin West
> > > Head of Product Design and Development
> > > http://www.star-map.net
> > > +44(0)207 318 0308
> > > +44(0)787 968 0096
> > > 
> > 
> > > ATTACHMENT part 2 application/pgp-signature
> > name=signature.asc
> -- 
> Martin West
> Head of Product Design and Development
> http://www.star-map.net
> +44(0)207 318 0308
> +44(0)787 968 0096
> 

> ATTACHMENT part 2 application/pgp-signature
name=signature.asc




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to