Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GQL only for Python projects and not for java?

In Google App Engine, GQL(an SQL-like query mechanism foe datastore) is available only for Python Projects and not for java projects. Why is it so?

Also it there anyway to overcome this and use GQL in java projects also?

like image 631
vivek_jonam Avatar asked Oct 08 '22 00:10

vivek_jonam


1 Answers

GQL isn't in the Java implementation and as a replacement you would use the Query object to build datastore queries.

If you're looking for a GQL implementation for Java, gql4j works well enough. I tested it out on a small data set to make sure it works but I haven't used it in a project otherwise.

http://code.google.com/p/gql4j/

like image 138
Michael Celey Avatar answered Oct 18 '22 08:10

Michael Celey