Fixed: Corrected condition to ignore type check for datetime and time field.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1803025 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -292,7 +292,7 @@ public class DatabaseUtil {
|
||||
|
||||
if (openParen > 0 && closeParen > 0 && closeParen > openParen) {
|
||||
typeName = fullTypeStr.substring(0, openParen);
|
||||
if (!("DATETIME".equals(typeName) || !"TIME".equals(typeName))) { // for DATETIME and TIME fields the number within the parenthesis doesn't represent the column size
|
||||
if (!("DATETIME".equals(typeName) || "TIME".equals(typeName))) { // for DATETIME and TIME fields the number within the parenthesis doesn't represent the column size
|
||||
if (comma > 0 && comma > openParen && comma < closeParen) {
|
||||
String csStr = fullTypeStr.substring(openParen + 1, comma);
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user