The following table lists issues in JIRA which were fixed between Derby release 10.3.1.4 and the preceding release 10.2.2.0. This includes issues for the product source, documentation and tests
Issue Id Description DERBY-2973 With collation TERRITORY_BASED, insert into table after changing type of column causes assert failure and loss of connection DERBY-2966 rs.moveToInsertRow() causes loss of connection with TERRITORY_BASED collation. DERBY-2963 AccessControlException: Access denied java.net.SocketPermission <client ip> accept,resolve DERBY-2960 Group by substr() on collated database causes ERROR XJ001: Java exception: 'ASSERT FAILED col1.getClass() (class org.apache.derby.iapi.types.SQLVarchar) expected to be the same as col2.getClass() (class org.apache.derby.iapi.types.CollatorSQLVarchar): DERBY-2959 create table ... as select ... from systemtable with no data fails even when there is no character string type involved. This happens in a territory based database DERBY-2955 ERROR 42ZA2 creating table with check constraint with literal comparison DERBY-2951 BatchUpdateTest.testAssociatedParams test fails with collation with exception: Java exception: 'ASSERT FAILED type of inserted column[0] = org.apache.derby.iapi.types.CollatorSQLChartype of template column[0] = org.apache.derby.iapi.types.SQLChar: DERBY-2941 With 10.2, Closing a resultset after retrieving a large > 32665 bytes value with Network Server does not release locks DERBY-2932 Connection.createClob() and Connection.createBlob() throw a procedure not found exception and do not switch to non-locator code upon soft upgrade DERBY-2931 jdbcapi/ConcurrencyTest not able to drop table in soft upgrade mode DERBY-2925 Prevent export from overwriting existing files DERBY-2924 Manual copyright topics need to be updated to current year DERBY-2923 Incorrect reading of nullable Blob/Clob columns during soft upgrade with client/server DERBY-2918 Errors in regression tests run against 10.3.1.1 release candidate DERBY-2915 upgrade test fixture noConnnectionAfterHardUpgrade fails with 10.3.1.1 DERBY-2908 10.3.1.0 / 1.1.0 Derby eclipse plugin gives security error referring to user.dir read permission because derby.system.home is set to '.' DERBY-2896 DatabaseMetaData.getTables() fails in TERRORITY_BASED collation database with SQLState 42818: Comparisions between CHAR and CHAR not allowed. DERBY-2891 Clob.getCharacterStream(long,long) ignores position parameter for large (>32k) CLOBs DERBY-2890 Simplify handling of maxPos in UpdatableBlobStream and ClobUpdatableReader DERBY-2885 Wrong connection object used in EmbedConnection.clearLOBMapping() DERBY-2882 Remove references to JDK 1.2 and 1.3 in the documentation DERBY-2879 CREATE TABLE AS <subquery> does not maintain the collation for character types. DERBY-2874 NetworkServer not accepting connections with default security manager on Ipv6 machines DERBY-2870 iepnegativetests_ES.sql fails: new canon needed? DERBY-2868 BUILDING.txt doesn't mention junit.jar in list of jars installed in tools/java DERBY-2863 Collation doc corrections/improvements DERBY-2862 ParameterMetaDataJdbc30 fails for weme6.1, which prevents rest of suites.All from completing. DERBY-2860 Documentation problems for IMPORT/EXPORT LOBs feature DERBY-2858 Export exceptions swallow useful information DERBY-2849 Add a documentation for derby.jdbc.xaTransactionTimeout system/database property DERBY-2847 More clarification issues for the release notes. DERBY-2846 Fix wrong Javadoc in LOB related Update sensitive streams on the NetworkClient DERBY-2842 derbynet/testconnection.java fails with '...Connection refused: connect' expecting 'Connection refused' DERBY-2840 10.3.1.0 RELEASE-NOTES "Bug Fix" section's contents do not match the title or description DERBY-2839 initial problems with the 10.3.1.0 beta candidate DERBY-2837 Update docs on STRONG_PASSWORD_SUBSTITUTE_SECURITY/ENCRYPTED_USER_AND_PASSWORD_SECURITY and JCE support DERBY-2831 NullPointerException creating a function in a schema that doesn't exist when the return type is a character type DERBY-2830 Rename UpdateableBlobStream to UpdatableBlobStream DERBY-2827 Rename ClobStreamControl to TemporaryClob DERBY-2823 Rename ClobUpdateableReader to ClobUpdatableReader DERBY-2819 Perform Doc Checklist for 10.3 Release DERBY-2818 Rewrite ClobUpdatableReader constructors DERBY-2817 Error messages for deadlocks contain less information than in 10.2 DERBY-2814 Specifying derby.* properties used in default policy file in derby.properties does not work DERBY-2812 Assessing blob (when its linked to DVD stream, ie large blob) corrupts stream fetched prior to this access. DERBY-2811 Specifying -h 0.0.0.0 with default security manager bars clients from connecting from any host DERBY-2809 Expressions with a parameter can be assigned the incorrect type DERBY-2806 calling getByteLength on org.apache.derby.impl.jdbc.StoreStreamClob makes BinaryStream, fetched before this call, unusable DERBY-2805 ASSERT failure with sane build if DISTINCT and ORDER BY are present in a query that selects from a diagnostic table function. DERBY-2803 SSL certificate authentication succeeds unexpectedly DERBY-2802 LOBStreamControl.replaceBytes can throw null pointer exception while trying to access databytes after calling init DERBY-2800 Implement Clob.truncate for embedded driver DERBY-2799 Intermittent failure in lang/deadlockMode.java DERBY-2796 Obscure error messages when using SSL in various combinations DERBY-2795 Unable to bring up server with SSL peer authentication enabled DERBY-2794 Document ansi trim functionality DERBY-2793 Ensure LIKE predicate follows correct rules for determing collation DERBY-2791 Copy/paste error in Admin Guide under Customizing the Network Server's security policy DERBY-2789 DatabaseMetaData .locatorsUpdateCopy() should return true DERBY-2788 Authentication tests fails with 'org.apache.derby.jdbc.EmbeddedDriver is not registered with the JDBC driver manager' DERBY-2787 make entry for clob in connection so that temporary file is removed when a connection is closed or transaction is commited/rolledback DERBY-2784 With JDBC 4 autoloading DriverManager.getProtocol("jdbc:derby:") throws java.sql.SQLException No suitable driver DERBY-2777 Parameters should take their collation from the context in which they are getting used rather than the current compilation schema DERBY-2776 Internally generated CAST nodes should not use the collation of the current compilation schema. Instead they should use collation of target type passed to it. DERBY-2772 Create a procedure to empty the statement cache exposing the existing functionality. DERBY-2770 testBlobAfterCommit(....jdbcapi.BlobClob4BlobTest) fails with 'Unexpected SQL state. expected:<XJ[073]> but was:<XJ[215]>' DERBY-2768 Do cleanup (closing stmts., conns.) on failures in jdbcapi/BlobClob4BlobTest.java DERBY-2765 Make sure that all the DTDs for character string types have correct collation assigned to them. DERBY-2763 In the Network Client InputStreams and Readers returned from LOB's should be sensitive to underlying LOB data changes. DERBY-2758 ODBC metadata function "SQLForeignKeys" returns different results in 10.3. DERBY-2757 Do not require authentication when bringing up a security manager for the network server DERBY-2754 Client connections should not fail if permission is not granted to read derby.client.traceLevel and derby.client.traceDirectory DERBY-2753 org.apache.derby.impl.drda.DDMWriter might swallow unexpected exceptions DERBY-2751 testLoadJavaClassIndirectly & als fails on JVM 1.4 with "Unexpected SQL state. expected:<[38000]> but was:<[XJ001]>", "Jar file 'MY_JAVA' already exists in Schema 'EMC'" DERBY-2748 TimeSlice and Socket-Timeout bounds checking wrong DERBY-2744 jdbcapi/metadata.java and jdbcapi/odbc_metadata.java fail because of new procedure SYSCS_UTIL,SYSCS_GET_USER_ACCESS DERBY-2743 Run 10.2 tests against 10.3 and evaluate to identify incompatibilities DERBY-2742 LoopingAlphabetStream.read() returns invalid values DERBY-2740 LIKE parameter marker combined with index multi-probing leads to ASSERT failure with sane jars, wrong results with insane jars. DERBY-2737 Change documentation on permissions needed to include read/write for system property derby.storage.jvmInstanceId DERBY-2735 Add a system procedure to set a user's connection level authorization. DERBY-2730 Implement not implemented Embedded methods Blob.getBinaryStream(long pos, long length) and Clob. getCharacterStream(long pos, long length) DERBY-2729 temporary lob file should be cleaned when the transaction or connection is no longer valid. DERBY-2726 convert lang/AIjdbc.java to JUnit DERBY-2725 If all the operands involved in collation operation have a collation derivation of NONE, then Derby should throw an exception for that as per the SQL standards. DERBY-2724 Set correct collation type and derivation for result character string types from CURRENT ISOLATION, CURRENT_USER, SESSION_USER, SYSTEM_USER, CURRENT SCHEMA and CURRENT SQLID. DERBY-2723 Set correct collation type and derivation for result from user defined functions' that return character string type. DERBY-2722 Set correct collation type and derivation for result character string types from CHAR, VARCHAR and XMLSERIALIZE functions DERBY-2718 BlobClob4BlobTest and LobStreamTest fail creating database due to NullPointerException on weme 6.1 DERBY-2717 throw error if non-matching collation ids in like. DERBY-2716 lang.CollationTest2 failures on WEME 6.1 DERBY-2715 AssertionFailedError in LobStreamsTest and ClobUpdateableReaderTest on WinXP, Win2003 DERBY-2714 SecureServerTest spends five minutes waiting for a server to start DERBY-2713 Ensure that a temporary file is not created for a lob obtained from resultset unless user updates it. DERBY-2712 If large clob is updated after Reader. the reader continues to point to old data DERBY-2711 If large blob is updated after InputStream is fetched (using getBinaryStream), the stream continues to point ot old data DERBY-2710 disable dynamic like optimization for collated databases DERBY-2709 lang/ShutdownDatabaseTest, lang/StatementPlanCacheTest and lang/SysDiagVTIMappingTest keep references to closed JDBC objects DERBY-2708 CanonTestCase keeps output from test in memory after it has finished DERBY-2707 Inadequate clean-up in many jdbc4 tests DERBY-2706 fix like clauses with trailing % DERBY-2702 Enable Clob locator support between NetworkServer and NetworkClient and modify tests that experience changed behaviour due to this(enabling Clob Locators). DERBY-2701 many sealing violation errors in ibm142 and ibm15 jvm test runs of junit tests. DERBY-2695 Add locator support of soft upgrade to 10.3 DERBY-2694 org.apache.derby.impl.drda.DDMWriter uses wrong algorithm to avoid spliting varchar in the middle of a multibyte char. DERBY-2693 Error in conrefs file reference in one Reference Manual file DERBY-2692 Client driver doesn't chain exceptions received from the server DERBY-2689 Deadlock with GenericPreparedStatement DERBY-2686 The skip method for some InputStreams and Readers return invalid values DERBY-2684 NSinSameJVM regression test failure, "> FAIL: Should have gotten exception" DERBY-2673 If derby.system.home does not exist Derby should only attempt to create that specific folder, not any missing parents (ie. use File.mkdir(), not File.mkdirs()) DERBY-2671 Errors/messages early in starting the network server through NetworkServerControl.start() are not reported to the PrintWriter passed into start(). DERBY-2670 %a% and %aa% match too many rows in database with collation=TERRITORY_BASED and territory=no_NO DERBY-2669 If no territory attribute is not specified at create database time, then we should ignore the collation attribute if specified. DERBY-2663 derbyall/derbytools/ij2 fails in derbyall run in the J2ME environment DERBY-2662 DITA error in adminguide/cadminservlet98430.dita DERBY-2658 Convert jdbcapi/parameterMetaDataJdbc30.java to JUnit DERBY-2657 Performance regression after check-in of svn 531971 DERBY-2656 Run suites.All against a collated database DERBY-2654 Document newly-supported (in embedded mode) JDBC methods for autogenerated keys. DERBY-2652 Clob.setCharacterStream differs between embedded and client driver DERBY-2647 .lang.ErrorCodeTest fails with 'Required Derby DataSource property {0} not set.' DERBY-2646 Cleanup of Clob control/support structures DERBY-2645 upgrade test failures with weme 6.1. DERBY-2644 multiple junit failures during nightly of the form: 2) Encryption Algorithm: defaultjava.security.AccessControlException: Access denied (java.util.PropertyPermission derby.system.home read) DERBY-2642 Convert lang/dynamicLikeOptimization.sql to JUnit DERBY-2641 Convert lang/staleplans.sql to JUnit DERBY-2635 intermittent failure in T_RawStoreFactory unit test DERBY-2633 Authorization error codes have been moved. Translated messages must be moved accordingly. DERBY-2632 upgrade tests fail through BlobStoredProcedureTest and ClobStoredProcedureTest with JSR169 DERBY-2631 Expose existing auto-generated key functionality through more JDBC APIs in embedded mode. DERBY-2622 Fix build problems related to locator work DERBY-2621 Fix javadoc issues related to locator work DERBY-2619 A Derby source release must include the documentation source files DERBY-2616 intermittent network startup related errors in running junit nightly test suite DERBY-2613 upgrade test problem when attempting to test 10.0.2.1 - DERBY-2612 running soft upgrade of a 10.0 database vs. 10.3 software gives test error in testGetTablesModify concerning XML type DERBY-2611 upgrade test incorrectly tries to test in place compress in 10.0 release. DERBY-2610 Queries in metadata.properties allow tablepattern for JDBC methods that do not allow patterns DERBY-2609 The tests in ij7.sql are only performed in embedded mode. DERBY-2608 Compilation Error of manual in Apache FOP DERBY-2607 DatabaseMetaData is not consistent about throwing SqlException when tablename=null DERBY-2606 Derby should print the parameters to failed statements to the derby.log when it logs the error DERBY-2605 You can create BOOLEAN columns in 10.3 DERBY-2604 Implement Clob support for locators DERBY-2603 Minor erratum in page of VARCHAR in Derby Reference manual DERBY-2600 Remove temporary code added to enable testing of CLOB locator related stored procedures. DERBY-2599 Set correct collation type and derivation on DataTypeDescriptor(DTD). DERBY-2598 new upgrade test failures after change 528033 DERBY-2597 Language result sets should not reuse current isolation level across executions DERBY-2595 junit tests uses getExportedKeys with table name null DERBY-2594 Revoking a privilege from an SQL Object should invalidate statements dependent on that object DERBY-2593 Add documentation for the CREATE TABLE as subquery clause DERBY-2591 DataDictionaryImpl.getSystemSQLName() may generate duplicates DERBY-2587 Connection.createClob() and Connection.createBlob() need to return locator support enabled LOB objects in the NetworkClient DERBY-2586 BlobClob4BlobTest.tesPositionAgressive takes very long time DERBY-2584 Creating a database with JPOX SchemaTool sometimes gives ArrayIndexOutOfBoundsException when getIndexInfo() is called DERBY-2583 At code generation time, look at collation type to determine what kind of DVD should get generated for character types. DERBY-2581 Callers of SanityManager.THROWASSERT should chain the exceptions when possible DERBY-2580 SanityManager.THROWASSERT(String,Throwable) ignores message argument DERBY-2579 AssertFailure class should use JDK's built-in chaining of exceptions DERBY-2578 Change CurrentDatetimeOperatorNode to use ExpressionClassBuilder to generate code for DVD rather than going directly though TypeCompiler DERBY-2577 convert jdbcapi/resultSetStream.java to junit DERBY-2570 Create a utility which generates Release Notes DERBY-2568 'Connection refused' in jdbcapi/LobStreamsTest.junit DERBY-2567 convert lang/errorcode.sql to JUnit DERBY-2566 OutOfMemory/Sanity-assert failed when updating database DERBY-2565 BrokeredConnection needs to forward implementations of locator related methods in EngineConnection to the underlying physical connection DERBY-2562 conver/SpillHash.java to JUnit DERBY-2561 convert lang/simpleScroll.sql to JUnit DERBY-2560 Missing asserts in ProcedureInTriggerTest DERBY-2558 client trhows ArrayIndexOutOfBounds exception instead of parameter out of range DERBY-2556 Code paths for db restore do not use doPrivileged-calls, causing SecurityException DERBY-2555 Remove use of doPrivileged in EncryptionKeyTest DERBY-2554 convert lang/supersimple.sql to JUnit DERBY-2551 Global Xid value garbled in syscs_diag.transaction_table. DERBY-2549 ArrayIndexOutOfBoundsException in SYSCS_UTIL.SYSCS_INPLACE_COMPRESS_TABLE DERBY-2545 testModifiesSql(org.apache.derbyTesting.functionTests.tests.lang.ProcedureInTriggerTest)junit.framework.ComparisonFailure: Unexpected SQL state. expected:<3800[0]> but was:<3800[1]> DERBY-2544 SecurityPolicyReloadingTest( )junit.framework.AssertionFailedError: Policy file changed. Should not be able to read the property. DERBY-2543 testVirtualMemoryHeap junit test fails with "Virtual memory heap test failed! Got unexpected value. expected:<202> but was:<103>" DERBY-2542 convert lang/scrollCursors1.sql to junit DERBY-2541 Create initial testing framework for Junit Collation testing DERBY-2540 Restructure code for Blob/Clob length in client to prepare for locator implementation DERBY-2538 Update documentation to describe the expected behavior when a JDBC 4 app creates a JDBC 3 datasource. DERBY-2537 implement pushing collation info to store, storing collation info in store metadata, and creating templates based on store metadata DERBY-2536 Convert lang/procedureInTrigger.sql to JUnit DERBY-2526 Wrong results with queries that use the JOIN ... ON syntax to join with views or other non-base table expressions. DERBY-2525 Convert lang/grantRevokeDDL and grantRevokeDDL2 to JUnit DERBY-2523 convert jdbcapi/LobTest to junit DERBY-2522 convert jdbcapi/procedureJdbc30.java to junit DERBY-2521 Building derby outputs (from ant) various information messages that are marked as warning severity. DERBY-2520 Document new restrictions of database shutdown, encryption and hard upgrade powers DERBY-2519 Clean-up in BlobClob4BlobTest DERBY-2517 convert lang/forupdate.sql to junit DERBY-2511 reference manual's description of JDBC4 features has misleading sections DERBY-2509 Implement the XA transaction timeout support for client driver. DERBY-2508 Implement the XA transaction timeout support for embedded driver. DERBY-2506 Adding the locator information to FD:OCA descriptor (FDODSC) andFD:OCA data (FDODTA) of the SQLDTA objects DERBY-2505 Convert derbynet/testij.java to JUnit DERBY-2502 Unclosed ResultSets choke JUnit lang _Suite on java 6 DERBY-2501 Batch scripts in bin\ report extraneous errors when DERBY_HOME is invalid DERBY-2500 Assertion failure preparing query with AND and OR in where clause DERBY-2497 convert lang/coalesceTests.java to junit DERBY-2496 Implement Blob support for Locators DERBY-2495 Create framework for calling locator related stored procedures from client DERBY-2494 Convert lang/updateCursor.java test to junit test DERBY-2493 Use unsynchronized collections in BackingStoreHashtable DERBY-2492 convert checkDataSource, checkDataSource30 and checkDriver.java to junit DERBY-2491 Convert distinct.sql to JUnit DERBY-2489 Document the policy-reloading system procedure. DERBY-2488 When loaded by jvm1.6 - EmbeddedConnectionPoolDataSource is not returning a JDBC 4 compliant PooledConnection object DERBY-2484 Convert syscat.sql to junit DERBY-2480 DriverManager.getConnection leaks memory when connecting to a non-existent database DERBY-2478 'Invalid transaction state...' in jdbcapi.SetTransactionIsolationTest DERBY-2476 convert lang/forbitdata.java test to junit test DERBY-2474 Convert jdbcapi/XATest.java to junit DERBY-2473 Compilation of reference manual translated into pt_BR seems to be failed DERBY-2472 Use Throwable.initCause() to improve error reporting DERBY-2467 Convert lang/updateCursor.java to JUnit DERBY-2466 Allow dynamic reloading of the security policy file DERBY-2464 convert lang/ShutdownDatabase.java to junit DERBY-2462 org.apache.derby.impl.store.access.BackingStoreHashTableFromScan does not honor ResultSet holdability DERBY-2461 Convert lang/procedure.java to junit DERBY-2459 Ordering on a CASE-expression casues a NullPointerException when using a UNION DERBY-2458 Convert lang/unaryArithmeticDynamicParamter.java to junit DERBY-2456 File stream is left open when an exception occurs while setting up a character stream for data export. DERBY-2452 convert prepStmtMetaData.java to junit DERBY-2450 Clob.Position returning wrong value when operating on Reader DERBY-2444 Implement not implemented methods Blob.getBinaryStream(long pos, long length) and Clob. getCharacterStream(long pos, long length) in the Network Client DERBY-2443 Implement ResultSet updateClob/updateBlob methods on the NetworkClient DERBY-2442 Remove code made redundant by DERBY-681 DERBY-2440 DerbyNetNewServer should specify port when it starts a server to avoid requiring 1527 to run DERBY-2435 network server boot fails indicating authentication must be set up even when authentication is fully defined in derby.properties DERBY-2434 HarnessJavaTest fails on UTF-8 locale. DERBY-2433 Error message when booting server with no authentication is misleading DERBY-2432 Unimplemented transaction time out for XA transactions may cause that locks will not be released when client terminates outside a unit of work. DERBY-2431 Documentation for DatabaseMetaData should reflect that getColumnPrivileges and getTablePrivileges are implemented DERBY-2430 setObject(int targetType, Blob source) and setObject(int targetType, Clob source) should disallow updates on all targetTypes except BLOB and CLOB respectively DERBY-2429 Convert jdbcapi/resultset.java to JUnit DERBY-2427 jdbcapi/BlobStoredProcedureTest and jdbcapi/ClobStoredProcedureTest fail with weme6.1 DERBY-2425 ResultSetMetaData.getColumnDisplaySize() returns a negative value for BLOB columns for client DERBY-2422 convert lang/holdCursorjava.java to junit DERBY-2418 TestProto.java used by testProtocol.java hardcodes port 1527 DERBY-2411 convert scrollCursors2.java to junit DERBY-2410 Convert grantRevoke.java to JUnit DERBY-2406 XAResource.end does not set the XA transaction state correctly when the XAException is thrown DERBY-2405 Remove @author tags from the source files DERBY-2404 BadConnectionTest.java hardcodes port 1527 DERBY-2400 Javadoc - clean up Cloudscape references in javadoc DERBY-2399 Convert setTransactionIsolation.java to junit DERBY-2395 Convert derbynet/csPrepStmt.java to junit test DERBY-2393 Change the test name from RunLangTest to RunOptimizerTest DERBY-2391 "Derby and standards" section of Developer's Guide needs reorganization DERBY-2390 DOCS - Merge Working with Derby and Getting Started Guide DERBY-2387 DOCs - Reorder the topics in the Ref Manual into Alphabetical order - functions, procedures DERBY-2386 timestampdiff function fails when using SQL_TSI_FRAC_SECOND for datepart parameter, except for very small intervals DERBY-2385 create the stored procedures called by LOB related JDBC methods during upgrade DERBY-2383 ReuseFactory should use the constants in java.lang.Boolean DERBY-2382 Convert casting.java to Junit DERBY-2381 ParameterMappingTest fails due to ArrayIndexOutOfBoundsException executing a procedure DERBY-2379 provide encryption support for temporary files used by lob if the data base is encrypted DERBY-2378 SecureServerTest should not be using non-public apis DERBY-2377 Document language based ordering which will be implemented by code related sub-tasks of DERBY-1478. DERBY-2376 Patch available to make .classpath entries portable - relative to ECLIPSE_HOME DERBY-2375 jdbcapi/users2.sql and jdbcapi/secureUsers.sql fails on IBM weme 6.1 DERBY-2372 Document the secure-by-default network server DERBY-2371 Setting a default value for a VARCHAR column fails when column contains data DERBY-2370 EXISTS may return the wrong value for sub-queries involving set operations DERBY-2369 NetworkServerControl.shutdown() takes at least 1.5 seconds, could be faster. DERBY-2368 Modify compatibility/testScript.xml to not run embedded/jvm1.3 case any more - not valid after r509863 DERBY-2366 Tests DerbyNetNewServer and SecureServerTest fails on weme 6.1 DERBY-2365 Brushing up pages for MAX and MIN in Derby Reference Manual DERBY-2364 improve documentation to explain logged/unlogged operations DERBY-2361 Documentation should give examples for using the different security mechanisms DERBY-2356 Make SSL server authentication optional DERBY-2355 Wrong URL in Eclipse-Plugin Lab Example Jays.java DERBY-2350 Use of XML values in the action statement of a trigger throw exceptions. DERBY-2347 Add code to support request and return of locators over DRDA DERBY-2346 Provide set methods for clob for embedded driver DERBY-2345 truncate on a Blob does not work when the Blob is in memory DERBY-2342 convert importExport.java to junit DERBY-2341 derby.language.statementCacheSize is ignored when it is set as a database property. DERBY-2339 org.apache.derbyTesting.functionTests.suites.All is extremely CPU intensive since ~svn 507489 DERBY-2336 Enable collation based ordering for CHAR data type. DERBY-2335 Compare character datatypes with different collation ordering. DERBY-2333 Convert parameterMapping to JUnit DERBY-2332 Convert old harness tests for statement caching into a single JUnit test class (with multiple fixtures) DERBY-2331 Disallow code in installed jars from resolving classes in the org.apache.derby.* namespace except for public apis. DERBY-2330 Disallow user-defined SQL routines to resolve to entry points (methods in classes) in the org.apache.derby.* namespace DERBY-2329 Compatibility test fails in all combinations with 'serverTrunk', i.e. current trunk revision. (since tinderbox on svn 506771) DERBY-2328 Reduce monitor contention in SinglePool DERBY-2327 Reduce monitor contention in LockSet DERBY-2324 convert StmtCloseFunTest to JUnit DERBY-2323 Update Graphic in Dev Guide - Embedded deployment application overview DERBY-2318 testStreams(org.apache.derbyTesting.functionTests.tests.lang.StreamsTest) failed on weme6.1 jvm/ DERBY-2315 compatibility/testScript.xml should include 10.2.2 in the server/client combinations DERBY-2312 Remove unwanted prints generated by the test DERBY-2311 Generate the txt and blobs required for the system tests dynamically DERBY-2310 Improve the Readme.txt files in both the tests DERBY-2309 Add build.xml, so that the code can get compiled using ant with the 'all' target. DERBY-2305 Convert tests in derbynet that will run via HarnessJavaTest DERBY-2304 Convert derbynet/callable.java to junit DERBY-2302 AccessControlException for 'user.dir read' in ClientSideSystemPropertiesTest.testConnection DERBY-2301 Documentation of different executeBatch error handling between embedded and DerbyNetClient needed DERBY-2300 convert test lang/streams.java to JUnit DERBY-2299 convert cursor.java to junit DERBY-2296 getProperties method deprecated on ClientDataSource DERBY-2295 DRDAProtocolTest:clientjunit.framework.AssertionFailedError DERBY-2294 Missing sql script: '/org/apache/derbyTesting/functionTests/tests/lang/altertableDropColumn.sql' DERBY-2293 convert batchUpdate.java to junit DERBY-2283 convert lang/currentof.java test to junit test DERBY-2281 Update the Tuning Guide figure about using the statement cache DERBY-2279 JDBC3 driver is loaded instead of JDBC4 when running with jdk1.7 DERBY-2277 Make it possible to run the testsuite with jdk1.7 DERBY-2275 XSLT changes for PDF output DERBY-2274 Implement testing for SSL communication DERBY-2273 Implement SSL flag in datasource objects DERBY-2272 SSL Documentation DERBY-2269 running tests (derbyall, or suites.All) with weme6.1 (or wctme5.7) with derbyrun.jar fails with NoClassDefFoundError: javax.naming.Referenceable DERBY-2268 AccessControlException when exiting junit.swingui.TestRunner DERBY-2265 bad logic in jvm:guessWSHome() in old test harness affects j9 runs DERBY-2264 Restrict shutdown, upgrade, and encryption powers to the database owner DERBY-2263 Update the copyright dita files to mark Derby logo images as non-substantive images (for accessibility) DERBY-2262 DatabaseMetaData.getTypeInfo returns incorrect MAXIMUM_SCALE value for DECIMAL and NUMERIC types DERBY-2260 DatabaseMetaData.getTypeInfo() returns incorrect precision for VARCHAR FOR BIT DATA DERBY-2259 DatabaseMetaData.getTypeInfo() SEARCHABLE column returns incorrect information for types that cannot be searched. DERBY-2258 DatabaseMetaData.getTypeInfo() does not list supported Derby SQL types correctly. DERBY-2257 Implementing the stored procedures called by the LOB related JDBC methods DERBY-2256 Wrong Results: Use of decimal values in an IN-list with INTEGER left operand can lead to extra rows. DERBY-2249 Place holder to attach the long running test which will test Derby's improved optimizer DERBY-2248 Place holder for the NetworkServer system test DERBY-2247 provide set methods for blob in embeded driver DERBY-2244 DatabaseMetaData.supportsExpressionsInOrderBy() returns false DERBY-2243 DatabaseMetaData.supportsANSI92EntryLevelSQL() returns false for embedded, true for client driver DERBY-2241 compatibilitytest fails after DERBY-2121 change. DERBY-2237 Cleanup copyrights in the DITA source and generated docs DERBY-2236 Three tests from i18nTest fails on SLES with jdk1.4.2 when derbyrun.jar comes before derby.jar in the classpath DERBY-2233 junit test derbynet/PreparedStatementTest fails with wctme5.7 (aka j9 2.2/ foundation/j2ME 1.0) and weme6.1 (aka j9 2.3 / foundation/j2ME 1.1) DERBY-2230 AssertFailure: ByteCode Conditional then/else stack mismatch DERBY-2228 Support Derby on J2ME/CDC/Foundation 1.1 DERBY-2226 Move column bitset computation to IndexToBaseRowNode DERBY-2224 Test harness should support J2ME 1.1 DERBY-2223 Let BasePage.fetchFieldFromSlot use the special single-col FetchDescriptor ctor DERBY-2222 'show indexes in SCHEMANAME' does not work with the client driver DERBY-2220 Uncommitted transactions executed throught XAResource will held locks after the application terminates (or crashes during the transaction). DERBY-2218 Null Pointer Exception when an untyped NULL subquery ("values null") appears outside of the FROM list in a SELECT query. DERBY-2217 Convert upgrade tests to Junit DERBY-2216 Allow demo SimpleApp to work in J2ME environment DERBY-2215 Nested test configuration decorators based upon ChangeConfigurationSetup do not work as expected. DERBY-2214 Fix Getting Started file to reflect classpath change DERBY-2213 Support running Junit tests with just embedded jar file and testing jars. DERBY-2208 setNetworkServerCP scripts need not add derby.jar into the CLASSPATH DERBY-2202 DROP PROCEDURE depends on SET SCHEMA DERBY-2200 Add performance tests to Derby using the junit perf framework DERBY-2199 BaseJDBCTestCase.assertSQLState should preserve the original exception DERBY-2197 Remove unused code for locking rows while holding a latch DERBY-2196 Run standalone network server with security manager by default DERBY-2195 Nested triggers not working properly after maximum trigger count exception is thrown DERBY-2194 A few more problems with Working with Derby manual DERBY-2193 [import] ERROR 38000: StringIndexOutOfBoundsException was thrown while evaluating an expression. DERBY-2191 Cleanup of FormatableBitSet DERBY-2184 QuickStart section of java/testing/README.htm should contain Sun JDK6 as supported java version for running tests DERBY-2183 Trigger recompilation problem when trigger action has its table not qualified with a schema DERBY-2179 suites.All fails after revision 483606 with ibm15 DERBY-2166 Implement proper handling of SocketTimeoutException in DRDAConnThread DERBY-2158 test lang.UpdatableResultSetTest.testUpdateXXXWithAllDatatypes fails with wctme5.7 (j9) foundation DERBY-2157 SqlExceptionTest.testChainedException and .testNextException fail with wctme5.7 foundation DERBY-2155 checkDataSource and checkDataSource30 fail in the tinderbox test DERBY-2153 suites.All falls over with foundation after revision 482433; java.lang.NoClassFoundError: javax.xml.parsers.DocumentBuilderFactory DERBY-2152 Support diagnostic vti tables that take parameters, such as SpaceTable DERBY-2151 "Fixer-upper" utility to help convert ij canon-based tests to JUnit. DERBY-2150 Reduce use of synchronized collections in GenericLanguageConnectionContext DERBY-2149 Replace Vectors and Hashtables with ArrayLists and HashMaps in RAMTransaction DERBY-2147 LIKE predicate does not accept a pure column reference as righthand operand (gives ERROR 42824) DERBY-2141 BlobClob4BlobTest.testPositionBlob() fails with NullPointerException DERBY-2140 BlobClob4BlobTest.testSelfDestructiveClob() fails with "ERROR X0X95: Operation 'DROP TABLE' cannot be performed on object 'TESTCLOB' because there is an open ResultSet dependent on that object." DERBY-2138 Remove DataDictionaryContext and associated code DERBY-2137 CALL (PROCEDURE) statement documentation in reference manual has incomplete syntax for arguments DERBY-2135 add comment to messages.xml to ensure translations are kept in sync or removed when adding/removing parameters DERBY-2124 Incorrect method name in error message for Connection.setTransactionIsolation method DERBY-2123 Remove workaround for old JIT bug from StoredPage DERBY-2122 Optimize ContainerLock.isCompatible() DERBY-2121 Remove JDK 1.3 build dependency in network server DERBY-2118 Change some boundary checks in ArrayInputStream to ASSERTs to improve performance DERBY-2117 Intermittent failure in lang/compressTable.sql DERBY-2116 Test files missing svn:eol-style DERBY-2115 Some master files don't have the svn:eol-style property DERBY-2114 Let Clock embed a HashMap rather than inherit from Hashtable DERBY-2112 Nullpointer on executeBatchRequestX when preparedStatement has no parameters DERBY-2108 Implement SSL/TLS communication between client and server DERBY-2107 Move page latching out of the lock manager DERBY-2103 After a Lexical Error due to syntax error , even a simple create table does not work on the same connection. DERBY-2102 JDBC.assertFullResultSet should handle byte arrays DERBY-2100 Convert derbynet/prepStmt.java to Junit DERBY-2099 Make BasePage.getPageId() final DERBY-2096 Change the Parser.parserStatement() to return the more specific StatementNode instead of QueryTreeNode. DERBY-2095 Add the ability to populate a database for the order entry toolkit based upon the TPC-C specification. DERBY-2093 Error in initSlotTable() can cause NPE or ASSERT rather than reporting page number in corrupt page message. DERBY-2089 jdbc4/VerifySignatures.junit is failing DERBY-2088 Update the documentation templates. Add comment about changing the reference ID DERBY-2087 Clean up of a database server directory after running junit tests. DERBY-2083 Shutting down a database loaded from a jar leaves an open file reference to the jar file containing the database. DERBY-2067 Assert failure in EmbedConnection.restoreContextStack() when running lang/closed.java DERBY-2060 SET CURRENT ISOLATION in ref.man refers java.sql.Connection.setTransactionLevel instead of java.sql.Connection.setTransactionIsolation DERBY-2057 SYSCS_UTIL.SYSCS_INPLACE_COMPRESS_TABLE documentation or implementation error on its arguments. DERBY-2056 junitTests/derbyNet/CompatibilityTest.java fails with IBM JVM 142 and 15 on both Windows and Linux platforms DERBY-2055 Add execution of the schema scripts for order entry DERBY-2054 Rewrite 'derbynet/SuicideOfStreaming' to a JUnit test DERBY-2053 Dev Guide: Syntax errors in SQL tips -> Tricks of the VALUES clause -> Multiple rows DERBY-2052 JDBC.assertRowInResultSet compares the wrong value if using trimmed strings and a SMALLINT column exists. DERBY-2050 Manipulating CachedItems could be more efficient DERBY-2049 Test jdbcapi/parameterMapping.java and lang/updatableResultSet.java are failing on J9 jvm ( J2ME Foundation Specification v1.0) DERBY-2048 LangScripts JUnit test fails in views.sql DERBY-2047 TestDataSourceFactory doesn't work correctly outside the old harness DERBY-2046 Make class org.apache.derby.iapi.store.raw.PageKey final DERBY-2044 Add date, derby version and jvm version info to the report generated by the top-level ant target junitreport. DERBY-2043 NIST suite run as a Junit test fails on J2ME with WCTME 5.7 DERBY-2042 Provide documentation for new RENAME COLUMN statement DERBY-2040 Setting derby.database.classpath to contain installed jars causes the database to be unbootable when a Securitymanager is installed. DERBY-2037 provide checking tool to flag possible errors in message translations DERBY-2036 junit testing with j2ME / wctme 5.7 foundation fails with java.sql.SQLException: org.apache.derby.jdbc.EmbeddedDriver is not registered with the JDBC driver manager DERBY-2033 Convert lang/dcl.sql test to JUnit DERBY-2032 MathTrigFunctionsTest can be improved to execute in under ten seconds instead of its current eighty seconds DERBY-2028 Make sure JUnit tests name their suites DERBY-2027 JUnit suite All crashes with OutOfMemoryError when running LobLengthTest DERBY-2025 convert lang/updatableResultSet.java to Junit DERBY-2023 Ensure all tests called by jdbc40._Suite run in embedded and client as required. DERBY-2022 jdbcapi.LobStreamsTest runs only in client (not embedded) but its suite() method gives no reason why. DERBY-2020 Change file option for syncing log file to disk from rws to rwd DERBY-2019 IJ's describe command does not handle quotes very well DERBY-2018 NullPointerException in CREATE VIEW ... VALUES NULL; DERBY-2007 Convert NIST suite to JUnit using the existing NistScripts JUnit test. DERBY-2006 Add JUnit and JUnitReport task as a target in Ant script DERBY-2005 convert jdbcapi/Stream.java to Junit DERBY-2003 Use a lower wait timeout in BlobClob4BlobTest DERBY-2001 Add DITA templates for the 3 topic types into the trunk DERBY-2000 A SecurityManager is not always installed when running JUnit tests/suites DERBY-1995 Add base schema scripts for order entry DERBY-1994 Implement data model for order entry DERBY-1993 Check in the demo used by the Java in the Database session at Apachecon 2006 DERBY-1989 Convert jdbc4/TestDbMetaData.java to JUnit DERBY-1988 Convert jdbc4/TestJDBC40Exception.java to JUnit DERBY-1985 Use Calendar.setTimeInMillis(long) instead of Calendar.setTime(Date) for performance. DERBY-1983 Change build system so that base level is JDK 1.4 DERBY-1979 convert jdbcapi/characterStreams.java to Junit DERBY-1976 Add new utility methods to BaseJDBCTestCase to make conversion of ij tests to JUnit easier. DERBY-1975 SQLAuthorizationPropTest cannot be run twice against the same database. DERBY-1974 Junit tests that require SQL authorization mode should use a different database to the default one. DERBY-1971 Make TestConfiguration set descriptive names for TestSuite objects it instantiates DERBY-1965 NetworkServerControlImpl never closes the socket or streams it opens in setUpSocket. DERBY-1964 Update the documentation of SYSCS_UTIL.SYSCS_COMPRESS_TABLE for the changes that went in as part of DERBY-737 DERBY-1962 Convert jdbcapi/resultsetJdbc30.java to junit DERBY-1961 Investigate resource usage for different types of load on an in-memory database DERBY-1959 10.2 'Derby Developer's Guide' error/ambiguity. DERBY-1956 Remove stale code from the statement classes in the client driver DERBY-1955 Unquoted path in .bat files may cause errors (Win) DERBY-1953 Make FOR EACH clause and MODE DB2SQL in CREATE TRIGGER statement optional DERBY-1952 Remove the running of JUnit tests from the old derby test harness to allow faster conversion to a pure-Junit world. DERBY-1949 locate function documentation should clarify behavior when first parameter is empty string DERBY-1947 OutOfMemoryError after repeated calls to boot and shutdown a database DERBY-1942 There exists difference between behavior of setNull(Types.TIME) and setTiime(null). DERBY-1935 Reference Manual - Derby Limitations DERBY-1934 Reference Manual updates - J2EE Compliance: Java Transaction API and javax.sql Extensions DERBY-1930 Move JDBC implementation notes into the published javadoc DERBY-1929 SYSTABLEPERMS and SYSCOLPERMS documentation needs to be updated DERBY-1928 Update table "Support for SQL-92 Features: Basic schema manipulation" for GRANT/REVOKE DERBY-1926 Provide documentation for ALTER TABLE DROP COLUMN DERBY-1922 readme.html under frameworks does not mention about Derby client and some minor typos in example.html DERBY-1920 DOCS - Improve topic titles for vague and duplicate topics DERBY-1919 Top level index.html page should link to release notes and other items in top-level of a release. DERBY-1918 INCREMENT of IDENTITY column described as allowing a value of zero in reference manual DERBY-1917 Clob.position fails with Embedded driver and large Clobs DERBY-1909 ALTER TABLE DROP COLUMN needs to update GRANTed column privileges DERBY-1895 Convert jdbcapi/blobclob4BLOB.java to Junit DERBY-1890 improve XSDFI error message DERBY-1889 Convert jdbcapi/lobStreams.java to Junit DERBY-1879 Save meta data related information for an EmbedResultSet at the plan level instead of the ResultSet level improves performance. DERBY-1874 largeDataTests/LobLimits master needs update for new exception names DERBY-1869 lang/timestampArith.java fails if it starts right before midnight DERBY-1868 Merge argument descriptors into SQLState strings so that SQLState documentation can be generated by a program DERBY-1867 Document algorithm support required for using secmec 8(USRSSSBPWD) and limitation on ibm141 vm. DERBY-1861 Column ordering ASSERT when combining column references and expressions in same ORDER BY DERBY-1852 Wrong results: duplicate rows returned for nested UNIONs when they should be eliminated. DERBY-1847 SELECT statement asserts with XJ001 when attempted to select a newly added column in SQL authorization mode DERBY-1841 lang/groupBy.sql fails with IBM j9 vms DERBY-1828 Access rule violations should use a SQL state starting with '42' according to the SQL standard. DERBY-1822 LOCK TABLE example and description in reference manual should get replaced by a 'real' example DERBY-1816 Client's ResultSet.getTime() on a SQL TIMESTAMP column loses the sub-second resolution and always has a milli-second value of zero. DERBY-1815 In admin guide examples to start network server on windows with .bat scripts, $DERYBY_INSTALL Is used , I think it should be %DERBY_INSTALL% DERBY-1814 Tests should always be compiled with line number information. DERBY-1805 Links to element ids inside a topic are broken in PDFs and HTML Books DERBY-1797 Building toursdb would go a little faster if it used autocommit off mode. DERBY-1795 Graphics not copied over for PDF and HTML-single manuals DERBY-1791 Make policy file and harness tests cope with derbyTesting being in a different folder (test) to the other jars. DERBY-1765 Update ALTER TABLE documentation to reflect DERBY-119 (ALTER COLUMN [NOT]NULL) DERBY-1760 remote server testing with 10.2 snapshot showed 8 failures DERBY-1758 Enable xmlSuite to run as part of derbyall in environments that have the required external jars. DERBY-1753 Doc for SYSCS_INPLACE_COMPRESS_TABLE has incorrect procedure name in the java examples. DERBY-1752 Fix javadoc to account for changes required by new licence header policy. DERBY-1746 upgrade tests should start using 10.1.3 released builds DERBY-1712 Add a JUnit test decorator that starts the NetworkServer at setUp and stops it at tearDown. DERBY-1709 Deprecate scripts in frameworks directory DERBY-1704 Allow more concurrency in the lock manager DERBY-1673 Compling with jikes not longer works due to recent changes that added -target -source command line flags to each compile DERBY-1665 Incorrect JavaDoc for Qualifier interface DERBY-1662 Document derbyrun.jar DERBY-1644 NPE when inserting values to a table that has a column declared as generated by default as identity DERBY-1624 use of direct column name rather than alias make aggregation fail (Hibernate depends on that) DERBY-1623 Add ANSI TRIM implementation DERBY-1620 SQL CASE statement returns ERROR 42X89 when including NULL as a return value DERBY-1610 Resolve difference of type compatibility between Embedded and NetworkServer/NetworkDriver DERBY-1606 derbyrunjartest hangs with wctme5.7 & always uses j9_13; hangs with _foundation DERBY-1590 Consolidate the *conrefs.dita files in the documentation source tree to a single file. DERBY-1589 CREATE TABLE throws NullPointerException in Derby SQL Standard Authorization after DROPs and REVOKES DERBY-1588 Link "Getting Started...." and "Apache Derby Server ...." in demo.html needs to be linked to actual documents instead of manuals page DERBY-1570 The derby configuration, logging and diagnostic properties such as derby.language.logStatementText are hard to find in the documentation DERBY-1558 enable more testcases in ConcurrencyTest DERBY-1557 Add a JUnit test decorator that creates a database at setUp and removes it at tearDown. DERBY-1556 Add a utility JUnit test decorator that drops all SQL objects in its tearDown method. DERBY-1535 Trial 2 for DERBY-550, improve use of Engine from NetworkServer and reduce memory usage DERBY-1526 build should be able to locate the Java runtime libraries from properties not sourced from ${user.home}, but inside the current subversion checkout. DERBY-1520 Document new SYSCS_DIAG tables DERBY-1519 'setAsciiStream' uses different encodings for embedded and client DERBY-1501 PreparedStatement#setNull(int parameterIndex, int sqlType) throws SQL Exception if given sqlType is LONGVARBINARY in embedded mode DERBY-1496 testSecMec needs many masters - should convert to junit DERBY-1494 PreparedStatement.setNull(int, int) checks type compatibility on embedded, but not on the client DERBY-1490 Provide ALTER TABLE RENAME COLUMN functionality DERBY-1489 Provide ALTER TABLE DROP COLUMN functionality DERBY-1484 Client and embedded behave differently when the table name is null in DatabaseMetaData methods DERBY-1440 jdk 1.6 client driver omits SQLStates and chained exceptions in error messages DERBY-1434 Client can send incorrect database name to server after having made multiple connections to different databases. DERBY-1381 Document ij.exceptionTrace property DERBY-1377 Update copyright headers to comply with new ASF policy DERBY-1355 ClientDriver ResultSetMetaData.isAutoIncrement(column) always returns false DERBY-1341 LOB set method(s) are currently no supported, but part of the Java 1.4 JDBC interface DERBY-1285 Finish JDBC3 Blob implementation DERBY-1275 Provide a way to enable client tracing without changing the application DERBY-1132 Truncation Error with Concat DERBY-1122 Improve base JUnit testing classes DERBY-1054 Starting Derby with the NetServlet inside of tomcat does not allow binding to non localhost interface. DERBY-1001 Rewrite 'store/encryptionKey.sql' to a JUnit test DERBY-967 lang/autoincrement.sql intermittently fails on SunOS-5.10_i86 DERBY-931 Until DERBY-911 gets fixed, document the difference in behavior between Nework Client Driver and Embedded Driver for setReadOnly DERBY-908 YEAR,SECOND,MONTH, MINUTE, HOUR and DAY functions have incorrect information on durations. DERBY-815 Prevent unneeded object creation and excessive decoding in parseSQLDTA_work() DERBY-812 Scripts to publish Derby test results DERBY-806 One each deleted or updated from a heap row a new RowPosition object is created. DERBY-801 Allow parallel access to data files. DERBY-790 SQLException used by the networked interface to Derby is not serializable DERBY-729 Scalar time and date functions return 0 instead NULL when argument is NULL DERBY-681 Eliminate the parser's rewriting of the abstract syntax tree for queries with GROUP BY and/or HAVING clauses DERBY-680 In ij, executing a prepared statement with numeric/decimal parameter fails with NullPointerException in J2ME/CDC/FP DERBY-630 create trigger fails with null pointer exception DERBY-606 SYSCS_UTIL.SYSCS_INPLACE_COMPRESS_TABLE fails on (very) large tables DERBY-595 Using derby.language.logStatementText=true can mask certain exceptions and lead to incorrect behavior in some cases DERBY-552 Fetching resources using getResourceAsStream from a jar stored in a database that is archived in a jar file fails DERBY-538 Investigate using the standard java.net.URLClassLoader for database class loading. DERBY-537 SQLJ.INSTALL_JAR and SQLJ.UPDATE_JAR fail when running with a SecurityManager enabled. DERBY-415 sysinfo with -cp client option should not print error saying DB2 jar file and driver class are missing DERBY-396 Support for ALTER STATEMENT to DROP , MODIFY, RENAME a COLUMN DERBY-391 Tools and Utilities guide does not document ij.datasource, ij.user, nor ij.password DERBY-378 support for import/export of tables with clob/blob and the other binary data types will be good addition to derby, DERBY-264 This enhancement to allow expressions in ORDER BY clause will require documentation changes. DERBY-234 Documentation of DateTime types is incomplete DERBY-208 Add support to retrieve lobs for Network Server by locator rather than matierializing the LOB DERBY-183 Parameter names required in CREATE FUNCTION DERBY-147 ERROR 42X79 not consistant ? - same column name specified twice DERBY-64 Create a table with a query DERBY-47 Some possible improvements to IN optimization