Ok Thanks your advices solved my problem with lowercase Comparison.
I still faces issues with these one-character Strings problem, do
you know why, when i try to compare a String Attribute in Datastore to
a one-character String, it throws this java.lang.Character cannot
be cast to
Hi !
I wonder how to compare a String stored in a datastore entity (field
login) to an entry (also named login) considering their lowercase
version :
- I tried : SELECT count(this) FROM +Gestionnaire.class.getName()+
WHERE LowerCase(login)== LowerCase('+login+') which throws an
exception
I have
hi !
I want to set up an initialization script, and i must, in a first
part, check if the appengine datastore is empty.
I tried to send a query, with :
query.setUnique(true);
if(query.execute()==null)
But it throws a null pointer exception.
How to check that my datastore is empty ?
--
You