Isn't there any other way. I want to avoid toLowerCase(). I want String to be case insensitive for database, but while displaying String to user I would like it to conserve case.. I can compare strings through equalsIgnoreCase. But then I won't be able to make effective use of primary key.
On Jan 17, 11:34 am, jd <[email protected]> wrote: > Just String#toLowerCase() the key when you store them > > On Jan 17, 1:11 am, sahil mahajan <[email protected]> wrote: > > > I am using String as primary key in JDO. But it is case sensitive. It > > considers "name" and "NAME" as different. Can I make it case sensitive? > > > -- > > Regards > > Sahil Mahajan
-- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
