Return-Path: X-Original-To: apmail-metamodel-dev-archive@minotaur.apache.org Delivered-To: apmail-metamodel-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0B1ED17F9D for ; Tue, 31 Mar 2015 17:02:54 +0000 (UTC) Received: (qmail 79433 invoked by uid 500); 31 Mar 2015 17:02:54 -0000 Delivered-To: apmail-metamodel-dev-archive@metamodel.apache.org Received: (qmail 79401 invoked by uid 500); 31 Mar 2015 17:02:53 -0000 Mailing-List: contact dev-help@metamodel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@metamodel.apache.org Delivered-To: mailing list dev@metamodel.apache.org Received: (qmail 79388 invoked by uid 99); 31 Mar 2015 17:02:53 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Mar 2015 17:02:53 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 92A0EE17CC; Tue, 31 Mar 2015 17:02:53 +0000 (UTC) From: narahari92 To: dev@metamodel.apache.org Reply-To: dev@metamodel.apache.org References: In-Reply-To: Subject: [GitHub] metamodel pull request: Fix for METAMODEL-128 Content-Type: text/plain Message-Id: <20150331170253.92A0EE17CC@git1-us-west.apache.org> Date: Tue, 31 Mar 2015 17:02:53 +0000 (UTC) Github user narahari92 commented on the pull request: https://github.com/apache/metamodel/pull/13#issuecomment-88172276 Hey, I noticed one thing just now. We can actually use subqueries in from clause at least for JdbcDataContext. Below is the query I ran which was successful. Query query = dataContext.parse("SELECT password as X from (select username,password from AMASS_USER) S"); --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---