You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2007/09/09 11:17:53 UTC

svn commit: r573968 - /ofbiz/branches/release4.0/framework/entity/src/org/ofbiz/entity/model/ModelFieldType.java

Author: jleroux
Date: Sun Sep  9 02:17:52 2007
New Revision: 573968

URL: http://svn.apache.org/viewvc?rev=573968&view=rev
Log:
Applied fix from trunk for revision: 573967

Modified:
    ofbiz/branches/release4.0/framework/entity/src/org/ofbiz/entity/model/ModelFieldType.java

Modified: ofbiz/branches/release4.0/framework/entity/src/org/ofbiz/entity/model/ModelFieldType.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/release4.0/framework/entity/src/org/ofbiz/entity/model/ModelFieldType.java?rev=573968&r1=573967&r2=573968&view=diff
==============================================================================
--- ofbiz/branches/release4.0/framework/entity/src/org/ofbiz/entity/model/ModelFieldType.java (original)
+++ ofbiz/branches/release4.0/framework/entity/src/org/ofbiz/entity/model/ModelFieldType.java Sun Sep  9 02:17:52 2007
@@ -52,7 +52,7 @@
     public ModelFieldType(Element fieldTypeElement) {
         this.type = UtilXml.checkEmpty(fieldTypeElement.getAttribute("type"));
         this.javaType = UtilXml.checkEmpty(fieldTypeElement.getAttribute("java-type"));
-        this.sqlType = UtilXml.checkEmpty(fieldTypeElement.getAttribute("sql-type"));
+        this.sqlType = UtilXml.checkEmpty(fieldTypeElement.getAttribute("sql-type")).toUpperCase();
         this.sqlTypeAlias = UtilXml.checkEmpty(fieldTypeElement.getAttribute("sql-type-alias"));
 
         NodeList validateList = fieldTypeElement.getElementsByTagName("validate");