Hi all,

JDO startsWith for Japanese works fine on development server,
but it does not work on production server.

The following url is my test application.
http://2.latest.higayasuo.appspot.com/blog/

Test code:
Query query = pm.newQuery(Blog.class, "content.startsWith(:content)");
List<Blog> blogList = (List<Blog>)
  query.execute(request.getParameter("content"));
request.setAttribute("blogList", blogList);

Blog.java:
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Blog {

    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    @Extension(vendorName = "datanucleus", key = "gae.encoded-pk",
value = "true")
    private String key;

    @Persistent
    private String title;

    @Persistent
    private String content;

    ...
}

My jsp's encoding is UTF-8.

Is there a workaround?

Thanks,

Yasuo Higa

--~--~---------~--~----~------------~-------~--~----~
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 google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to