• 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: Losing my mind
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Losing my mind


  • Subject: Re: Losing my mind
  • From: Ray Ackland <email@hidden>
  • Date: Thu, 18 Mar 2004 15:55:15 +1300

Kent,

Try creating the qualifier with a different method.
ie EOQualifier qual = EOQualifier.qualifierWithQualifierFormat("authLevel = %d", level);


Ray.

On 18/03/2004, at 15:12, Kent Harris wrote:

	public  UserRole userRoleByLevel( int level ) {
		EOQualifier qual = new EOKeyValueQualifier( "authLevel",
		  EOQualifier.QualifierOperatorEqual, new Integer( level ) );

		EOFetchSpecification fs = new EOFetchSpecification( "UserRole",
		  qual, null );

		NSArray userRoles =
		  editingContext().objectsWithFetchSpecification( fs );
		...
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Losing my mind (From: Kent Harris <email@hidden>)

  • Prev by Date: Losing my mind
  • Next by Date: Re: Losing my mind
  • Previous by thread: Losing my mind
  • Next by thread: Re: Losing my mind
  • Index(es):
    • Date
    • Thread