Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4C547200B61 for ; Mon, 25 Jul 2016 11:36:47 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4AF9B160A7D; Mon, 25 Jul 2016 09:36:47 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 96094160A91 for ; Mon, 25 Jul 2016 11:36:46 +0200 (CEST) Received: (qmail 37198 invoked by uid 500); 25 Jul 2016 09:36:45 -0000 Mailing-List: contact commits-help@eagle.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@eagle.incubator.apache.org Delivered-To: mailing list commits@eagle.incubator.apache.org Received: (qmail 37182 invoked by uid 99); 25 Jul 2016 09:36:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jul 2016 09:36:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 4C7FD1812D6 for ; Mon, 25 Jul 2016 09:36:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.646 X-Spam-Level: X-Spam-Status: No, score=-4.646 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id UhC8fyTOGXVD for ; Mon, 25 Jul 2016 09:36:43 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id B5F1560E56 for ; Mon, 25 Jul 2016 09:36:40 +0000 (UTC) Received: (qmail 36547 invoked by uid 99); 25 Jul 2016 09:36:39 -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; Mon, 25 Jul 2016 09:36:39 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 85B04E02E4; Mon, 25 Jul 2016 09:36:39 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: mw@apache.org To: commits@eagle.incubator.apache.org Date: Mon, 25 Jul 2016 09:37:12 -0000 Message-Id: <496d6d759dc14dd7bcfbfa7699677e30@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [35/47] incubator-eagle git commit: EAGLE-319 modify java to jdbc data type modify java to jdbc data type mapping to be compatible with derby DB archived-at: Mon, 25 Jul 2016 09:36:47 -0000 EAGLE-319 modify java to jdbc data type modify java to jdbc data type mapping to be compatible with derby DB Author: Michael Reviewer: Edward Closes: #222 Project: http://git-wip-us.apache.org/repos/asf/incubator-eagle/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-eagle/commit/35535289 Tree: http://git-wip-us.apache.org/repos/asf/incubator-eagle/tree/35535289 Diff: http://git-wip-us.apache.org/repos/asf/incubator-eagle/diff/35535289 Branch: refs/heads/master Commit: 3553528990c7df136ca1fc24806e58e081e66138 Parents: f5b3102 Author: yonzhang Authored: Thu Jun 16 15:24:26 2016 -0700 Committer: yonzhang Committed: Thu Jun 16 15:24:26 2016 -0700 ---------------------------------------------------------------------- .../eagle/storage/jdbc/schema/JdbcEntityDefinitionManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/35535289/eagle-core/eagle-query/eagle-storage-jdbc/src/main/java/org/apache/eagle/storage/jdbc/schema/JdbcEntityDefinitionManager.java ---------------------------------------------------------------------- diff --git a/eagle-core/eagle-query/eagle-storage-jdbc/src/main/java/org/apache/eagle/storage/jdbc/schema/JdbcEntityDefinitionManager.java b/eagle-core/eagle-query/eagle-storage-jdbc/src/main/java/org/apache/eagle/storage/jdbc/schema/JdbcEntityDefinitionManager.java index b98d881..d9b29aa 100644 --- a/eagle-core/eagle-query/eagle-storage-jdbc/src/main/java/org/apache/eagle/storage/jdbc/schema/JdbcEntityDefinitionManager.java +++ b/eagle-core/eagle-query/eagle-storage-jdbc/src/main/java/org/apache/eagle/storage/jdbc/schema/JdbcEntityDefinitionManager.java @@ -150,7 +150,7 @@ public class JdbcEntityDefinitionManager { // Initially bind basic java types with SQL types //================================================ static { - registerJdbcType(String.class, Types.LONGVARCHAR); + registerJdbcType(String.class, Types.VARCHAR); registerJdbcType(Integer.class, Types.INTEGER); registerJdbcType(Double.class, Types.DOUBLE); registerJdbcType(Float.class, Types.FLOAT);