• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: EOModel and derived column.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EOModel and derived column.


  • Subject: Re: EOModel and derived column.
  • From: Theodore Petrosky <email@hidden>
  • Date: Wed, 24 Nov 2010 04:25:51 -0800 (PST)

if there were no bug the only difference would be that eogenerator would make the derived column 'allows null'?

should I add a Jira?

Ted

--- On Wed, 11/24/10, Mike Schrag <email@hidden> wrote:

> From: Mike Schrag <email@hidden>
> Subject: Re: EOModel and derived column.
> To: "Theodore Petrosky" <email@hidden>
> Cc: email@hidden
> Date: Wednesday, November 24, 2010, 7:02 AM


> that's just an eogenerator template
> bug …


>
> ms
>
> On Nov 24, 2010, at 2:37 AM, Theodore Petrosky wrote:
>
> > I am reading the Red Webobject 5.0 book and I think I
> finally understand the small section on creating an
> attribute the is derived.
> >
> > (I am using postgresql as the backend)
> >
> > so my User entity has a firstName and a lastName. I
> created an attribute called 'theFullName' as derived
> "firstName || ' ' || lastName", in the advanced tab, I
> choose "Read Only".
> >
> > i assumed that would be enough, however I needed to
> also select 'allows null' in the basic tab. if I didn't,
> User.createUser(yada, yada); required a 'theFullName'
> attribute.
> >
> > My assumption was that as the column is derived and
> read only, I thought the column was special and shouldn't
> need the 'allows null' selection.
> >
> > so, did I do it correctly?
> > as the column is a derived column and read only, why
> do I need to add 'allows null'?
> >
> > I have been creating all these derivatives in java in
> my User.java file, but I thought I would expand my
> understanding and play with some features.
> >
> > now on to stored proceedures.
> >
> > Ted
> >
> >
> >
> > _______________________________________________
> > Do not post admin requests to the list. They will be
> ignored.
> > Webobjects-dev mailing list      (email@hidden)
> > Help/Unsubscribe/Update your Subscription:
> >
> > This email sent to email@hidden
>
>



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: EOModel and derived column. (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: EOModel and derived column.
  • Next by Date: Snow Leopard Deployment
  • Previous by thread: Re: EOModel and derived column.
  • Next by thread: Re: EOModel and derived column.
  • Index(es):
    • Date
    • Thread