• 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: Oracle searching with accented characters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Oracle searching with accented characters


  • Subject: Re: Oracle searching with accented characters
  • From: Andrew Lindesay <email@hidden>
  • Date: Mon, 7 Jun 2010 23:38:11 +1200

Hello Amiel;

I needed to do some connection initialisation with Oracle late last year and was able to successfully implement the "EOAdaptorContext.Delegate" interface and then set my delegate as the default delegate;

	EOAdaptorContext.setDefaultDelegate(MyAdaptorContextDelegate.singleton());

In my implementation of;

	EOAdaptorContext.adaptorContextShouldConnect(..)

I was able to get the new connection, configure it with things I needed and then WO seems to use it.

Not sure where the general approach came from; API browsing, suggestion on here or PW -- maybe PW has something for this sort of thing?

Hopefully shedding some light on your dark day. :)

cheers.

> I am currently in a battle with searching the db and accented characters.
> We have some data having accented characters like pépé
> I need pépé to be included in the result set when I query select * from persons where firstname like '%pe%'
> So I need to set the following on oracle
> alter session set NLS_SORT=GENERIC_M_AI;
> alter session set nls_comp=LINGUISTIC;
> This works but I do not know how to set this with webobjects or if it is even advised. I wonder how you guys handle this using WO?
> Can anyone shed some light on my dark day please?

___
Andrew Lindesay
www.silvereye.co.nz

 _______________________________________________
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

References: 
 >Oracle searching with accented characters (From: Amiel Montecillo <email@hidden>)

  • Prev by Date: Re: Generating Pages completely from Java Code
  • Next by Date: Re: Oracle searching with accented characters
  • Previous by thread: Oracle searching with accented characters
  • Next by thread: Re: Oracle searching with accented characters
  • Index(es):
    • Date
    • Thread