• 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: Sometime WebObjects drives me a little crazy!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sometime WebObjects drives me a little crazy!


  • Subject: Re: Sometime WebObjects drives me a little crazy!
  • From: Miguel Arroz <email@hidden>
  • Date: Mon, 26 Jan 2009 22:59:35 +0000

Hi!

Do I see here a nice feature for the WOLips modeler? A new warning like "the attribute name <whatever> may cause conflits with all the underlying stuff"?

  Yours

Miguel Arroz


On 2009/01/26, at 21:49, Chuck Hill wrote:

That depends on the plug-in, not all of them quote.

Chuck


On Jan 26, 2009, at 1:43 PM, JR Ruggentaler wrote:

The JDBC API provides:

   	DatabaseMetaData dbMetaData = connection.getMetaData();
   	dbMetaData.getIdentifierQuoteString();

to quote reserved words. I think EOF uses the appropriate quotes based on the reserved words in the model.

JR

On Jan 26, 2009, at 3:36 PM, Ken Anderson wrote:

And don't use 'desc' instead - messes up Oracle! I always use 'descr' :)

On Jan 26, 2009, at 4:30 PM, Mark Morris wrote:

That was (is) the NSObject's version of toString, so I think it might be okay now that we're in Javaland. But I never use it either, out of habit....

-- Mark

On Jan 26, 2009, at 3:24 PM, Ken Anderson wrote:

Doesn't it still?  I NEVER use it :)

On Jan 26, 2009, at 4:22 PM, Mark Morris wrote:

Back in the old days, an attribute named "description" would cause you grief. ;-)

-- Mark

On Jan 25, 2009, at 9:50 AM, James Cicenia wrote:

Don't feel so bad. I once named a component "Request". Took me a whole day to finally figure out it was the name of the component that fubar'd it.

-James


On Jan 25, 2009, at 6:22 AM, Miguel Arroz wrote:

Hi!

Are you sure you didn't have a spelling mistake? There's no method or anything that might be accessible via key-value called "members" on EOGenericRecord.

Yours

Miguel Arroz

On 2009/01/25, at 11:17, Jake MacMullin wrote:

Anyone know why I can't have a relationship called 'members'?

When I have a flattened many-to-many where one of the relationships is called 'members' and I try to add an object to the relationship with addObjectToBothSidesOfRelationshipWithKey(obj, "members") I get the following cryptic error message:

java.lang.IllegalArgumentException: addObjectToPropertyWithKey: the key members is not null, an NSArray or one of its subclasses - unable to add the value.

Interestingly, I also get a similar error message if I try to add the object to the other side of the relationship. However, if I change the name of my relationship to 'foo' it all works fine.

Of course it took me a few hours to figure this out.... I guess 'members' conflicts with something else.

Cheers,

Jake
_______________________________________________
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

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects- 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



_______________________________________________ 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

_______________________________________________ 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







_______________________________________________ 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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: Sometime WebObjects drives me a little crazy!
      • From: Mike Schrag <email@hidden>
    • Re: Sometime WebObjects drives me a little crazy!
      • From: Chuck Hill <email@hidden>
References: 
 >Sometime WebObjects drives me a little crazy! (From: Jake MacMullin <email@hidden>)
 >Re: Sometime WebObjects drives me a little crazy! (From: Miguel Arroz <email@hidden>)
 >Re: Sometime WebObjects drives me a little crazy! (From: James Cicenia <email@hidden>)
 >Re: Sometime WebObjects drives me a little crazy! (From: Mark Morris <email@hidden>)
 >Re: Sometime WebObjects drives me a little crazy! (From: Ken Anderson <email@hidden>)
 >Re: Sometime WebObjects drives me a little crazy! (From: Mark Morris <email@hidden>)
 >Re: Sometime WebObjects drives me a little crazy! (From: Ken Anderson <email@hidden>)
 >Re: Sometime WebObjects drives me a little crazy! (From: JR Ruggentaler <email@hidden>)
 >Re: Sometime WebObjects drives me a little crazy! (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Sometime WebObjects drives me a little crazy!
  • Next by Date: Re: Eclipse + Subclipse for svn+ssh authentication on OSX
  • Previous by thread: Re: Sometime WebObjects drives me a little crazy!
  • Next by thread: Re: Sometime WebObjects drives me a little crazy!
  • Index(es):
    • Date
    • Thread