[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: 'quote-insensitive' search

Nchst! Then it's not so good. How do you control that the value you are reading is the good one?
You can't predict it using get() and you can't assure to take the correct one from a getAll() (unless, of course, you program for a specific platform).

John Ziniti wrote:

Rafa wrote:

It's not a bad solution, although you only have to keep the true value first. With JNDI you'll get by default the first value(unless you call getAll()).

Keep in mind, however, that which value of a multi-valued attribute
is considered the "first value" is not defined and you should not
depend on it as it could change from release to release, or
depending on the backend in use.