From user-return-23001-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Mon Nov 19 15:10:27 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 662BD180671 for ; Mon, 19 Nov 2018 15:10:27 +0100 (CET) Received: (qmail 69746 invoked by uid 500); 19 Nov 2018 14:10:26 -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 69737 invoked by uid 99); 19 Nov 2018 14:10:26 -0000 Received: from mail-relay.apache.org (HELO mailrelay1-lw-us.apache.org) (207.244.88.152) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2018 14:10:26 +0000 Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) by mailrelay1-lw-us.apache.org (ASF Mail Server at mailrelay1-lw-us.apache.org) with ESMTPSA id 64877F0C for ; Mon, 19 Nov 2018 14:10:25 +0000 (UTC) Received: by mail-lj1-f181.google.com with SMTP id k19-v6so26230115lji.11 for ; Mon, 19 Nov 2018 06:10:25 -0800 (PST) X-Gm-Message-State: AA+aEWa+9ozeF8lQfaFdkQwyo5zuA9YgoV2ew33Gl4Io7HD3MaPiKvHr Xuz9MLblmzE8UaVVZK6Il8Y6lh0EsXs4kTJ/SQ== X-Google-Smtp-Source: AJdET5eldNgsMHwB+BqKNxSkNDvluvdLUCJzM9nWnGnswrHGK8HonH5ILfs/Tc3GCwYrzIub5vxqaEnag0o6TPxL9pA= X-Received: by 2002:a2e:8045:: with SMTP id p5-v6mr6189936ljg.87.1542636623905; Mon, 19 Nov 2018 06:10:23 -0800 (PST) MIME-Version: 1.0 References: <5741606.1432118.1542330475356.ref@mail.yahoo.com> <5741606.1432118.1542330475356@mail.yahoo.com> In-Reply-To: <5741606.1432118.1542330475356@mail.yahoo.com> From: Pavel Tupitsyn Date: Mon, 19 Nov 2018 17:10:11 +0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Ignite.Net - Defining SQL Schema without using QuerySqlField custom attribute To: user@ignite.apache.org Content-Type: multipart/alternative; boundary="000000000000fc4667057b0513ff" --000000000000fc4667057b0513ff Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, can you please attach a minimal runnable project that reproduces the issue? On Fri, Nov 16, 2018 at 4:08 AM Peter Sham wrote: > Hello, > > I=E2=80=99m trying to learn Ignite.Net and has been following examples bu= ndled > with source or binary distribution. However, when I try to define SQL > Schema that will match an object either by sql create table statement or > using QueryEntity in cache configuration, without resorting to > QuerySqlFieldAttribute, I kept hitting an exception which said > > class org.apache.ignite.binary.BinaryInvalidTypeException: Unknown pair > [platformId=3D0, typeId=3D-1854586790]"; SQL statement =E2=80=A6 > > Does anyone has an example that showcase how to define SQL Schema for an > object without using custom attribute? > > Thank you very much. > --000000000000fc4667057b0513ff Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi, can you please attach a minimal runnable project that = reproduces the issue?

= On Fri, Nov 16, 2018 at 4:08 AM Peter Sham <peter_sham@yahoo.com> wrote:
Hello,

I=E2=80=99m try= ing to learn Ignite.Net and has been following examples bundled with source= or binary distribution.=C2=A0 However, when I try to define SQL Schema tha= t will match an object either by sql create table statement or using QueryE= ntity in cache configuration, without resorting to QuerySqlFieldAttribute, = I kept hitting an exception which said

class org.a= pache.ignite.binary.BinaryInvalidTypeException: Unknown pair [platformId=3D= 0, typeId=3D-1854586790]"; SQL statement =E2=80=A6

Does anyone has an example that showcase how to define SQL Schema for= an object without using custom attribute?

Thank y= ou very much.
--000000000000fc4667057b0513ff--