Skip to Content.
Sympa Menu

grouper-dev - finding groups by attribute value with wildcards

Subject: Grouper Developers Forum

List archive

finding groups by attribute value with wildcards


Chronological Thread 
  • From: Tom Zeller <>
  • To: Grouper Dev <>
  • Subject: finding groups by attribute value with wildcards
  • Date: Thu, 28 Jan 2010 10:44:18 -0600
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; b=YloyVtP48aBzIumBTRpIKX9FhaCN73g+CKNRJt1cS1Mnq8ZfxoLXA1STUzYuG0bmq4 auS6C3xGh5VevQTAy8TA8etqyxMYX0MFuWC047k7hyZ7GsdUOedrsHl9fxRLQNT5d5UE evwtEfUzICjrlKmd7mIpgFa3buCMy3G07ZtKw=

I'd like to find groups using a query "... like value" where I can
specify wildcards in the value.

The Hib3GroupDAO method findAllByApproximateAttr uses "like %value%",
and findAllByAttr uses "= value", but what I need is "like value".

I don't see such a method, is there one ? I'll offer to do the work,
does this sound reasonable ?

My use case is that I'm checking our mail namespace for uniqueness. We
store email addresses as attributes, e.g.
"",
and I
want to find groups based on the mail left-hand-side of the @. The
mail right-hand-sides of the @ are variable and dynamic.

Thanks,
TomZ



Archive powered by MHonArc 2.6.16.

Top of Page