Author: jleroux
Date: Sun Sep 9 02:17:52 2007
New Revision: 573968
URL:
http://svn.apache.org/viewvc?rev=573968&view=revLog:
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");