You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by bi...@apache.org on 2009/12/03 21:45:51 UTC
svn commit: r886915 -
/ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelParam.java
Author: bibryam
Date: Thu Dec 3 20:45:51 2009
New Revision: 886915
URL: http://svn.apache.org/viewvc?rev=886915&view=rev
Log:
Fix for my previous commit in r886727 - added a new mapping for java.sql.Date to xsd:date
Modified:
ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelParam.java
Modified: ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelParam.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelParam.java?rev=886915&r1=886914&r2=886915&view=diff
==============================================================================
--- ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelParam.java (original)
+++ ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelParam.java Thu Dec 3 20:45:51 2009
@@ -237,6 +237,8 @@
} else if (ObjectType.instanceOf(com.ibm.icu.util.Calendar.class, this.type)) {
return "dateTime";
} else if (ObjectType.instanceOf(java.sql.Date.class, this.type)) {
+ return "date";
+ } else if (ObjectType.instanceOf(java.util.Date.class, this.type)) {
return "dateTime";
} else if (ObjectType.instanceOf(java.lang.Long.class, this.type)) {
return "unsignedInt";