• 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: Horizontal inheritance mismatch between WebObjects 5.4 and 5.3 [ was: SQL generation doesn't conform to entity inheritance]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Horizontal inheritance mismatch between WebObjects 5.4 and 5.3 [ was: SQL generation doesn't conform to entity inheritance]


  • Subject: Re: Horizontal inheritance mismatch between WebObjects 5.4 and 5.3 [ was: SQL generation doesn't conform to entity inheritance]
  • From: Lachlan Deck <email@hidden>
  • Date: Fri, 4 Feb 2011 13:06:13 +1100

On 03/02/2011, at 11:11 PM, Dev WO wrote:

> When I look at ERXModel, I only find
> er.extensions.ERXModel.useExtendedPrototypes
>
> I'm not sure that's what your talking about.
>
> Is this supposed to fix the SQL generation from EntityModeler or prevent the bug at runtime (when there's no external name for parent entity)?
>
> Xavier
>
> On 3 févr. 2011, at 12:39, Mike Schrag wrote:
>
>> I believe you have to opt in to erxmodel (which gives you erxentity).

You might want to try:
er.extensions.ERXModel.defaultEOEntityClassName=com.webobjects.eoaccess.ERXEntity

Take a look at ERXModel._addEntityWithPropertyList

- Essentially, ERXExtensions.defaultModelGroup is ERXModelGroup
- ERXModelGroup.addModelWithPathURL:
  if (er.extensions.ERXModelGroup.patchModelsOnLoad is true) then
    adds a new ERXModelGroup.Model which extends ERXModel

  else if (er.extensions.ERXModelGroup.modelClassName != null) then
    your model class should extend ERXModel

  else you get ERXModel

- ERXModel._addEntityWithPropertyList should give you an ERXEntity by default.

with regards,
-

Lachlan Deck

 _______________________________________________
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: 
 >Horizontal inheritance mismatch between WebObjects 5.4 and 5.3 [ was: SQL generation doesn't conform to entity inheritance] (From: Dev WO <email@hidden>)
 >Re: Horizontal inheritance mismatch between WebObjects 5.4 and 5.3 [ was: SQL generation doesn't conform to entity inheritance] (From: Chuck Hill <email@hidden>)
 >Re: Horizontal inheritance mismatch between WebObjects 5.4 and 5.3 [ was: SQL generation doesn't conform to entity inheritance] (From: Dev WO <email@hidden>)
 >Re: Horizontal inheritance mismatch between WebObjects 5.4 and 5.3 [ was: SQL generation doesn't conform to entity inheritance] (From: Mike Schrag <email@hidden>)
 >Re: Horizontal inheritance mismatch between WebObjects 5.4 and 5.3 [ was: SQL generation doesn't conform to entity inheritance] (From: Dev WO <email@hidden>)
 >Re: Horizontal inheritance mismatch between WebObjects 5.4 and 5.3 [ was: SQL generation doesn't conform to entity inheritance] (From: Chuck Hill <email@hidden>)
 >Re: Horizontal inheritance mismatch between WebObjects 5.4 and 5.3 [ was: SQL generation doesn't conform to entity inheritance] (From: Mike Schrag <email@hidden>)
 >Re: Horizontal inheritance mismatch between WebObjects 5.4 and 5.3 [ was: SQL generation doesn't conform to entity inheritance] (From: Dev WO <email@hidden>)
 >Re: Horizontal inheritance mismatch between WebObjects 5.4 and 5.3 [ was: SQL generation doesn't conform to entity inheritance] (From: Chuck Hill <email@hidden>)
 >Re: Horizontal inheritance mismatch between WebObjects 5.4 and 5.3 [ was: SQL generation doesn't conform to entity inheritance] (From: Dev WO <email@hidden>)
 >Re: Horizontal inheritance mismatch between WebObjects 5.4 and 5.3 [ was: SQL generation doesn't conform to entity inheritance] (From: Chuck Hill <email@hidden>)
 >Re: Horizontal inheritance mismatch between WebObjects 5.4 and 5.3 [ was: SQL generation doesn't conform to entity inheritance] (From: Mike Schrag <email@hidden>)
 >Re: Horizontal inheritance mismatch between WebObjects 5.4 and 5.3 [ was: SQL generation doesn't conform to entity inheritance] (From: Lachlan Deck <email@hidden>)
 >Re: Horizontal inheritance mismatch between WebObjects 5.4 and 5.3 [ was: SQL generation doesn't conform to entity inheritance] (From: Dev WO <email@hidden>)
 >Re: Horizontal inheritance mismatch between WebObjects 5.4 and 5.3 [ was: SQL generation doesn't conform to entity inheritance] (From: Mike Schrag <email@hidden>)
 >Re: Horizontal inheritance mismatch between WebObjects 5.4 and 5.3 [ was: SQL generation doesn't conform to entity inheritance] (From: Dev WO <email@hidden>)

  • Prev by Date: Connection Pooling problems
  • Next by Date: Re: AjaxModalDialog.close(context()) being ignored
  • Previous by thread: Re: Horizontal inheritance mismatch between WebObjects 5.4 and 5.3 [ was: SQL generation doesn't conform to entity inheritance]
  • Next by thread: Re: Horizontal inheritance mismatch between WebObjects 5.4 and 5.3 [ was: SQL generation doesn't conform to entity inheritance]
  • Index(es):
    • Date
    • Thread