db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r410248 - /db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/PlatformImplBase.java
Date Tue, 30 May 2006 11:56:33 GMT
Author: tomdz
Date: Tue May 30 04:56:32 2006
New Revision: 410248

URL: http://svn.apache.org/viewvc?rev=410248&view=rev
Log:
Fix for null-handling when reading values from a database

Modified:
    db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/PlatformImplBase.java

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/PlatformImplBase.java
URL: http://svn.apache.org/viewvc/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/PlatformImplBase.java?rev=410248&r1=410247&r2=410248&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/PlatformImplBase.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/PlatformImplBase.java Tue May
30 04:56:32 2006
@@ -1937,7 +1937,7 @@
 		        }
 		        break;
 		}
-		return value;
+        return resultSet.wasNull() ? null : value;
 	}
 
     



Mime
View raw message