empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From inem...@apache.org
Subject empire-db git commit: EMPIREDB-230 Override generated datatype for BLOB, ignore size for IMAGE.
Date Mon, 12 Oct 2015 20:00:43 GMT
Repository: empire-db
Updated Branches:
  refs/heads/master b1b1446dc -> 06bd6f188


EMPIREDB-230
Override generated datatype for BLOB, ignore size for IMAGE.

Project: http://git-wip-us.apache.org/repos/asf/empire-db/repo
Commit: http://git-wip-us.apache.org/repos/asf/empire-db/commit/06bd6f18
Tree: http://git-wip-us.apache.org/repos/asf/empire-db/tree/06bd6f18
Diff: http://git-wip-us.apache.org/repos/asf/empire-db/diff/06bd6f18

Branch: refs/heads/master
Commit: 06bd6f188445ab6102660c215797b02378797dba
Parents: b1b1446
Author: inemeth <inemeth@apache.org>
Authored: Mon Oct 12 21:55:52 2015 +0200
Committer: inemeth <inemeth@apache.org>
Committed: Mon Oct 12 21:55:52 2015 +0200

----------------------------------------------------------------------
 .../java/org/apache/empire/db/sqlserver/MSSqlDDLGenerator.java    | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/empire-db/blob/06bd6f18/empire-db/src/main/java/org/apache/empire/db/sqlserver/MSSqlDDLGenerator.java
----------------------------------------------------------------------
diff --git a/empire-db/src/main/java/org/apache/empire/db/sqlserver/MSSqlDDLGenerator.java
b/empire-db/src/main/java/org/apache/empire/db/sqlserver/MSSqlDDLGenerator.java
index d1d9338..14fcd84 100644
--- a/empire-db/src/main/java/org/apache/empire/db/sqlserver/MSSqlDDLGenerator.java
+++ b/empire-db/src/main/java/org/apache/empire/db/sqlserver/MSSqlDDLGenerator.java
@@ -93,6 +93,9 @@ public class MSSqlDDLGenerator extends DBDDLGenerator<DBDatabaseDriverMSSQL>
                 if (c.isAutoGenerated())
                     sql.append(" ROWGUIDCOL");
                 break;
+            case BLOB:
+                sql.append(DATATYPE_BLOB);
+                break;
                 
             default:
                 // use default


Mime
View raw message