[ http://issues.apache.org/jira/browse/DERBY-398?page=all ]
Deepa Remesh updated DERBY-398: ------------------------------- Attachment: parameterMapping.diff parameterMapping.status Attaching a patch 'parameterMapping.diff' which changes the tests jdbcapi/parameterMapping.java and lang/updatableResultSet.java to run in J2ME/CDC/FP. Changes are: * In parameterMapping.java, SQL types DECIMAL and NUMERIC are mapped to the String class in B3_GET_OBJECT for J2ME. * When changing the tests, I have covered testing of SQL DECIMAL type. This is tested using wrapper methods in BigDecimalHandler which use get/setString methods for J2ME. I have not used the wrapper in cases where DECIMAL type is already being tested with get/set/updateXXX methods of other JDBC types. * The tests work the same way as before in non-J2ME environments. * In JSR169, get/setUnicodeStream methods are not present. NoSuchMethodError exception is used to handle these cases. * New masters are needed for the tests. These are to account for absence of BigDecimal class in J2ME and methods which are not present in JSR169. Ran both the changed tests using Sun JDK1.4.2 (all frameworks) and IBM WCTME 5.7 j9_foundation. Please look at this patch. > Exclude tests for J2ME/CDC/Foundation platform > ---------------------------------------------- > > Key: DERBY-398 > URL: http://issues.apache.org/jira/browse/DERBY-398 > Project: Derby > Type: Sub-task > Components: Test > Reporter: Deepa Remesh > Assignee: Deepa Remesh > Attachments: derby-398_2.diff, derby-398_2.status, derbyall_report_2.txt, > jdbcapi_lang_patch.diff, jdbcapi_lang_patch.status, jdk14_tests_3.diff, > jdk14_tests_3.status, nullSQLText_patch.diff, nullSQLText_patch.status, > parameterMapping.diff, parameterMapping.status, readme_patch.diff, > store_patch.diff, store_patch.status, wisc_rename_patch.diff, > wisc_rename_patch.status, wisconsin_patch.diff, wisconsin_patch.status > > Exclude tests which use DriverManager, Driver or BigDecimal classes which are > not in J2ME or JSR169. Ensure that derbyall can be run successfully in > J2ME/CDC/Foundation platform using the JDBC Optional Package for > CDC/Foundation Profile (JSR169). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira