Re: Entity name from class
Re: Entity name from class
- Subject: Re: Entity name from class
- From: email@hidden
- Date: Tue, 9 Aug 2005 13:44:16 +0200
Hello Ken,
could you tell me where can i get the "personInstance" ?
Thank you.
Sako.
----- Original Message -----
From: "Ken Anderson" <email@hidden>
To: "Daniel Eggert" <email@hidden>
Cc: "WebObjectsDev Development" <email@hidden>
Sent: Monday, August 08, 2005 11:15 PM
Subject: Re: Entity name from class
>
> personInstance.entityName();
>
>
> On Aug 8, 2005, at 5:05 PM, Daniel Eggert wrote:
>
> > Is there any way to programatically get the entity name from a class?
> >
> > Let's say I have the class Person, and I want to construct a
> > EODatabaseDataSource dataSource = new EODatabaseDataSource(ec,
> > entityName);
> >
> > How would I go about getting entityName from the Java class Person?
> > Do I really need to hard code entity names into my code?
> >
> > /Daniel
> >
> > _______________________________________________
> > Do not post admin requests to the list. They will be ignored.
> > Webobjects-dev mailing list (email@hidden)
> > Help/Unsubscribe/Update your Subscription:
> > 40anderhome.com
> >
> > 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
>
>
_______________________________________________
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