DERBY-6211: Move optimizer tracer from tools jar to engine jar.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1479642 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6213: Remove jdbc4 variant of the public api javadoc.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1479881 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6213: Convert the org.apache.derby.vti package to Java 6.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1479972 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6213: Fix some compilation problems in the vti package when compiling on Java 7.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1480052 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6169: Reduce visibility of classes and methods under impl/sql

Reduce visibility of the following methods, and all overrides of them,
to package:

- QueryTreeNode.generate()
- QueryTreeNode.getNullNode()
- ResultSetNode.bindResultColumns()
- ResultSetNode.generateNormalizationResultSet()
- ResultSetNode.generateResultSet()
- ResultSetNode.getFromTableByName()
- ValueNode.generateExpression()

Remove unused method:

- ValueNode.generateFilter()

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1480187 13f79535-47bb-0310-9956-ffa450edef68
Fix javadoc warning (mismatch between @param and actual parameter name)

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1480232 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6213: Convert misc packages to Java 6.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1480251 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6213: Convert a couple misc packages to Java 6.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1480365 13f79535-47bb-0310-9956-ffa450edef68
DERBY-3838; Convert derbynet/DerbyNetAutoStart to JUnit
  removing an orphaned file from suites, and adjusting the README. It appears there never was 
  a derbynetautostart suite, so this file was pointless anyway.


git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1480446 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6181; fix AutoloadTest to support running concurrently when different base ports are specified.
  Re-enable the test, passing the baseport on to when set, including on to spawned processes.


git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1480462 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6125 Code clean up in client driver

Patch derby-6125-misc-01-b, which further removes dead code opened up
by previous removals, further limits visibility, and corrects one
error introduced in a previous patch for this issue.

* deleted:    client/am/SqlState.java

Removed this class as there were no longer any references to it.

* modified:   client/ClientPooledConnection.java

Removed unused field netPhysicalConnection_.

* modified:   client/ClientXAConnection.java

Removed unused method createControlConnection; import fix.

* modified:   client/am/ClientBlob.java

Removed unused method getBinaryString.

* modified:   client/am/ClobLocatorWriter.java

Corrected error introduced in a previous patch.

* modified:   client/am/ClientConnection.java
* modified:   client/am/ClientDatabaseMetaData.java
* modified:   client/am/ClientPreparedStatement.java
* modified:   client/am/DateTime.java
* modified:   client/am/ExceptionFormatter.java
* modified:   client/am/SqlWarning.java
* modified:   client/am/Sqlca.java
* modified:   client/am/StatementCacheInteractor.java
* modified:   client/net/NetConnectionReply.java
* modified:   client/net/NetConnectionRequest.java
* modified:   client/net/NetStatementReply.java

Visibility restrictions.

* modified:   client/am/ClientJDBCObjectFactory.java
* modified:   client/net/ClientJDBCObjectFactoryImpl.java

Removed unused method newClientPooledConnection(ClientBaseDataSourceRoot, LogWriter, String, String, int)
Removed unused method newNetConnection(LogWriter, String, Properties)
Removed unused method newNetConnection(LogWriter, ClientBaseDataSourceRoot, String, String)
Removed unused method newNetConnection(LogWriter, String, int, ClientBaseDataSourceRoot, boolean)
Removed unused method newStatement(Agent, ClientConnection)

* modified:   client/am/ClientResultSet.java

Removed unused fields updatability_delete__, updatability_update__. Visibility restrictions.

* modified:   client/am/ClientStatement.java
* modified:   client/am/Configuration.java
* modified:   client/am/Lob.java

Visibility restrictions. Import fix.

* modified:   client/am/CloseFilterInputStream.java
* modified:   client/am/ColumnMetaData.java
* modified:   client/am/Utils.java
* modified:   client/net/NetCursor.java
* modified:   client/net/NetResultSet40.java
* modified:   client/net/NetSqlca.java
* modified:   client/net/NetXAResource.java
* modified:   client/net/NetXAConnection.java
* modified:   client/net/Typdef.java
* modified:   jdbc/ClientConnectionPoolDataSource.java
* modified:   jdbc/ClientXADataSource.java

Import fixes.

* modified:   client/am/Cursor.java

Import fix, visibility restrictions, removed unused constants
SBCS_CLOB, MBCS_CLOB, DBCS_CLOB, VARIABLE_BYTES.

* modified:   client/am/Diagnosable.java

Import fixes. Removed interface method printTrace (+ implementations).

* modified:   client/am/LogWriter.java

Removed unused method traceEntry(Object, String, int, Object, Object, Object)

* modified:   client/am/LogicalConnection.java

Removed unused method preparePositionedUpdateStatement

* modified:   client/am/MaterialPreparedStatement.java

Removed unused abstract methods methods writeDescribeOutput_ and readDescribeOutput_ (+ implementations)

* modified:   client/am/SqlException.java

Import fixes.  Visibility restrictions. Removed unused method printTrace(PrintWriter, String)

* modified:   client/am/XaException.java

Import fixes. Removed unused method printTrace(PrintWriter, String)

* modified:   client/net/ClientJDBCObjectFactoryImpl40.java

Removed unused method newClientPooledConnection(ClientBaseDataSourceRoot, LogWriter, String, String, int)
Removed unused method newNetConnection(LogWriter, String, Properties)
Removed unused method newNetConnection(LogWriter, ClientBaseDataSourceRoot, String, String)

* modified:   client/net/DssConstants.java

Removed unused constant GDSFMT_RQSDSS_NOREPLY

* modified:   client/net/FdocaConstants.java

Removed unused constants FDOCA_TYPE_FIXEDBYTES,
FDOCA_TYPE_NFIXEDBYTES, FDOCA_TYPE_NVARBYTES, FDOCA_TYPE_NTBYTES,
FDOCA_TYPE_NNTBYTES, FDOCA_TYPE_NPSCLBYTE, FDOCA_TYPE_FIXEDCHAR,
FDOCA_TYPE_NFIXEDCHAR, FDOCA_TYPE_NVARCHAR , FDOCA_TYPE_NTCHAR,
FDOCA_TYPE_NNTCHAR, FDOCA_TYPE_NPSCLCHAR, FDOCA_TYPE_INTEGER_BE,
FDOCA_TYPE_NINTEGER_BE, FDOCA_TYPE_NDECIMAL, FDOCA_TYPE_FLOAT_IEEE,
FDOCA_TYPE_NFLOAT_IEEE, FDOCA_TYPE_NLOBBYTES, FDOCA_TYPE_NLOBCHAR.

* modified:   client/net/NetAgent.java

Visibility restriction. Removed unused method getPort.

* modified:   client/net/NetConfiguration.java

Visibility restriction. Removed unused constant SECMEC_USRIDNWPWD.

* modified:   client/net/NetConnection.java

Import fix. Removed unused fields cnntkn_, readOnlyTransaction. Removed unused methods getCnnToken.
Removed useless method setReadOnlyTransactionFlag.
Removed unused constructor NetConnection40(NetLogWriter, String, int, ClientBaseDataSourceRoot, boolean)

* modified:   client/net/NetConnection40.java

Visibility restrictions. Removed unused constructor NetConnection40(NetLogWriter, String, int, ClientBaseDataSourceRoot, boolean)

* modified:   client/net/NetPackageReply.java

Import fixes. Removed unused field rdbnam. Unused ultimately useless
setting of netConnection_.setReadOnlyTransactionFlag, cd. NetConnction changes.

* modified:   client/net/NetPackageRequest.java

Removed unused field collectionName.

* modified:   client/net/NetPreparedStatement.java

Removed unused methods writeDescribeOutput_, readDescribeOutput_.

* modified:   client/net/NetXACallInfo.java

Removed unused field crrtkn_

* modified:   jdbc/ClientBaseDataSourceRoot.java

Import fixes. Visibility restrictions. Removed unused constant SUPPORTS_EUSRIDPWD.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1480892 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6212: NullPointerException when calling a procedure with sub-query as argument

Raise a syntax error instead of a NullPointerException if a sub-query
is given as argument to a CALL statement.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1480909 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6169: Reduce visibility of classes and methods under impl/sql

Reduce visibility of some methods and fields in impl/sql/compile that
expose package-private classes outside of the package.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1480941 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6215: derby.log grows enormously during StressMultiTest

Make sure ClobReclamationTest clears the DaemonTrace debug flag when
it has completed.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1480947 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6213: Deprecate support for Java 5 and CDC

- Revive build target for SqlXmlUtil to ensure that it always includes
  the org.w3c.dom.xpath interfaces on the compile classpath.

- Update SqlXmlUtil.java so that no warnings are printed during
  compilation.

- Remove code that's only used on Java 1.4 and CDC.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1481187 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6213: Remove CDC DataSource and Driver.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1481248 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6213: Convert remaining non-JDBC packages to Java 6 build.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1481379 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6181; fix AutoloadTest to support running concurrently when different base ports are specified.
  removing an unnecessarily introduced import.


git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1481448 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6169: Reduce visibility of classes and methods under impl/sql

Changes to prevent exposing package-private classes outside the
package via public or protected fields or methods:

- Reduce visibility to package or private if possible

- Remove the code if it's not actually used

- Use public interfaces rather than implementation classes in the
  method signatures if the methods have to be public

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1481816 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6213: Deprecate support for Java 5 and CDC

Compile all test code against Java 6 libraries.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1481818 13f79535-47bb-0310-9956-ffa450edef68