Permalink
Browse files

use clob as text column type

  • Loading branch information...
1 parent 7fca2f5 commit e496a536402b8ddc8774c0e1dc700b5844a78be8 @grob grob committed Aug 15, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/ringo/storage/sql/databases/h2.js
@@ -22,7 +22,7 @@ var Dialect = function() {
this.registerColumnType("time", new types.ColumnType(java.sql.Types.TIME, "time"));
this.registerColumnType("timestamp", new types.ColumnType(java.sql.Types.TIMESTAMP, "timestamp"));
this.registerColumnType("binary", new types.ColumnType(java.sql.Types.BINARY, "blob"));
- this.registerColumnType("text", new types.ColumnType(java.sql.Types.LONGVARCHAR, "longvarchar"));
+ this.registerColumnType("text", new types.ColumnType(java.sql.Types.LONGVARCHAR, "clob"));
return this;
}

0 comments on commit e496a53

Please sign in to comment.