I got this error when querying for an entity that has @Temporal(TemporalType.TIME)
*Field* @Basic @Temporal(TemporalType.TIME) private Date time; *Query * Query q = em.createQuery("select from " + entity.class.getName() + " entity where entity.time=?1"); q.setParameter(1, date, TemporalType.TIME); q.getResultList(); And got error java.lang.IllegalArgumentException: time: java.sql.Time is not a supported property type. at com.google.appengine.api.datastore.DataTypeUtils.checkSupportedSingleValue(DataTypeUtils.java:174) at com.google.appengine.api.datastore.DataTypeUtils.checkSupportedValue(DataTypeUtils.java:155) at com.google.appengine.api.datastore.Query$FilterPredicate.<init>(Query.java:545) at com.google.appengine.api.datastore.Query.addFilter(Query.java:231) at org.datanucleus.store.appengine.query.DatastoreQuery.addLeftPrimaryExpression(DatastoreQuery.java:1138) at org.datanucleus.store.appengine.query.DatastoreQuery.addExpression(DatastoreQuery.java:866) at org.datanucleus.store.appengine.query.DatastoreQuery.addFilters(DatastoreQuery.java:827) at org.datanucleus.store.appengine.query.DatastoreQuery.performExecute(DatastoreQuery.java:228) at org.datanucleus.store.appengine.query.JPQLQuery.performExecute(JPQLQuery.java:77) at org.datanucleus.store.query.Query.executeQuery(Query.java:1489) at org.datanucleus.store.query.Query.executeWithMap(Query.java:1398) at org.datanucleus.jpa.JPAQuery.getResultList(JPAQuery.java:163) Is this unsupported feature, or I am doing some thing wrong !! (With GAE, it is difficult to figure out, weather I am wrong, or unsupported ;) -- Sudhir Ramanandi http://www.ramanandi.org -- 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-j...@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.