eagle-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yonzhang2...@apache.org
Subject 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
Date Thu, 16 Jun 2016 22:21:47 GMT
Repository: incubator-eagle
Updated Branches:
  refs/heads/branch-0.4 f5b310231 -> 355352899


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/branch-0.4
Commit: 3553528990c7df136ca1fc24806e58e081e66138
Parents: f5b3102
Author: yonzhang <yonzhang2012@gmail.com>
Authored: Thu Jun 16 15:24:26 2016 -0700
Committer: yonzhang <yonzhang2012@gmail.com>
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);


Mime
View raw message