-
Jul 10th, 2012, 06:06 PM
#1
(spring data mongodb) Unable search a document with special characters, acute accent.
Hey
context :
spring data mongodb : 1.0.2
mongodb java driver : 2.7.2
configuration is OOTB.
findAll() return docs with acute accent successfully
but if i search a doc like this :
Query query = new Query(Criteria.where("docName").is("stringwithééé" ));
Doc doc = this.mongoTemplate.findOne(query, Doc.class);
doc always return null
please, help me.
Xavier.
-
Jul 11th, 2012, 03:14 AM
#2
Have you tried to run the query on the MongoDB shell? We're not messing with the character set anywhere actually…
-
Jul 18th, 2012, 03:49 PM
#3
I isolated my java code and it works.
finaly, it's a jvm environnement problem, sorry.
Last edited by Xavier59; Jul 18th, 2012 at 04:20 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules