• 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
[WO45] Problem with a new EOQualifier subclass in Java
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[WO45] Problem with a new EOQualifier subclass in Java


  • Subject: [WO45] Problem with a new EOQualifier subclass in Java
  • From: "Labrie, Francis (Liste de distribution)" <email@hidden>
  • Date: Mon, 10 Mar 2003 18:34:23 -0500

Hi,


I've developed a new EOQualifier subclass in Java called
SoundExQualifier that permits SoundEx comparison on a DBMS that support
it like Microsoft SQL Server (i.e. "DIFFERENCE(keyPath, value) >=
similarityLevel").

When I use this qualifier with a simple EOFetchSpecification, it works
like a charm.

But I can't use it with a WODisplayGroup. When the WODisplayGroup method
qualifyDataSource() is called, an exception is thrown:


NSInvalidArgumentException: ***
-qualifierMigratedFromEntity:relationshipPath: cannot be sent to an
abstract object of class
com/genilog/webobjects/eocontrol/SoundExQualifier: Create a concrete
instance!


Why do I get a such exception? I don't implements EOQualifierEvaluation
because I don't want to support in memory fetch, so there is no
evaluateWithObject(Object) method. I've tried to define a
qualifierMigratedFromEntity(EOEntity, String) method too that returns a
SoundExQualifier clone, but it doesn't work. Can anyone help me?


Kind regards,
____________________________________________
Francis Labrie    email@hidden
Montrial, Quibec
Canada
_______________________________________________
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.

  • Follow-Ups:
    • Re: [WO45] Problem with a new EOQualifier subclass in Java
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: WOMailDelivery Error In Code
  • Next by Date: Re: WOMailDelivery Error In Code
  • Previous by thread: Re: WOMailDelivery Error In Code
  • Next by thread: Re: [WO45] Problem with a new EOQualifier subclass in Java
  • Index(es):
    • Date
    • Thread