Return-Path: X-Original-To: apmail-ignite-user-archive@minotaur.apache.org Delivered-To: apmail-ignite-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5E1FB19A67 for ; Fri, 29 Apr 2016 18:24:22 +0000 (UTC) Received: (qmail 65133 invoked by uid 500); 29 Apr 2016 18:24:21 -0000 Delivered-To: apmail-ignite-user-archive@ignite.apache.org Received: (qmail 65095 invoked by uid 500); 29 Apr 2016 18:24:21 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 65078 invoked by uid 99); 29 Apr 2016 18:24:21 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Apr 2016 18:24:21 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 0587B1A04B9 for ; Fri, 29 Apr 2016 18:24:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id u5G3Sy_vONUn for ; Fri, 29 Apr 2016 18:24:18 +0000 (UTC) Received: from mail-vk0-f49.google.com (mail-vk0-f49.google.com [209.85.213.49]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 927BC5F21E for ; Fri, 29 Apr 2016 18:24:18 +0000 (UTC) Received: by mail-vk0-f49.google.com with SMTP id m188so1911780vka.1 for ; Fri, 29 Apr 2016 11:24:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=VM50ECBc2J4e5HrIIL7M/+0pgpoWiusYxQ5ULcPecx8=; b=l7XaW4vjc97nAnFTFjYWNJG5xM3SWPb18pF4MK/JZi0tMa0q/eD0w8Bk4HJZA06iHN w/Z54wkx9O4LWP1Mm5uGqUBTG9UfQttd75oMkYaAK6G3vyBF8BlNjKfcSnR92TDBzMyE wZMnT41bkUO5A1TuCPBPFSkrsXFAxJc//27q3MMBxc23HOc9ZvcWXuKaXAfhrn+6ETiE hc2YXl3vTqSQdpPoo23/Wd9pUaXCVb9ettMuB8C54N0l4L/eJoyiqtO+XKs48uwSZX5k k8E+gS/uDoCjQz3Jrm64nh0++HrO7+4OJ7CL3AsbC1iJtinMtvoftLiG534wb6ZcnwXc TytA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=VM50ECBc2J4e5HrIIL7M/+0pgpoWiusYxQ5ULcPecx8=; b=BrnNobNYsJXsIp25zXbsRnc09a1Xq7nUK7nw2K1EzACnk5OzybK7yqighj1pPeeQFL 7fuypDM0Ijpnhz7UJwl5/NXrHS6KYwzfS2AhHliRhjpLTyfvXaGeQIr5aSn6ZDuyqKK2 w84xDShNFR26gfPpCqOfXuBuyfpxbEdz2azqpOwnqNmbGp6d1sDAXaX+SLyDnzfv7kwx 75h1qFpXUVtTQTicBEQeH3I5n881mURuARXQmkWIZjnB2nKakFotj9F+SnxO78uD1MhC ZXNXkbJMyXkyivBqXeuFBdUuFJocYGbi124Rlj4kRV5um8K8hkAFkNElo/T45eHLDzle xDmg== X-Gm-Message-State: AOPr4FVoCGNotpU2RzGULPOQdfIuLR1QwbY4fczs+ylGaNAGl9VkwgrArqztaU2EEeaahEJs1dlQnSaUuTo7gw== MIME-Version: 1.0 X-Received: by 10.159.33.70 with SMTP id 64mr10404422uab.149.1461954252737; Fri, 29 Apr 2016 11:24:12 -0700 (PDT) Received: by 10.159.40.227 with HTTP; Fri, 29 Apr 2016 11:24:12 -0700 (PDT) In-Reply-To: References: <1461919729305-4685.post@n6.nabble.com> Date: Fri, 29 Apr 2016 11:24:12 -0700 Message-ID: Subject: Re: Affinitykey is not working From: Alexey Goncharuk To: user@ignite.apache.org Content-Type: multipart/alternative; boundary=94eb2c0b726ae9931e0531a3bf5a --94eb2c0b726ae9931e0531a3bf5a Content-Type: text/plain; charset=UTF-8 Hi, Scala does not automatically place annotations to generated fields, you need to use the annotation as follows: @(AffinityKeyMapped @field) val marketSectorId:Int = 0 --94eb2c0b726ae9931e0531a3bf5a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

Scala does not automatically place = annotations to generated fields, you need to use the annotation as follows:=
=
@(AffinityKeyMapped @field) =
val marketSectorId:Int =3D 0

--94eb2c0b726ae9931e0531a3bf5a--