}
public <O> ObjectQuery<O> getObjectQuery(Class<O> objectClass, String statement) {
try {
// For now we support on SQL
QueryLanguage language = QueryLanguage.SQL;
ObjectQueryKey key = new ObjectQueryKey(objectClass, statement);
ObjectQuery<?> query = null;
if (globalQueryCache != null) {