From commits-return-25413-apmail-cayenne-commits-archive=cayenne.apache.org@cayenne.apache.org Fri Apr 26 12:25:01 2019 Return-Path: X-Original-To: apmail-cayenne-commits-archive@www.apache.org Delivered-To: apmail-cayenne-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by minotaur.apache.org (Postfix) with SMTP id 7F22218A05 for ; Fri, 26 Apr 2019 12:25:01 +0000 (UTC) Received: (qmail 52481 invoked by uid 500); 26 Apr 2019 12:25:01 -0000 Delivered-To: apmail-cayenne-commits-archive@cayenne.apache.org Received: (qmail 52467 invoked by uid 500); 26 Apr 2019 12:25:01 -0000 Mailing-List: contact commits-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cayenne.apache.org Delivered-To: mailing list commits@cayenne.apache.org Received: (qmail 52458 invoked by uid 99); 26 Apr 2019 12:25:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Apr 2019 12:25:01 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 659A0E2B35 for ; Fri, 26 Apr 2019 12:25:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2225D25814 for ; Fri, 26 Apr 2019 12:25:00 +0000 (UTC) Date: Fri, 26 Apr 2019 12:25:00 +0000 (UTC) From: "Nikita Timofeev (JIRA)" To: commits@cayenne.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CAY-2565) Can't use new generated PK properties with dot() operator MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAY-2565?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Nikita Timofeev updated CAY-2565: --------------------------------- Fix Version/s: 4.2.M1 > Can't use new generated PK properties with dot() operator > --------------------------------------------------------- > > Key: CAY-2565 > URL: https://issues.apache.org/jira/browse/CAY-2565 > Project: Cayenne > Issue Type: Bug > Components: Core Library > Affects Versions: 4.1.B1 > Reporter: Nikita Timofeev > Priority: Major > Fix For: 4.1.B2, 4.2.M1 > > > Per=C2=A0CAY-2478 we can generate properties for PK attributes. But they = are incompatible with {{dot() }} operator as it is unaware about db paths.= =20 > Simple test case: {code} > Expression exp =3D Painting.TO_ARTIST.dot(Artist.ARTIST_ID_PK_PROPERTY).e= q(1L); > {code} > Will generated following expression: {{toArtist.null =3D 1}} -- This message was sent by Atlassian JIRA (v7.6.3#76005)