Author: jacopoc
Date: Thu Jun 10 05:20:31 2010
New Revision: 953220
URL:
http://svn.apache.org/viewvc?rev=953220&view=revLog:
Reverted change based on feedback from Adam Heath and Adrian Crum; the issue with Oracle will be resolved with a different approach.
Modified:
ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/DateTimeConverters.java
Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/DateTimeConverters.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/DateTimeConverters.java?rev=953220&r1=953219&r2=953220&view=diff==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/DateTimeConverters.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/DateTimeConverters.java Thu Jun 10 05:20:31 2010
@@ -305,7 +305,7 @@ public class DateTimeConverters implemen
}
public java.sql.Time convert(java.sql.Date obj) throws ConversionException {
- return new java.sql.Time(obj.getTime());
+ throw new ConversionException("Conversion from Date to Time not supported");
}
}