Can't you just take your input key in the ejb finder method and
always convert it to lower case or uppercase. Then do your search.

Do the same if you provide an ejb create method that takes a string.

Just a quick thought.

At 03:30 PM 3/8/2001 -0800, Jeff Schnitzer wrote:
>I have a primary key which is a string (user's name), and I would like
>it to be case-insensitive.  That is, if there is already a "bob" entity,
>trying to create a "Bob" entity should throw a DuplicateKeyException.
>Is there a way I can do this with Orion?
>
>I vaguely recall reading something in the documentation about this, but
>now I can't seem to find it.  I'm starting to think that I imagined it.
>
>Thanks,
>Jeff


Reply via email to