diff --git a/VERSION b/VERSION index 114b15ec..e1c72ba8 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -xorm v0.4.3.0401 +xorm v0.4.3.0403 diff --git a/oracle_dialect.go b/oracle_dialect.go index 23bf3940..71d31977 100644 --- a/oracle_dialect.go +++ b/oracle_dialect.go @@ -740,6 +740,8 @@ func (db *oracle) GetColumns(tableName string) ([]string, map[string]*core.Colum switch dt { case "VARCHAR2": col.SQLType = core.SQLType{core.Varchar, len1, len2} + case "NVARCHAR2": + col.SQLType = core.SQLType{core.NVarchar, len1, len2} case "TIMESTAMP WITH TIME ZONE": col.SQLType = core.SQLType{core.TimeStampz, 0, 0} case "NUMBER": diff --git a/xorm.go b/xorm.go index 588f7e90..e67e342a 100644 --- a/xorm.go +++ b/xorm.go @@ -13,7 +13,7 @@ import ( ) const ( - Version string = "0.4.3.0401" + Version string = "0.4.3.0403" ) func regDrvsNDialects() bool {