• 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: Working with Multiple Models
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Working with Multiple Models


  • Subject: Re: Working with Multiple Models
  • From: David Avendasora <email@hidden>
  • Date: Mon, 2 Nov 2009 22:50:45 -0500

To be clear, the DB table names and java class names (as long as the packages are different) can be the same, but the Entity names need to be different.

I always try to keep the DB table, Entity and class name the same, but there's no rule that says you have to (other than the "keep it simple" rule).

Dave

On Nov 2, 2009, at 7:35 PM, Johnny Miller wrote:

That stinks.

Thanks for letting me know.

On Nov 2, 2009, at 2:31 PM, Chuck Hill wrote:


On Nov 2, 2009, at 4:29 PM, Johnny Miller wrote:

Hi,

My particular issue is that I have two models that both have an entity with the same name (User).

Can't. Just flat out can't. Change one of the names.


Chuck



They are in different packages but WO is still confused and is throwing an error about the entity being in a different database ....

Thanks in advance,

Johnny

On Nov 2, 2009, at 2:25 PM, David LeBer wrote:


On 2009-11-02, at 7:18 PM, Johnny Miller wrote:

Hi,

Is there a place where I can find documentation on this subject? The Object Style wiki hasn't completed this section yet.

Thanks in advance,


Is there something specific you wish to know?

;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: 	http://codeferous.com
blog: 	http://davidleber.net
profile:	http://www.linkedin.com/in/davidleber
twitter:	http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org




_______________________________________________ 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

-- Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects









Johnny Miller Kahalawai Media Corp http://www.kahalawai.com



_______________________________________________
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
  • Follow-Ups:
    • Re: Working with Multiple Models
      • From: Johnny Miller <email@hidden>
References: 
 >Working with Multiple Models (From: Johnny Miller <email@hidden>)
 >Re: Working with Multiple Models (From: David LeBer <email@hidden>)
 >Re: Working with Multiple Models (From: Johnny Miller <email@hidden>)
 >Re: Working with Multiple Models (From: Chuck Hill <email@hidden>)
 >Re: Working with Multiple Models (From: Johnny Miller <email@hidden>)

  • Prev by Date: Re: now trying to deploy, get an immediate error, probably a missing resource(s)?
  • Next by Date: Re: NPE from woapplication task at Ant build time
  • Previous by thread: Re: Working with Multiple Models
  • Next by thread: Re: Working with Multiple Models
  • Index(es):
    • Date
    • Thread