Re: help with eogenerator
Re: help with eogenerator
- Subject: Re: help with eogenerator
- From: Theodore Petrosky <email@hidden>
- Date: Mon, 28 Jan 2008 07:02:00 -0800 (PST)
Okay.... so this is what I understand to be correct:
Name: NewEntity
Table: newentity
Class Name: com.test.eo .NewEntity
And indeed this works as I just tested it.
Ted
--- John Huss <email@hidden> wrote:
> Java convention is that classes are ALWAYS named in
> camel case, so your
> class should be: com.test.eo.NewEntity
>
> John
>
> On Jan 28, 2008 8:45 AM, Theodore Petrosky
> <email@hidden> wrote:
>
> > Because I am using postgresql and I have the name
> > folding issue, I usually set things up like this.,
> >
> > Name: NewEntity
> > Table: newentity
> > Class Name: com.test.eo. newentity
> >
> > I have always used lowercase for both table names
> and
> > column names as I don't have to worry that I will
> have
> > a problem with case folding. If this is "Wrong"
> let me
> > know.
> >
> > Ted
> >
> > --- "Simon J. Oliver" <email@hidden>
> wrote:
> >
> > > BTW, I'm not sure it matters what the table name
> is
> > > - so much as what
> > > the entity name and class name are.
> > >
> > >
> > > On Jan 28, 2008, at 8:09 AM, Theodore Petrosky
> > > wrote:
> > >
> > > > It does indeed appear to be a problem with
> the
> > > > initial cap.... This wasn't a problem before.
> I am
> > > > using postgresql as my backend and it will
> fold
> > > name
> > > > (table and column) to lower case if they are
> not
> > > > quoted.
> > > >
> > > > Which leads me to think I should just use the
> > > Initial
> > > > cap in the table name and not worry about it.
> (It
> > > will
> > > > fold to lowercase when the table is created
> and
> > > during
> > > > a query) Until one day when someone fixes this
> and
> > > the
> > > > table names are quoted in a query and then I
> am
> > > hosed.
> > > >
> > > > Ted
> > > >
> > >
> > >
> >
> >
> >
> >
> >
>
____________________________________________________________________________________
> > Looking for last minute shopping deals?
> > Find them fast with Yahoo! Search.
> >
>
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
> > _______________________________________________
> > 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
> >
>
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
_______________________________________________
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