You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by dj...@apache.org on 2005/07/16 01:11:39 UTC
svn commit: r219259 - in /incubator/derby/code/trunk/java:
engine/org/apache/derby/impl/load/
testing/org/apache/derbyTesting/functionTests/tests/tools/
Author: djd
Date: Fri Jul 15 16:11:37 2005
New Revision: 219259
URL: http://svn.apache.org/viewcvs?rev=219259&view=rev
Log:
DERBY-452 - In J2ME/Foundation, getObject was throwing an exception because getObject on DECIMAL types is not supported.
I removed the call to getObject since it was a redundant check. getString internally checks for null values.
Patch contributed by Deepa Remesh dremesh@gmail.com
Modified:
incubator/derby/code/trunk/java/engine/org/apache/derby/impl/load/ExportAbstract.java
incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/tools/ieptests_app.properties
incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/tools/importExportThruIJ_app.properties
incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/tools/importExport_app.properties
Modified: incubator/derby/code/trunk/java/engine/org/apache/derby/impl/load/ExportAbstract.java
URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/java/engine/org/apache/derby/impl/load/ExportAbstract.java?rev=219259&r1=219258&r2=219259&view=diff
==============================================================================
--- incubator/derby/code/trunk/java/engine/org/apache/derby/impl/load/ExportAbstract.java (original)
+++ incubator/derby/code/trunk/java/engine/org/apache/derby/impl/load/ExportAbstract.java Fri Jul 15 16:11:37 2005
@@ -59,10 +59,7 @@
if (rs.next()){
String[] rowObjects = new String[columnCount];
for (int colNum = 0; colNum < columnCount; colNum++) {
- if (rs.getObject(colNum + 1) != null)
- {
- rowObjects[colNum]=rs.getString(colNum + 1);
- }
+ rowObjects[colNum]=rs.getString(colNum + 1);
}
return rowObjects;
}
Modified: incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/tools/ieptests_app.properties
URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/tools/ieptests_app.properties?rev=219259&r1=219258&r2=219259&view=diff
==============================================================================
--- incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/tools/ieptests_app.properties (original)
+++ incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/tools/ieptests_app.properties Fri Jul 15 16:11:37 2005
@@ -1,6 +1,3 @@
supportfiles=testData/ImportExport/db2ttypes.del,testData/ImportExport/mixednl.del,testData/ImportExport/position_info.del
usedefaults=true
-useextdirs=true
-
-#Exclude for J2ME/Foundation - test requires java.math.BigDecimal
-runwithfoundation=false
\ No newline at end of file
+useextdirs=true
\ No newline at end of file
Modified: incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/tools/importExportThruIJ_app.properties
URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/tools/importExportThruIJ_app.properties?rev=219259&r1=219258&r2=219259&view=diff
==============================================================================
--- incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/tools/importExportThruIJ_app.properties (original)
+++ incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/tools/importExportThruIJ_app.properties Fri Jul 15 16:11:37 2005
@@ -1,6 +1,3 @@
supportfiles=testData/ImportExport/sqlAnywhere1.txt,testData/ImportExport/sqlAnywhere2.txt,testData/ImportExport/Access1.txt,testData/ImportExport/Access2.txt,testData/ImportExport/Access3.txt,testData/ImportExport/Alt1.asc,testData/ImportExport/Alt2.asc,testData/ImportExport/Alt3.asc,testData/ImportExport/Alt4.asc,testData/ImportExport/Alt5.asc,testData/ImportExport/Alt6.asc,testData/ImportExport/Tutor1.asc,testData/ImportExport/Tutor2.asc,testData/ImportExport/Tutor3.asc,testData/ImportExport/EndOfFile.txt
usedefaults=true
-useextdirs=true
-
-#Exclude for J2ME/Foundation - test requires java.math.BigDecimal
-runwithfoundation=false
\ No newline at end of file
+useextdirs=true
\ No newline at end of file
Modified: incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/tools/importExport_app.properties
URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/tools/importExport_app.properties?rev=219259&r1=219258&r2=219259&view=diff
==============================================================================
--- incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/tools/importExport_app.properties (original)
+++ incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/tools/importExport_app.properties Fri Jul 15 16:11:37 2005
@@ -1,6 +1,3 @@
supportfiles=testData/ImportExport/EndOfFile.txt
usedefaults=true
-useextdirs=true
-
-#Exclude for J2ME/Foundation - test requires java.math.BigDecimal
-runwithfoundation=false
\ No newline at end of file
+useextdirs=true
\ No newline at end of file