sun-javadb-10.3.2.1/0000755041506200017500000000000010730010246013326 5ustar lh136778clustrasun-javadb-10.3.2.1/CHANGES.html0000644041506200017500000003415210723513011015271 0ustar lh136778clustra Changes for Derby 10.3.2.1

Changes for Derby 10.3.2.1

CHANGES

The following table lists issues in JIRA which were fixed between Derby release 10.3.2.1 and the preceding release 10.3.1.4. This includes issues for the product source, documentation and tests

Issue IdDescription
DERBY-3232Top-level index.html in releases incorrectly indicates support for JDBC 2.1 in 10.3 releases
DERBY-3216do row level lock space reclamation in btree of indiv rows.
DERBY-3190New simple demo suitable for supported Java ME platforms
DERBY-3187SimpleApp (demo) does not work in a client setting
DERBY-3183'Error starting tracing' in testTraceCommands(org.apache.derbyTesting.functionTests.tests.derbynet.NetworkServerControlApiTest) on Windows...
DERBY-3178DataSourceTest uses ConnectionEventListener but never verifies that events are getting fired
DERBY-3176J2ME support for phoneME platform disabled in 10.3
DERBY-3175NullPointerException on INSERT after ALTER TABLE ... DROP COLUMN
DERBY-3174NetworkServerControlApiTest fails with java.security.AccessControlException if not run as first test
DERBY-3172ConnectionEventListener.connectionErrorOccurred not being executed when SQLState 08006 Error is thrown
DERBY-3159SYSCS_SET_USER_ACCESS fails if the user name contains characters not allowed in regular identifiers.
DERBY-3158Repeat calls to SYSCS_UTIL.SYSCS_SET_USER_ACCESS() for the same user and permission fail with repeated user in list exception.
DERBY-3147Remove unused code that allow identifiers to be lower-cased.
DERBY-3145ComparisonFailure in synonym(org.apache.derbyTesting.functionTests.tests.lang.LangScripts)
DERBY-3142sysinfo ignores derby.ui.locale
DERBY-3140InListMultiProbeTest creates 30000 DataRow objects that do not get released during suites.All run
DERBY-3136Cut down on object creations in LIKE clause implementation of territory based characters.
DERBY-3133Syntax for GRANT table permission does not mention that several privileges may be specified in a list
DERBY-3126Inserting BigDecimal value in PreparedStatement with setBigDecimal into double column loses fractional digits
DERBY-3123Style sheet (CSS) references in demo HTML files are incorrect
DERBY-3119Derby does not resolve functions to methods with Integer return type.
DERBY-3118Simple demo is out of date
DERBY-3110server hangs after trace on command fails
DERBY-3109Nonexistent property derby.database.defaultAccessMode shown in Developers Guide: User Authentication examples
DERBY-3107On client, Clob.free() does not release locators.
DERBY-3099Possible bug in interaction with buffer manager causing pages not to be freed on rollback to savepoint
DERBY-3098LOB locks are not released after free().
DERBY-3096SSL handshake throws "bad_certificate" when server tries to authenticate client
DERBY-3093Intermittent transaction failure caused by internal duplicate savepoint name for triggers
DERBY-3086The server policy needs to grant derbynet.jar more permissions so that sysinfo and drda tracing will work
DERBY-3085Fails to handle BLOB fields with a PreparedStatement with size >32750 bytes
DERBY-3082DataSourceTest fixture testAllDataSources fails with AssertionFailedError through assertStringFormat on IBM iseries
DERBY-3081cannot create instance of generated class because of java.lang.VerifyError in 4 tests on IBM iseries
DERBY-3080With TERRITORY_BASED collation, when multiple characters map to a single collation element '_' matches a single collation element rather than a single character
DERBY-3077Trying to reconnect with derby client after bringing server down throws SQL Exception 58009 rather than 08XXX exception
DERBY-3075Client error: 08001 Error connecting to server.. throws SQLTransientConnectionException instead of SQLNonTransientConnectionException
DERBY-3074Database shutdown exception 08006 throws SQLTransientConnectionException instead of SQLNonTransientConnectionException
DERBY-3061Wrong results from query with two conjuncts
DERBY-3054lang/synonym.sql fails with weme 6.1 with junit.framework.ComparisonFailure: Output at line 383 expected:<...1...> but was:<...2...>
DERBY-3046setObj(int,Object,int) causes NPE if no parameter markers are present; should generate SQLException as for setObject(int,Object)
DERBY-3038SYSCS_IMPORT_TABLE FAILS with No current connection after shutdown/reconnect to encrypted database : 10.3.1.4 regression
DERBY-3033select query results in nullpointer exception in skipScan()
DERBY-3032java.lang.ClassCastException returning null from a case statement in subquery
DERBY-3027CollationTest fails with "Unexpected row count: expected:<0> but was:<1>" when Xalan 2.7 jars are in classpath
DERBY-3025NPE when connecting to database with securityMechanism=8
DERBY-3007Documentation - SYSCS EXPORT TABLE system procedures cannot export data to an existing file
DERBY-3000getTables() call with 10.3 causes java.sql.SQLException: The parameter position '8' is out of range. The number of parameters for this prepared statement is '7'.
DERBY-2989Insert into table with constraints fails if the table name is "indicator" (or any other SQL keyword)
DERBY-2986Query involving CASE statement significantly slower in 10.3.1.4 than in 10.2.2.0
DERBY-2979Illegal Argument exception while running the svt, mailjdbc
DERBY-2972Update or select with function in the where clause causes with TERRITORY_BASED collation fails with ERROR 42818: Comparisons between 'VARCHAR' and 'VARCHAR' are not supported.
DERBY-2967Single character does not match high value unicode character with collation TERRITORY_BASED
DERBY-2961TriggerTest.testTypesINActionStatement fails with 'ASSERT FAILED col1.getClass() (class org.apache.derby.iapi.types.SQLClob) expected to be the same as col2.getClass() (class org.apache.derby.iapi.types.CollatorSQLClob)
DERBY-2957ASSERT FAILED col1.getClass() (class org.apache.derby.iapi.types.SQLChar) expected to be the same as col2.getClass() (class org.apache.derby.iapi.types.CollatorSQLChar) in NistScripts dml002 test with collated database
DERBY-2938DataSourceReference Test fails with I/O Error on ZOS with ibm15
DERBY-2910SimpleStringOperatorNode in it's bindExpression method generates a character string CAST if required but does not set the correct collation.
DERBY-2906derbynet.jar & derbytools.jar incorrectly have a META-INF/services/java.sql.Driver entry
DERBY-2903RunClassPathTester regression test gets diff because of error message difference
DERBY-2902AS IDENTITY (START WITH -9223372036854775808) fails
DERBY-2564ContextService.notifyAllActiveThreads() and network server code need a privileged block around the calls to Thread.interrupt()
DERBY-2352Assertion Failure with order by and group by expression
DERBY-2351ORDER BY with expression with distinct in the select list returns incorrect result
DERBY-2297In the Dev Guide example derby.database.readOnlyAccessUsers is incorrectly mentioned as derby.database.readAccessUsers
DERBY-2188Developer's Guide talks about a jdbc url property "locale" which is not supported by Derby.
DERBY-2073Inserting BigDecimal value in PreparedStatement into double column loses fractional digits
DERBY-2016ArrayIndexOutOfBoundsException for COALESCE with aggregate functions
DERBY-1790DatabaseMetaData.getTables() with passed in table type of SYNONYM returns system tables and not SYNONYMS
DERBY-1769Add mention that Derby supports rowUpdated, rowDeleted with a result set concurrency of CONCUR_READ_ONLY
DERBY-974ClientDriver can lose some connection properties
DERBY-957Long passed into an exception gets displayed using locale specific formatting. i18n/locale issue
DERBY-857LDAP user authentication fails under a security manager
sun-javadb-10.3.2.1/RELEASE-NOTES.html0000644041506200017500000004014210723513011016163 0ustar lh136778clustra Release Notes for Derby 10.3.2.1

Release Notes for Derby 10.3.2.1

These notes describe the difference between Derby release 10.3.2.1 and the preceding release 10.3.1.4.

Overview

Derby is a pure Java relational database engine using standard SQL and JDBC as its APIs.

Derby functionality includes:

New Features

This is a maintenance release. No new features have been added.

Bug Fixes

The following issues are addressed by Derby release 10.3.2.1. These issues are not addressed in the preceding 10.3.1.4 release.

Issue IdDescription
DERBY-3232Top-level index.html in releases incorrectly indicates support for JDBC 2.1 in 10.3 releases
DERBY-3216do row level lock space reclamation in btree of indiv rows.
DERBY-3190New simple demo suitable for supported Java ME platforms
DERBY-3187SimpleApp (demo) does not work in a client setting
DERBY-3176J2ME support for phoneME platform disabled in 10.3
DERBY-3175NullPointerException on INSERT after ALTER TABLE ... DROP COLUMN
DERBY-3172ConnectionEventListener.connectionErrorOccurred not being executed when SQLState 08006 Error is thrown
DERBY-3159SYSCS_SET_USER_ACCESS fails if the user name contains characters not allowed in regular identifiers.
DERBY-3158Repeat calls to SYSCS_UTIL.SYSCS_SET_USER_ACCESS() for the same user and permission fail with repeated user in list exception.
DERBY-3147Remove unused code that allow identifiers to be lower-cased.
DERBY-3142sysinfo ignores derby.ui.locale
DERBY-3136Cut down on object creations in LIKE clause implementation of territory based characters.
DERBY-3133Syntax for GRANT table permission does not mention that several privileges may be specified in a list
DERBY-3126Inserting BigDecimal value in PreparedStatement with setBigDecimal into double column loses fractional digits
DERBY-3123Style sheet (CSS) references in demo HTML files are incorrect
DERBY-3119Derby does not resolve functions to methods with Integer return type.
DERBY-3118Simple demo is out of date
DERBY-3110server hangs after trace on command fails
DERBY-3109Nonexistent property derby.database.defaultAccessMode shown in Developers Guide: User Authentication examples
DERBY-3107On client, Clob.free() does not release locators.
DERBY-3099Possible bug in interaction with buffer manager causing pages not to be freed on rollback to savepoint
DERBY-3098LOB locks are not released after free().
DERBY-3096SSL handshake throws "bad_certificate" when server tries to authenticate client
DERBY-3093Intermittent transaction failure caused by internal duplicate savepoint name for triggers
DERBY-3086The server policy needs to grant derbynet.jar more permissions so that sysinfo and drda tracing will work
DERBY-3085Fails to handle BLOB fields with a PreparedStatement with size >32750 bytes
DERBY-3081cannot create instance of generated class because of java.lang.VerifyError in 4 tests on IBM iseries
DERBY-3080With TERRITORY_BASED collation, when multiple characters map to a single collation element '_' matches a single collation element rather than a single character
DERBY-3077Trying to reconnect with derby client after bringing server down throws SQL Exception 58009 rather than 08XXX exception
DERBY-3075Client error: 08001 Error connecting to server.. throws SQLTransientConnectionException instead of SQLNonTransientConnectionException
DERBY-3074Database shutdown exception 08006 throws SQLTransientConnectionException instead of SQLNonTransientConnectionException
DERBY-3061Wrong results from query with two conjuncts
DERBY-3046setObj(int,Object,int) causes NPE if no parameter markers are present; should generate SQLException as for setObject(int,Object)
DERBY-3038SYSCS_IMPORT_TABLE FAILS with No current connection after shutdown/reconnect to encrypted database : 10.3.1.4 regression
DERBY-3033select query results in nullpointer exception in skipScan()
DERBY-3032java.lang.ClassCastException returning null from a case statement in subquery
DERBY-3025NPE when connecting to database with securityMechanism=8
DERBY-3007Documentation - SYSCS EXPORT TABLE system procedures cannot export data to an existing file
DERBY-3000getTables() call with 10.3 causes java.sql.SQLException: The parameter position '8' is out of range. The number of parameters for this prepared statement is '7'.
DERBY-2989Insert into table with constraints fails if the table name is "indicator" (or any other SQL keyword)
DERBY-2986Query involving CASE statement significantly slower in 10.3.1.4 than in 10.2.2.0
DERBY-2972Update or select with function in the where clause causes with TERRITORY_BASED collation fails with ERROR 42818: Comparisons between 'VARCHAR' and 'VARCHAR' are not supported.
DERBY-2967Single character does not match high value unicode character with collation TERRITORY_BASED
DERBY-2961TriggerTest.testTypesINActionStatement fails with 'ASSERT FAILED col1.getClass() (class org.apache.derby.iapi.types.SQLClob) expected to be the same as col2.getClass() (class org.apache.derby.iapi.types.CollatorSQLClob)
DERBY-2957ASSERT FAILED col1.getClass() (class org.apache.derby.iapi.types.SQLChar) expected to be the same as col2.getClass() (class org.apache.derby.iapi.types.CollatorSQLChar) in NistScripts dml002 test with collated database
DERBY-2910SimpleStringOperatorNode in it's bindExpression method generates a character string CAST if required but does not set the correct collation.
DERBY-2906derbynet.jar & derbytools.jar incorrectly have a META-INF/services/java.sql.Driver entry
DERBY-2902AS IDENTITY (START WITH -9223372036854775808) fails
DERBY-2564ContextService.notifyAllActiveThreads() and network server code need a privileged block around the calls to Thread.interrupt()
DERBY-2352Assertion Failure with order by and group by expression
DERBY-2351ORDER BY with expression with distinct in the select list returns incorrect result
DERBY-2297In the Dev Guide example derby.database.readOnlyAccessUsers is incorrectly mentioned as derby.database.readAccessUsers
DERBY-2188Developer's Guide talks about a jdbc url property "locale" which is not supported by Derby.
DERBY-2073Inserting BigDecimal value in PreparedStatement into double column loses fractional digits
DERBY-2016ArrayIndexOutOfBoundsException for COALESCE with aggregate functions
DERBY-1790DatabaseMetaData.getTables() with passed in table type of SYNONYM returns system tables and not SYNONYMS
DERBY-1769Add mention that Derby supports rowUpdated, rowDeleted with a result set concurrency of CONCUR_READ_ONLY
DERBY-974ClientDriver can lose some connection properties
DERBY-857LDAP user authentication fails under a security manager

Issues

Compared with the previous release (10.3.1.4), Derby release 10.3.2.1 introduces the following new features and incompatibilities. These merit your special attention.


Note for DERBY-2967

Summary of Change

Databases with territory based collation might see the behavior of LIKE predicate in WHERE clause has changed.

Symptoms Seen by Applications Affected by Change

In territory based databases, the LIKE predicate will now comply with SQL specification(Derby already follows SQL specification for UCS_BASIC databases). SQL specification for LIKE predicate requires that database should do one character comparison at a time. Prior to the fix that went in as part of DERBY-2967, Derby did string comparison rather than character comparison for LIKE. This causes a problem with territory based database because the collation element(s) for a string of characters may not be same as the collation element(s) for inidivdual characters that make up that string. In addition, the metacharacter _ in the pattern in a LIKE predicate will now consume exactly one character rather than working on number of collation elements. To show the impact on application, consider following eg. Say we are working with a territory where character 'z' has same collation elements as 'xy'. For such a territory consider following LIKE predicate 'zcb' LIKE 'xy_b' Prior to DERBY-2967, Derby will return TRUE because collation elements for 'z' matched 'xy' and 'c' was consumed by '_' and 'b' matched 'b'. But this does not follow SQL specification. SQL specification requires one character comparison at a time in LIKE. With the fix for DERBY-2967, the LIKE predicate in this example will return FALSE because the collation element(s) for 'z' does not match collation element(s) for 'x'. In addition, the metacharacter _ in pattern for LIKE will consume *one* character in the string value. So for an eg clause 'xycb' LIKE '_cb' will return FALSE because metacharacter _ will consume 'x' and since 'c' does not match 'y', Derby will return FALSE.

Rationale for Change

The previous behavior violated the SQL specification. The new behavior is correct.

Build Environment

Derby release 10.3.2.1 was built using the following environment:

sun-javadb-10.3.2.1/index.html0000644041506200017500000001436310727776726015366 0ustar lh136778clustra Welcome to Java DB

Relationship between Java™ DB and Derby

Java™ DB is Sun Microsystems' supported distribution of the open source Apache Derby 100% Java™ technology relational database system.

The Java™ DB product includes Apache Derby without any modification whatsoever to the underlying source code.

Java™ DB technical support is available for purchase through Sun Microsystems.

Because Java™ DB and Apache Derby have the same functionality, the Java DB documentation refers to the core functionality as Derby.


Contents

New to Derby?
Using Derby
This Distribution
More Resources

New to Derby?

If this is your first time using Derby, please look at the Getting Started Guide [HTML Book] [PDF] for assistance configuring your environment, creating a new database, and executing SQL statements.

Interested in seeing some code that makes use of Derby? There are also some simple demo applications included to help you understand how to start using Derby in your application.

Derby includes some tools to help you get started working with Derby databases. Additional information about these tools can be found in the Derby Tools and Utilities Guide [HTML Book] [PDF].

If you need more help getting started, the Apache Derby website has a Quick Start page with links to tutorials, more demo applications, and instructions on how to use Derby with a variety of different IDEs, tools, and web application servers.

If you need additional help, the Apache Derby Users mailing list can be helpful if you have specific questions regarding setting up and using Derby. For information on how to subscribe and post to the Apache Derby Users mailing list, please read the mailing lists page on the Apache Derby website.


Using Derby

For information on developing and deploying an application with Derby, see the Derby Developer's Guide [HTML Book] [PDF]. A complete reference to Derby's use of JDBC and SQL can be found in the Derby Reference Manual [HTML Book] [PDF].

Derby's JDBC API is documented in two sets of javadoc:

For information on setting up and using the Derby Network Server, which provides a client/server access model for Derby databases on machines connected over a network, please read the Derby Server and Administration Guide [HTML Book] [PDF].

Information on how to tune Derby for your specific needs can be found in Tuning Derby [HTML Book] [PDF]. This guide includes a reference to the properties which influence Derby's behavior as well as providing performance tips for certain situations.


This Distribution

Please consult the following documents for details on the contents of this distribution and how this distribution is licensed.


More Resources

If you are looking for more resources on how to use Derby in your application or integrate Derby into a specific environment, please see:

Thank you for your interest in Derby!

sun-javadb-10.3.2.1/frameworks/0000755041506200017500000000000010723243372015520 5ustar lh136778clustrasun-javadb-10.3.2.1/frameworks/NetworkServer/0000755041506200017500000000000010641441224020333 5ustar lh136778clustrasun-javadb-10.3.2.1/frameworks/NetworkServer/bin/0000755041506200017500000000000010641441224021103 5ustar lh136778clustrasun-javadb-10.3.2.1/frameworks/NetworkServer/bin/NetworkServerControl.bat0000755041506200017500000000522410641441224025762 0ustar lh136778clustra@echo. @echo The frameworks scripts have been deprecated. Please use the new scripts in @echo the /bin directory. See the file frameworks.DEPRECATED.txt for more @echo information. @echo. @REM Licensed to the Apache Software Foundation (ASF) under one or more @REM contributor license agreements. See the NOTICE file distributed with @REM this work for additional information regarding copyright ownership. @REM The ASF licenses this file to you under the Apache License, Version 2.0 @REM (the "License"); you may not use this file except in compliance with @REM the License. You may obtain a copy of the License at @REM @REM http://www.apache.org/licenses/LICENSE-2.0 @REM @REM Unless required by applicable law or agreed to in writing, software @REM distributed under the License is distributed on an "AS IS" BASIS, @REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @REM See the License for the specific language governing permissions and @REM limitations under the License. @REM --------------------------------------------------------- @REM -- This batch file is an example of how to run commands @REM -- in the Network Server framework @REM -- @REM -- REQUIREMENTS: @REM -- You must have the derby jar files as well as the @REM -- derby network server class files in your classpath. @REM -- @REM -- Check the setNetworkServerCP.bat file for an example of @REM -- what to set. @REM -- @REM -- This file for use on Windows systems @REM --------------------------------------------------------- @echo off rem set DERBY_INSTALL= @if "%DERBY_HOME%"=="" set DERBY_HOME=%DERBY_INSTALL% @if "%DERBY_HOME%"=="" goto noderbyhome @if "%JAVA_HOME%"=="" goto nojavahome @if not exist "%JAVA_HOME%\bin\java.exe" goto nojavahome @REM --------------------------------------------------------- @REM -- start Derby as a Network server @REM --------------------------------------------------------- "%JAVA_HOME%\bin\java" -cp "%DERBY_HOME%\lib\derby.jar;%DERBY_HOME%\lib\derbytools.jar;%DERBY_HOME%\lib\derbynet.jar;%CLASSPATH%" org.apache.derby.drda.NetworkServerControl %* @goto end @REM --------------------------------------------------------- @REM -- To use a different JVM with a different syntax, simply edit @REM -- this file @REM --------------------------------------------------------- :nojavahome echo JAVA_HOME not set or could not find java executable in JAVA_HOME. echo Please set JAVA_HOME to the location of a valid Java installation. goto end :noderbyhome echo DERBY_HOME or DERBY_INSTALL not set. Set one of these variables echo to the location of your Derby installation. goto end :end sun-javadb-10.3.2.1/frameworks/NetworkServer/bin/sysinfo.ksh0000755041506200017500000000521310641441224023310 0ustar lh136778clustraecho echo The frameworks scripts have been deprecated. Please use the new scripts in echo the /bin directory. See the file frameworks.DEPRECATED.txt for more echo information echo # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to you under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # --------------------------------------------------------- # -- This script file is an example of how to use sysinfo to get # -- important system information # -- # -- REQUIREMENTS: # -- # -- This utility will report important system info about # -- jar files which are in your classpath and the current setting of # -- Derby Network Server parameters. Jar files which are not # -- if your classpath will not be reported. # -- The Derby Network Server must be running for this utility to work. # -- # -- Check the setNetworkServerCP.ksh to see an example of adding the # -- the Derby jars to your classpath. # -- # -- # -- This file for use on Unix korn shell systems # --------------------------------------------------------- # DERBY_INSTALL= DERBY_HOME=${DERBY_HOME:-$DERBY_INSTALL} [ -z "$DERBY_HOME" ] && { echo "\$DERBY_HOME or \$DERBY_INSTALL not set. Please set one of these variables" echo "to the location of your Derby installation." exit 1 } [ -z "$JAVA_HOME" ] && { [ -x /usr/java/bin/java ] && { JAVA_HOME=/usr/java } [ -z "$JAVA_HOME" ] && { echo "JAVA_HOME not set. Please set JAVA_HOME to the location of your Java" echo "installation." exit 1 } } # --------------------------------------------------------- # -- start sysinfo # --------------------------------------------------------- "$JAVA_HOME/bin/java" -cp "${DERBY_HOME}/lib/derby.jar:${DERBY_HOME}/lib/derbytools.jar:${DERBY_HOME}/lib/derbynet.jar:${CLASSPATH}" org.apache.derby.drda.NetworkServerControl sysinfo $* # --------------------------------------------------------- # -- To use a different JVM with a different syntax, simply edit # -- this file # --------------------------------------------------------- sun-javadb-10.3.2.1/frameworks/NetworkServer/bin/setNetworkServerCP.ksh0000755041506200017500000000342510641441224025400 0ustar lh136778clustraecho echo The frameworks scripts have been deprecated. Please use the new scripts in echo the /bin directory. See the file frameworks.DEPRECATED.txt for more echo information echo # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to you under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # --------------------------------------------------------- # -- This script file sets the CLASSPATH environment variable # -- for use with Derby products in NetworkServer mode # -- # -- To use this script from other locations, change the # -- value assigned to DERBY_INSTALL to be an absolute path # -- (export DERBY_INSTALL=/opt/derby) instead of the current relative path # -- # -- This file for use on Unix ksh systems # -- # --------------------------------------------------------- # DERBY_INSTALL= DERBY_HOME=${DERBY_HOME:-$DERBY_INSTALL} [ -z "$DERBY_HOME" ] && { echo "\$DERBY_HOME or \$DERBY_INSTALL not set. Please set one of these variables" echo "to the location of your Derby installation." exit 1 } export CLASSPATH="${DERBY_HOME}/lib/derby.jar:${DERBY_HOME}/lib/derbytools.jar:${DERBY_HOME}/lib/derbynet.jar:${CLASSPATH}" sun-javadb-10.3.2.1/frameworks/NetworkServer/bin/dblook.bat0000755041506200017500000000503010641441224023046 0ustar lh136778clustra@echo. @echo The frameworks scripts have been deprecated. Please use the new scripts in @echo the /bin directory. See the file frameworks.DEPRECATED.txt for more @echo information. @echo. @REM Licensed to the Apache Software Foundation (ASF) under one or more @REM contributor license agreements. See the NOTICE file distributed with @REM this work for additional information regarding copyright ownership. @REM The ASF licenses this file to you under the Apache License, Version 2.0 @REM (the "License"); you may not use this file except in compliance with @REM the License. You may obtain a copy of the License at @REM @REM http://www.apache.org/licenses/LICENSE-2.0 @REM @REM Unless required by applicable law or agreed to in writing, software @REM distributed under the License is distributed on an "AS IS" BASIS, @REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @REM See the License for the specific language governing permissions and @REM limitations under the License. @REM --------------------------------------------------------- @REM -- This batch file is an example of how to start dblook in @REM -- an NetworkServer environment. @REM -- @REM -- REQUIREMENTS: @REM -- You must have the Derby libraries in your classpath @REM -- @REM -- See the setNetworkClientCP.bat for an example of @REM -- how to do this. @REM -- @REM -- This file for use on Windows systems @REM --------------------------------------------------------- @echo off rem set DERBY_INSTALL= @if "%DERBY_HOME%"=="" set DERBY_HOME=%DERBY_INSTALL% @if "%DERBY_HOME%"=="" goto noderbyhome @if "%JAVA_HOME%"=="" goto nojavahome @if not exist "%JAVA_HOME%\bin\java.exe" goto nojavahome @REM --------------------------------------------------------- @REM -- start dblook @REM --------------------------------------------------------- "%JAVA_HOME%\bin\java" -cp "%DERBY_HOME%\lib\derbyclient.jar;%DERBY_HOME%\lib\derbytools.jar;%CLASSPATH%" org.apache.derby.tools.dblook %* @GOTO end @REM --------------------------------------------------------- @REM -- To use a different JVM with a different syntax, simply edit @REM -- this file @REM --------------------------------------------------------- :nojavahome echo JAVA_HOME not set or could not find java executable in JAVA_HOME. echo Please set JAVA_HOME to the location of a valid Java installation. goto end :noderbyhome echo DERBY_HOME or DERBY_INSTALL not set. Set one of these variables echo to the location of your Derby installation. goto end :end sun-javadb-10.3.2.1/frameworks/NetworkServer/bin/startNetworkServer.ksh0000755041506200017500000000575610641441224025530 0ustar lh136778clustraecho echo The frameworks scripts have been deprecated. Please use the new scripts in echo the /bin directory. See the file frameworks.DEPRECATED.txt for more echo information echo # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to you under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. ## --------------------------------------------------------- # -- This simple script is an example of how to start Derby # -- as a server inside the Network Server framework # -- # -- REQUIREMENTS: # -- You must have the derby and Network Server jar files in your CLASSPATH # -- # -- Check the setNetworkServerCP.ksh file for an example of # -- what to set. # -- # -- This file for use on Unix ksh systems # --------------------------------------------------------- # --------------------------------------------------------- # -- start Derby Network Server # --------------------------------------------------------- # DERBY_INSTALL= DERBY_HOME=${DERBY_HOME:-$DERBY_INSTALL} [ -z "$DERBY_HOME" ] && { echo "\$DERBY_HOME or \$DERBY_INSTALL not set. Please set one of these variables" echo "to the location of your Derby installation." exit 1 } [ -z "$JAVA_HOME" ] && { [ -x /usr/java/bin/java ] && { JAVA_HOME=/usr/java } [ -z "$JAVA_HOME" ] && { echo "JAVA_HOME not set. Please set JAVA_HOME to the location of your Java" echo "installation." exit 1 } } # --------------------------------------------------------- # -- Determine the host and port to use by: # -- 1. Check to see if the host and port are set on the command line # -- 2. Check to see if DERBY_SERVER_HOST and DERBY_SERVER_PORT # -- 3. Default to localhost/1527 # --------------------------------------------------------- if [ "$1" ] then DERBY_SERVER_HOST=$1 fi if [ -z "$DERBY_SERVER_HOST" ] then DERBY_SERVER_HOST=localhost fi if [ "$2" ] then DERBY_SERVER_PORT=$2 fi if [ -z "$DERBY_SERVER_PORT" ] then DERBY_SERVER_PORT=1527 fi "$JAVA_HOME/bin/java" -cp "${DERBY_HOME}/lib/derby.jar:${DERBY_HOME}/lib/derbytools.jar:${DERBY_HOME}/lib/derbynet.jar:${CLASSPATH}" org.apache.derby.drda.NetworkServerControl start -h $DERBY_SERVER_HOST -p $DERBY_SERVER_PORT # --------------------------------------------------------- # -- To use a different JVM with a different syntax, simply edit # -- this file # --------------------------------------------------------- sun-javadb-10.3.2.1/frameworks/NetworkServer/bin/sysinfo.bat0000755041506200017500000000535710641441224023302 0ustar lh136778clustra@echo. @echo The frameworks scripts have been deprecated. Please use the new scripts in @echo the /bin directory. See the file frameworks.DEPRECATED.txt for more @echo information. @echo. @REM Licensed to the Apache Software Foundation (ASF) under one or more @REM contributor license agreements. See the NOTICE file distributed with @REM this work for additional information regarding copyright ownership. @REM The ASF licenses this file to you under the Apache License, Version 2.0 @REM (the "License"); you may not use this file except in compliance with @REM the License. You may obtain a copy of the License at @REM @REM http://www.apache.org/licenses/LICENSE-2.0 @REM @REM Unless required by applicable law or agreed to in writing, software @REM distributed under the License is distributed on an "AS IS" BASIS, @REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @REM See the License for the specific language governing permissions and @REM limitations under the License. @REM --------------------------------------------------------- @REM -- This batch file is an example of how to use sysinfo to get @REM -- important system information @REM -- @REM -- REQUIREMENTS: @REM -- @REM -- This utility will report important system info about @REM -- jar files which are in your classpath. Jar files which are not @REM -- if your classpath will not be reported. @REM -- @REM -- Check the setNetworkServerCP.bat to see an example of adding the @REM -- the Derby jars to your classpath. @REM -- @REM -- This file for use on Windows systems @REM --------------------------------------------------------- @echo off rem set DERBY_INSTALL= @if "%DERBY_HOME%"=="" set DERBY_HOME=%DERBY_INSTALL% @if "%DERBY_HOME%"=="" goto noderbyhome @if "%JAVA_HOME%"=="" goto nojavahome @if not exist "%JAVA_HOME%\bin\java.exe" goto nojavahome @REM --------------------------------------------------------- @REM -- start sysinfo @REM --------------------------------------------------------- "%JAVA_HOME%\bin\java" -cp "%DERBY_HOME%\lib\derby.jar;%DERBY_HOME%\lib\derbytools.jar;%DERBY_HOME%\lib\derbynet.jar;%CLASSPATH%" org.apache.derby.drda.NetworkServerControl sysinfo @GOTO end @REM --------------------------------------------------------- @REM -- To use a different JVM with a different syntax, simply edit @REM -- this file @REM --------------------------------------------------------- :nojavahome echo JAVA_HOME not set or could not find java executable in JAVA_HOME. echo Please set JAVA_HOME to the location of a valid Java installation. goto end :noderbyhome echo DERBY_HOME or DERBY_INSTALL not set. Set one of these variables echo to the location of your Derby installation. goto end :end sun-javadb-10.3.2.1/frameworks/NetworkServer/bin/setNetworkServerCP.bat0000755041506200017500000000375310641441224025365 0ustar lh136778clustra@echo. @echo The frameworks scripts have been deprecated. Please use the new scripts in @echo the /bin directory. See the file frameworks.DEPRECATED.txt for more @echo information. @echo. @REM Licensed to the Apache Software Foundation (ASF) under one or more @REM contributor license agreements. See the NOTICE file distributed with @REM this work for additional information regarding copyright ownership. @REM The ASF licenses this file to you under the Apache License, Version 2.0 @REM (the "License"); you may not use this file except in compliance with @REM the License. You may obtain a copy of the License at @REM @REM http://www.apache.org/licenses/LICENSE-2.0 @REM @REM Unless required by applicable law or agreed to in writing, software @REM distributed under the License is distributed on an "AS IS" BASIS, @REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @REM See the License for the specific language governing permissions and @REM limitations under the License. @REM --------------------------------------------------------- @REM -- This batch file sets the CLASSPATH environment variable @REM -- for use with Derby products in NetworkServer mode @REM -- @REM -- To use this script from other locations, change the @REM -- value assigned to DERBY_INSTALL to be an absolute path @REM -- (set DERBY_INSTALL=C:\derby) instead of the current relative path @REM -- @REM -- This file for use on Windows systems @REM -- @REM --------------------------------------------------------- @echo off rem set DERBY_INSTALL= @if "%DERBY_HOME%"=="" set DERBY_HOME=%DERBY_INSTALL% @if "%DERBY_HOME%"=="" goto noderbyhome @FOR %%X in ("%DERBY_HOME%") DO SET DERBY_INSTALL=%%~sX set CLASSPATH=%DERBY_HOME%\lib\derby.jar;%DERBY_HOME%\lib\derbytools.jar;%DERBY_HOME%\lib\derbynet.jar;%CLASSPATH% @goto end :noderbyhome @echo DERBY_HOME or DERBY_INSTALL not set. Set one of these variables @echo to the location of your Derby installation. :end sun-javadb-10.3.2.1/frameworks/NetworkServer/bin/setNetworkClientCP.bat0000755041506200017500000000372610641441224025335 0ustar lh136778clustra@echo. @echo The frameworks scripts have been deprecated. Please use the new scripts in @echo the /bin directory. See the file frameworks.DEPRECATED.txt for more @echo information. @echo. @REM Licensed to the Apache Software Foundation (ASF) under one or more @REM contributor license agreements. See the NOTICE file distributed with @REM this work for additional information regarding copyright ownership. @REM The ASF licenses this file to you under the Apache License, Version 2.0 @REM (the "License"); you may not use this file except in compliance with @REM the License. You may obtain a copy of the License at @REM @REM http://www.apache.org/licenses/LICENSE-2.0 @REM @REM Unless required by applicable law or agreed to in writing, software @REM distributed under the License is distributed on an "AS IS" BASIS, @REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @REM See the License for the specific language governing permissions and @REM limitations under the License. @REM --------------------------------------------------------- @REM -- This batch file sets the CLASSPATH environment variable @REM -- for use with Derby products in Network Server mode @REM -- @REM -- To use this script from other locations, change the @REM -- value assigned to DERBY_HOME to be an absolute path @REM -- (set DERBY_HOME=C:\derby) instead of the current relative path @REM -- @REM -- This file for use on Windows systems @REM -- @REM --------------------------------------------------------- @echo off rem set DERBY_INSTALL= @if "%DERBY_HOME%"=="" set DERBY_HOME=%DERBY_INSTALL% @if "%DERBY_HOME%"=="" goto noderbyhome @FOR %%X in ("%DERBY_HOME%") DO SET DERBY_HOME=%%~sX set CLASSPATH=%DERBY_HOME%\lib\derbyclient.jar;%DERBY_HOME%\lib\derbytools.jar;%CLASSPATH% @goto end :noderbyhome @echo DERBY_HOME or DERBY_INSTALL not set. Set one of these variables @echo to the location of your Derby installation. @goto end :end sun-javadb-10.3.2.1/frameworks/NetworkServer/bin/ij.bat0000755041506200017500000000564510641441224022212 0ustar lh136778clustra@echo. @echo The frameworks scripts have been deprecated. Please use the new scripts in @echo the /bin directory. See the file frameworks.DEPRECATED.txt for more @echo information. @echo. @REM Licensed to the Apache Software Foundation (ASF) under one or more @REM contributor license agreements. See the NOTICE file distributed with @REM this work for additional information regarding copyright ownership. @REM The ASF licenses this file to you under the Apache License, Version 2.0 @REM (the "License"); you may not use this file except in compliance with @REM the License. You may obtain a copy of the License at @REM @REM http://www.apache.org/licenses/LICENSE-2.0 @REM @REM Unless required by applicable law or agreed to in writing, software @REM distributed under the License is distributed on an "AS IS" BASIS, @REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @REM See the License for the specific language governing permissions and @REM limitations under the License. @REM --------------------------------------------------------- @REM -- This batch file is an example of how to start ij in @REM -- an NetworkServer environment. @REM -- @REM -- REQUIREMENTS: @REM -- You must have the Derby and DB2 JCC libraries in your classpath @REM -- @REM -- See the setNetworkClientCP.bat for an example of @REM -- how to do this. @REM -- @REM -- You may need to modify the values below for a different @REM -- host, port, user, or password @REM -- @REM -- This file for use on Windows systems @REM --------------------------------------------------------- @echo off rem set DERBY_INSTALL= @if "%DERBY_HOME%"=="" set DERBY_HOME=%DERBY_INSTALL% @if "%DERBY_HOME%"=="" goto noderbyhome @if "%JAVA_HOME%"=="" goto nojavahome @if not exist "%JAVA_HOME%\bin\java.exe" goto nojavahome set IJ_HOST=localhost set IJ_PORT=1527 set IJ_USER=APP set IJ_PASSWORD=APP @REM --------------------------------------------------------- @REM -- start ij @REM -- host, port, user and password may need to be changed @REM --------------------------------------------------------- "%JAVA_HOME%\bin\java" -cp "%DERBY_HOME%\lib\derbyclient.jar;%DERBY_HOME%\lib\derbytools.jar;%CLASSPATH%" -Dij.driver=org.apache.derby.jdbc.ClientDriver -Dij.protocol=jdbc:derby://%IJ_HOST%:%IJ_PORT%/ -Dij.user=%IJ_USER% -Dij.password=%IJ_PASSWORD% org.apache.derby.tools.ij @goto end @REM --------------------------------------------------------- @REM -- To use a different JVM with a different syntax, simply edit @REM -- this file @REM --------------------------------------------------------- :nojavahome echo JAVA_HOME not set or could not find java executable in JAVA_HOME. echo Please set JAVA_HOME to the location of a valid Java installation. goto end :noderbyhome echo DERBY_HOME or DERBY_INSTALL not set. Set one of these variables echo to the location of your Derby installation. goto end :end sun-javadb-10.3.2.1/frameworks/NetworkServer/bin/dblook.ksh0000755041506200017500000000444510641441224023076 0ustar lh136778clustraecho echo The frameworks scripts have been deprecated. Please use the new scripts in echo the /bin directory. See the file frameworks.DEPRECATED.txt for more echo information echo # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to you under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # --------------------------------------------------------- # -- This simple script is an example of how to start dblook in # -- a NetworkServer environment. # -- #-- REQUIREMENTS: # -- You must have the Derby libraries in your classpath # -- # -- See the setEmbeddedCP.ksh for an example of # -- how to do this. # -- # -- This file for use on Unix ksh systems # --------------------------------------------------------- # DERBY_INSTALL= DERBY_HOME=${DERBY_HOME:-$DERBY_INSTALL} [ -z "$DERBY_HOME" ] && { echo "\$DERBY_HOME or \$DERBY_INSTALL not set. Please set one of these variables" echo "to the location of your Derby installation." exit 1 } [ -z "$JAVA_HOME" ] && { [ -x /usr/java/bin/java ] && { JAVA_HOME=/usr/java } [ -z "$JAVA_HOME" ] && { echo "JAVA_HOME not set. Please set JAVA_HOME to the location of your Java" echo "installation." exit 1 } } # --------------------------------------------------------- # -- start dblook # --------------------------------------------------------- "$JAVA_HOME/bin/java" -cp "${DERBY_HOME}/lib/derbyclient.jar:${DERBY_HOME}/lib/derbytools.jar:${CLASSPATH}" org.apache.derby.tools.dblook $@ # --------------------------------------------------------- # -- To use a different JVM with a different syntax, simply edit # -- this file # --------------------------------------------------------- sun-javadb-10.3.2.1/frameworks/NetworkServer/bin/NetworkServerControl.ksh0000755041506200017500000000457610641441224026012 0ustar lh136778clustraecho echo The frameworks scripts have been deprecated. Please use the new scripts in echo the /bin directory. See the file frameworks.DEPRECATED.txt for more echo information echo # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to you under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. ## --------------------------------------------------------- # -- This simple script is an example of how to run commands # -- for the Network Server framework # -- # -- REQUIREMENTS: # -- You must have the derby and Network Server jar files in your CLASSPATH # -- # -- Check the setNetworkServerCP.ksh file for an example of # -- what to set. # -- # -- This file for use on Unix ksh systems # --------------------------------------------------------- # DERBY_INSTALL= DERBY_HOME=${DERBY_HOME:-$DERBY_INSTALL} [ -z "$DERBY_HOME" ] && { echo "\$DERBY_HOME or \$DERBY_INSTALL not set. Please set one of these variables" echo "to the location of your Derby installation." exit 1 } [ -z "$JAVA_HOME" ] && { [ -x /usr/java/bin/java ] && { JAVA_HOME=/usr/java } [ -z "$JAVA_HOME" ] && { echo "JAVA_HOME not set. Please set JAVA_HOME to the location of your Java" echo "installation." exit 1 } } # --------------------------------------------------------- # -- start Derby Network Server # --------------------------------------------------------- "$JAVA_HOME/bin/java" -cp "${DERBY_HOME}/lib/derby.jar:${DERBY_HOME}/lib/derbytools.jar:${DERBY_HOME}/lib/derbynet.jar:${CLASSPATH}" org.apache.derby.drda.NetworkServerControl $* # --------------------------------------------------------- # -- To use a different JVM with a different syntax, simply edit # -- this file # --------------------------------------------------------- sun-javadb-10.3.2.1/frameworks/NetworkServer/bin/setNetworkClientCP.ksh0000755041506200017500000000337510641441224025354 0ustar lh136778clustraecho echo The frameworks scripts have been deprecated. Please use the new scripts in echo the /bin directory. See the file frameworks.DEPRECATED.txt for more echo information echo # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to you under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # --------------------------------------------------------- # -- This script file sets the CLASSPATH environment variable # -- for use with Derby products in Network Server mode # -- # -- To use this script from other locations, change the # -- value assigned to DERBY_INSTALL to be an absolute path # -- (export DERBY_INSTALL=/opt/derby) instead of the current relative path # -- # -- This file for use on Unix ksh systems # -- # --------------------------------------------------------- # DERBY_INSTALL= DERBY_HOME=${DERBY_HOME:-$DERBY_INSTALL} [ -z "$DERBY_HOME" ] && { echo "\$DERBY_HOME or \$DERBY_INSTALL not set. Please set one of these variables" echo "to the location of your Derby installation." exit 1 } export CLASSPATH="${DERBY_HOME}/lib/derbyclient.jar:${DERBY_HOME}/lib/derbytools.jar:${CLASSPATH}" sun-javadb-10.3.2.1/frameworks/NetworkServer/bin/ij.ksh0000755041506200017500000000502310641441224022217 0ustar lh136778clustraecho echo The frameworks scripts have been deprecated. Please use the new scripts in echo the /bin directory. See the file frameworks.DEPRECATED.txt for more echo information echo # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to you under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # --------------------------------------------------------- # -- This simple script is an example of how to start ij in # -- the Derby Network Server environment. # -- #-- REQUIREMENTS: # -- You must have the Derby and DB2 JCC libraries in your classpath # -- # -- See the setNetworkClientCP.ksh for an example of # -- how to do this. # -- # -- This file for use on Unix ksh systems # --------------------------------------------------------- # DERBY_INSTALL= DERBY_HOME=${DERBY_HOME:-$DERBY_INSTALL} [ -z "$DERBY_HOME" ] && { echo "\$DERBY_HOME or \$DERBY_INSTALL not set. Please set one of these variables" echo "to the location of your Derby installation." exit 1 } [ -z "$JAVA_HOME" ] && { [ -x /usr/java/bin/java ] && { JAVA_HOME=/usr/java } [ -z "$JAVA_HOME" ] && { echo "JAVA_HOME not set. Please set JAVA_HOME to the location of your Java" echo "installation." exit 1 } } export IJ_HOST=localhost export IJ_PORT=1527 export IJ_USER=APP export IJ_PASSWORD=APP # --------------------------------------------------------- # -- start ij # --------------------------------------------------------- "$JAVA_HOME/bin/java" -cp "${DERBY_HOME}/lib/derbyclient.jar:${DERBY_HOME}/lib/derbytools.jar:${CLASSPATH}" -Dij.driver=org.apache.derby.jdbc.ClientDriver -Dij.protocol=jdbc:derby://$IJ_HOST:$IJ_PORT/ -Dij.user=$IJ_USER -Dij.password=$IJ_PASSWORD org.apache.derby.tools.ij # --------------------------------------------------------- # -- To use a different JVM with a different syntax, simply edit # -- this file # --------------------------------------------------------- sun-javadb-10.3.2.1/frameworks/NetworkServer/bin/stopNetworkServer.ksh0000755041506200017500000000577710641441224025363 0ustar lh136778clustraecho echo The frameworks scripts have been deprecated. Please use the new scripts in echo the /bin directory. See the file frameworks.DEPRECATED.txt for more echo information echo # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to you under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. ## --------------------------------------------------------- # -- This simple script is an example of how to shutdown Derby # -- running as a server inside the Network Server framework # -- # -- REQUIREMENTS: # -- You must have the derby and Network Server jar files in your CLASSPATH # -- # -- Check the setNetworkServerCP.ksh file for an example of # -- what to set. # -- # -- This file for use on Unix ksh systems # --------------------------------------------------------- # --------------------------------------------------------- # -- shutdown Derby Network Server # --------------------------------------------------------- # DERBY_INSTALL= DERBY_HOME=${DERBY_HOME:-$DERBY_INSTALL} [ -z "$DERBY_HOME" ] && { echo "\$DERBY_HOME or \$DERBY_INSTALL not set. Please set one of these variables" echo "to the location of your Derby installation." exit 1 } [ -z "$JAVA_HOME" ] && { [ -x /usr/java/bin/java ] && { JAVA_HOME=/usr/java } [ -z "$JAVA_HOME" ] && { echo "JAVA_HOME not set. Please set JAVA_HOME to the location of your Java" echo "installation." exit 1 } } # --------------------------------------------------------- # -- Determine the host and port to use by: # -- 1. Check to see if the host and port are set on the command line # -- 2. Check to see if DERBY_SERVER_HOST and DERBY_SERVER_PORT # -- 3. Default to localhost/1527 # --------------------------------------------------------- if [ "$1" ] then DERBY_SERVER_HOST=$1 fi if [ -z "$DERBY_SERVER_HOST" ] then DERBY_SERVER_HOST=localhost fi if [ "$2" ] then DERBY_SERVER_PORT=$2 fi if [ -z "$DERBY_SERVER_PORT" ] then DERBY_SERVER_PORT=1527 fi "$JAVA_HOME/bin/java" -cp "${DERBY_HOME}/lib/derby.jar:${DERBY_HOME}/lib/derbytools.jar:${DERBY_HOME}/lib/derbynet.jar:${CLASSPATH}" org.apache.derby.drda.NetworkServerControl shutdown -h $DERBY_SERVER_HOST -p $DERBY_SERVER_PORT # --------------------------------------------------------- # -- To use a different JVM with a different syntax, simply edit # -- this file # --------------------------------------------------------- sun-javadb-10.3.2.1/frameworks/NetworkServer/bin/startNetworkServer.bat0000755041506200017500000000546710641441224025510 0ustar lh136778clustra@echo. @echo The frameworks scripts have been deprecated. Please use the new scripts in @echo the /bin directory. See the file frameworks.DEPRECATED.txt for more @echo information. @echo. @REM Licensed to the Apache Software Foundation (ASF) under one or more @REM contributor license agreements. See the NOTICE file distributed with @REM this work for additional information regarding copyright ownership. @REM The ASF licenses this file to you under the Apache License, Version 2.0 @REM (the "License"); you may not use this file except in compliance with @REM the License. You may obtain a copy of the License at @REM @REM http://www.apache.org/licenses/LICENSE-2.0 @REM @REM Unless required by applicable law or agreed to in writing, software @REM distributed under the License is distributed on an "AS IS" BASIS, @REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @REM See the License for the specific language governing permissions and @REM limitations under the License. @REM -- This file for use on Windows systems @REM --------------------------------------------------------- @echo off rem set DERBY_INSTALL= @if "%DERBY_HOME%"=="" set DERBY_HOME=%DERBY_INSTALL% @if "%DERBY_HOME%"=="" goto noderbyhome @if "%JAVA_HOME%"=="" goto nojavahome @if not exist "%JAVA_HOME%\bin\java.exe" goto nojavahome :set_host if "%1" == "" goto setServerHost set derbyHost=%1 goto set_port :setServerHost if not "%DERBY_SERVER_HOST%" == "" goto setServerHost2 set derbyHost=localhost goto set_port :setServerHost2 set derbyHost=%DERBY_SERVER_HOST% :set_port shift if "%1" == "" goto setServerPort set derbyPort=%1 goto start_server :setServerPort if not "%DERBY_SERVER_PORT%" == "" goto setServerPort2 set derbyPort=1527 goto start_server :setServerPort2 set derbyPort=%DERBY_SERVER_PORT% :start_server @REM --------------------------------------------------------- @REM -- start Derby as a Network server @REM --------------------------------------------------------- "%JAVA_HOME%\bin\java" -cp "%DERBY_HOME%\lib\derby.jar;%DERBY_HOME%\lib\derbytools.jar;%DERBY_HOME%\lib\derbynet.jar;%CLASSPATH%" org.apache.derby.drda.NetworkServerControl start -h %derbyHost% -p %derbyPort% goto end @REM --------------------------------------------------------- @REM -- To use a different JVM with a different syntax, simply edit @REM -- this file @REM --------------------------------------------------------- :nojavahome echo JAVA_HOME not set or could not find java executable in JAVA_HOME. echo Please set JAVA_HOME to the location of a valid Java installation. goto end :noderbyhome echo DERBY_HOME or DERBY_INSTALL not set. Set one of these variables echo to the location of your Derby installation. goto end :end set derbyPort= set derbyHost= sun-javadb-10.3.2.1/frameworks/NetworkServer/bin/stopNetworkServer.bat0000755041506200017500000000607410641441224025333 0ustar lh136778clustra@echo. @echo The frameworks scripts have been deprecated. Please use the new scripts in @echo the /bin directory. See the file frameworks.DEPRECATED.txt for more @echo information. @echo. @REM Licensed to the Apache Software Foundation (ASF) under one or more @REM contributor license agreements. See the NOTICE file distributed with @REM this work for additional information regarding copyright ownership. @REM The ASF licenses this file to you under the Apache License, Version 2.0 @REM (the "License"); you may not use this file except in compliance with @REM the License. You may obtain a copy of the License at @REM @REM http://www.apache.org/licenses/LICENSE-2.0 @REM @REM Unless required by applicable law or agreed to in writing, software @REM distributed under the License is distributed on an "AS IS" BASIS, @REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @REM See the License for the specific language governing permissions and @REM limitations under the License. @REM -- @REM -- REQUIREMENTS: @REM -- You must have the derby jar files as well as the @REM -- derby network server class files in your classpath. @REM -- @REM -- Check the setNetworkServerCP.bat file for an example of @REM -- what to set. @REM -- This file for use on Windows systems @REM --------------------------------------------------------- @echo off rem set DERBY_INSTALL= @if "%DERBY_HOME%"=="" set DERBY_HOME=%DERBY_INSTALL% @if "%DERBY_HOME%"=="" goto noderbyhome @if "%JAVA_HOME%"=="" goto nojavahome @if not exist "%JAVA_HOME%\bin\java.exe" goto nojavahome :set_host if "%1" == "" goto setServerHost set derbyHost=%1 goto set_port :setServerHost if not "%DERBY_SERVER_HOST%" == "" goto setServerHost2 set derbyHost=localhost goto set_port :setServerHost2 set derbyHost=%DERBY_SERVER_HOST% :set_port shift if "%1" == "" goto setServerPort set derbyPort=%1 goto stop_server :setServerPort if not "%DERBY_SERVER_PORT%" == "" goto setServerPort2 set derbyPort=1527 goto stop_server :setServerPort2 set derbyPort=%DERBY_SERVER_PORT% :stop_server @REM --------------------------------------------------------- @REM -- shutdown Derby as a Network server @REM --------------------------------------------------------- %JAVA_HOME%\bin\java -cp "%DERBY_HOME%\lib\derby.jar;%DERBY_HOME%\lib\derbytools.jar;%DERBY_HOME%\lib\derbynet.jar;%CLASSPATH%" org.apache.derby.drda.NetworkServerControl shutdown -h %derbyHost% -p %derbyPort% goto end @REM --------------------------------------------------------- @REM -- To use a different JVM with a different syntax, simply edit @REM -- this file @REM --------------------------------------------------------- :nojavahome echo JAVA_HOME not set or could not find java executable in JAVA_HOME. echo Please set JAVA_HOME to the location of a valid Java installation. goto end :noderbyhome echo DERBY_HOME or DERBY_INSTALL not set. Set one of these variables echo to the location of your Derby installation. goto end :end set derbyPort= set derbyHost= sun-javadb-10.3.2.1/frameworks/NetworkServer/readme.html0000644041506200017500000000241310641441224022456 0ustar lh136778clustra Derby's Network Server framework

Derby's Network Server framework

sun-javadb-10.3.2.1/frameworks/embedded/0000755041506200017500000000000010641441224017244 5ustar lh136778clustrasun-javadb-10.3.2.1/frameworks/embedded/bin/0000755041506200017500000000000010641441224020014 5ustar lh136778clustrasun-javadb-10.3.2.1/frameworks/embedded/bin/sysinfo.ksh0000755041506200017500000000470110641441224022222 0ustar lh136778clustraecho echo The frameworks scripts have been deprecated. Please use the new scripts in echo the /bin directory. See the file frameworks.DEPRECATED.txt for more echo information echo # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to you under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # --------------------------------------------------------- # -- This script file is an example of how to use sysinfo to get # -- important system information # -- # -- REQUIREMENTS: # -- # -- This utility will report important system info about # -- jar files which are in your classpath. Jar files which are not # -- if your classpath will not be reported. # -- # -- Check the setCP.ksh to see an example of adding the # -- the Derby jars to your classpath. # -- # -- # -- This file for use on Unix korn shell systems # --------------------------------------------------------- # DERBY_INSTALL= DERBY_HOME=${DERBY_HOME:-$DERBY_INSTALL} [ -z "$DERBY_HOME" ] && { echo "\$DERBY_HOME or \$DERBY_INSTALL not set. Please set one of these variables" echo "to the location of your Derby installation." exit 1 } [ -z "$JAVA_HOME" ] && { [ -x /usr/java/bin/java ] && { JAVA_HOME=/usr/java } [ -z "$JAVA_HOME" ] && { echo "JAVA_HOME not set. Please set JAVA_HOME to the location of your Java" echo "installation." exit 1 } } # --------------------------------------------------------- # -- start sysinfo # --------------------------------------------------------- "$JAVA_HOME/bin/java" -cp "${DERBY_HOME}/lib/derby.jar:${DERBY_HOME}/lib/derbytools.jar:${CLASSPATH}" org.apache.derby.tools.sysinfo # --------------------------------------------------------- # -- To use a different JVM with a different syntax, simply edit # -- this file # --------------------------------------------------------- sun-javadb-10.3.2.1/frameworks/embedded/bin/dblook.bat0000755041506200017500000000501210641441224021757 0ustar lh136778clustra@echo. @echo The frameworks scripts have been deprecated. Please use the new scripts in @echo the /bin directory. See the file frameworks.DEPRECATED.txt for more @echo information. @echo. @REM Licensed to the Apache Software Foundation (ASF) under one or more @REM contributor license agreements. See the NOTICE file distributed with @REM this work for additional information regarding copyright ownership. @REM The ASF licenses this file to you under the Apache License, Version 2.0 @REM (the "License"); you may not use this file except in compliance with @REM the License. You may obtain a copy of the License at @REM @REM http://www.apache.org/licenses/LICENSE-2.0 @REM @REM Unless required by applicable law or agreed to in writing, software @REM distributed under the License is distributed on an "AS IS" BASIS, @REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @REM See the License for the specific language governing permissions and @REM limitations under the License. @REM --------------------------------------------------------- @REM -- This batch file is an example of how to start dblook in @REM -- an embedded environment. @REM -- @REM -- REQUIREMENTS: @REM -- You must have the Derby libraries in your classpath @REM -- @REM -- See the setEmbeddedCP.bat for an example of @REM -- how to do this. @REM -- @REM -- This file for use on Windows systems @REM --------------------------------------------------------- @echo off rem set DERBY_INSTALL= @if "%DERBY_HOME%"=="" set DERBY_HOME=%DERBY_INSTALL% @if "%DERBY_HOME%"=="" goto noderbyhome @if "%JAVA_HOME%"=="" goto nojavahome @if not exist "%JAVA_HOME%\bin\java.exe" goto nojavahome @REM --------------------------------------------------------- @REM -- start dblook @REM --------------------------------------------------------- "%JAVA_HOME%\bin\java" -cp "%DERBY_HOME%\lib\derby.jar;%DERBY_HOME%\lib\derbytools.jar;%CLASSPATH%" org.apache.derby.tools.dblook %* @GOTO end @REM --------------------------------------------------------- @REM -- To use a different JVM with a different syntax, simply edit @REM -- this file @REM --------------------------------------------------------- :nojavahome echo JAVA_HOME not set or could not find java executable in JAVA_HOME. echo Please set JAVA_HOME to the location of a valid Java installation. goto end :noderbyhome echo DERBY_HOME or DERBY_INSTALL not set. Set one of these variables echo to the location of your Derby installation. goto end :end sun-javadb-10.3.2.1/frameworks/embedded/bin/sysinfo.bat0000755041506200017500000000563710641441224022214 0ustar lh136778clustra@echo. @echo The frameworks scripts have been deprecated. Please use the new scripts in @echo the /bin directory. See the file frameworks.DEPRECATED.txt for more @echo information. @echo. @REM Licensed to the Apache Software Foundation (ASF) under one or more @REM contributor license agreements. See the NOTICE file distributed with @REM this work for additional information regarding copyright ownership. @REM The ASF licenses this file to you under the Apache License, Version 2.0 @REM (the "License"); you may not use this file except in compliance with @REM the License. You may obtain a copy of the License at @REM @REM http://www.apache.org/licenses/LICENSE-2.0 @REM @REM Unless required by applicable law or agreed to in writing, software @REM distributed under the License is distributed on an "AS IS" BASIS, @REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @REM See the License for the specific language governing permissions and @REM limitations under the License. @REM --------------------------------------------------------- @REM -- This batch file is an example of how to use sysinfo to get @REM -- important system information @REM -- @REM -- REQUIREMENTS: @REM -- @REM -- This utility will report important system info about @REM -- jar files which are in your classpath. Jar files which are not @REM -- if your classpath will not be reported. @REM -- @REM -- Check the setCP.bat to see an example of adding the @REM -- the Derby jars to your classpath. @REM -- @REM -- This file for use on Windows systems @REM --------------------------------------------------------- @echo off rem set DERBY_INSTALL= @if "%DERBY_HOME%"=="" set DERBY_HOME=%DERBY_INSTALL% @if "%DERBY_HOME%"=="" goto noderbyhome @if "%JAVA_HOME%"=="" goto nojavahome @if not exist "%JAVA_HOME%\bin\java.exe" goto nojavahome @REM --------------------------------------------------------- @REM -- start sysinfo @REM --------------------------------------------------------- "%JAVA_HOME%\bin\java" -cp "%DERBY_HOME%\lib\derby.jar;%DERBY_HOME%\lib\derbytools.jar;%CLASSPATH%" org.apache.derby.tools.sysinfo @GOTO end @REM --------------------------------------------------------- @REM -- To use Microsoft's JView JVM, use the following command @REM --------------------------------------------------------- @REM -- jview org.apache.derby.tools.sysinfo @REM --------------------------------------------------------- @REM -- To use a different JVM with a different syntax, simply edit @REM -- this file @REM --------------------------------------------------------- :nojavahome echo JAVA_HOME not set or could not find java executable in JAVA_HOME. echo Please set JAVA_HOME to the location of a valid Java installation. goto end :noderbyhome echo DERBY_HOME or DERBY_INSTALL not set. Set one of these variables echo to the location of your Derby installation. goto end :end sun-javadb-10.3.2.1/frameworks/embedded/bin/setEmbeddedCP.bat0000755041506200017500000000372010641441224023141 0ustar lh136778clustra@echo. @echo The frameworks scripts have been deprecated. Please use the new scripts in @echo the /bin directory. See the file frameworks.DEPRECATED.txt for more @echo information. @echo. @REM Licensed to the Apache Software Foundation (ASF) under one or more @REM contributor license agreements. See the NOTICE file distributed with @REM this work for additional information regarding copyright ownership. @REM The ASF licenses this file to you under the Apache License, Version 2.0 @REM (the "License"); you may not use this file except in compliance with @REM the License. You may obtain a copy of the License at @REM @REM http://www.apache.org/licenses/LICENSE-2.0 @REM @REM Unless required by applicable law or agreed to in writing, software @REM distributed under the License is distributed on an "AS IS" BASIS, @REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @REM See the License for the specific language governing permissions and @REM limitations under the License. @REM --------------------------------------------------------- @REM -- This batch file sets the CLASSPATH environment variable @REM -- for use with Derby products in embedded mode @REM -- @REM -- To use this script from other locations, change the @REM -- value assigned to DERBY_INSTALL to be an absolute path @REM -- (set DERBY_INSTALL=C:\derby) instead of the current relative path @REM -- @REM -- This file for use on Windows systems @REM -- @REM --------------------------------------------------------- @echo off rem set DERBY_INSTALL= @if "%DERBY_HOME%"=="" set DERBY_HOME=%DERBY_INSTALL% @if "%DERBY_HOME%"=="" goto noderbyhome @FOR %%X in ("%DERBY_HOME%") DO SET DERBY_HOME=%%~sX set CLASSPATH=%DERBY_HOME%\lib\derby.jar;%DERBY_HOME%\lib\derbytools.jar;%CLASSPATH% @goto end :noderbyhome @echo DERBY_HOME or DERBY_INSTALL not set. Set one of these variables @echo to the location of your Derby installation. @goto end :end sun-javadb-10.3.2.1/frameworks/embedded/bin/ij.bat0000755041506200017500000000502310641441224021111 0ustar lh136778clustra@echo. @echo The frameworks scripts have been deprecated. Please use the new scripts in @echo the /bin directory. See the file frameworks.DEPRECATED.txt for more @echo information. @echo. @REM Licensed to the Apache Software Foundation (ASF) under one or more @REM contributor license agreements. See the NOTICE file distributed with @REM this work for additional information regarding copyright ownership. @REM The ASF licenses this file to you under the Apache License, Version 2.0 @REM (the "License"); you may not use this file except in compliance with @REM the License. You may obtain a copy of the License at @REM @REM http://www.apache.org/licenses/LICENSE-2.0 @REM @REM Unless required by applicable law or agreed to in writing, software @REM distributed under the License is distributed on an "AS IS" BASIS, @REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @REM See the License for the specific language governing permissions and @REM limitations under the License. @REM --------------------------------------------------------- @REM -- This batch file is an example of how to start ij in @REM -- an embedded environment. @REM -- @REM -- REQUIREMENTS: @REM -- You must have the Derby libraries in your classpath @REM -- @REM -- See the setEmbeddedCP.bat for an example of @REM -- how to do this. @REM -- @REM -- This file for use on Windows systems @REM --------------------------------------------------------- @echo off rem set DERBY_INSTALL= @if "%DERBY_HOME%"=="" set DERBY_HOME=%DERBY_INSTALL% @if "%DERBY_HOME%"=="" goto noderbyhome @if "%JAVA_HOME%"=="" goto nojavahome @if not exist "%JAVA_HOME%\bin\java.exe" goto nojavahome @REM --------------------------------------------------------- @REM -- start ij @REM --------------------------------------------------------- "%JAVA_HOME%\bin\java" -cp "%DERBY_HOME%\lib\derby.jar;%DERBY_HOME%\lib\derbytools.jar;%CLASSPATH%" -Dij.protocol=jdbc:derby: org.apache.derby.tools.ij @goto end @REM --------------------------------------------------------- @REM -- To use a different JVM with a different syntax, simply edit @REM -- this file @REM --------------------------------------------------------- :nojavahome echo JAVA_HOME not set or could not find java executable in JAVA_HOME. echo Please set JAVA_HOME to the location of a valid Java installation. goto end :noderbyhome echo DERBY_HOME or DERBY_INSTALL not set. Set one of these variables echo to the location of your Derby installation. goto end :end sun-javadb-10.3.2.1/frameworks/embedded/bin/dblook.ksh0000755041506200017500000000443210641441224022003 0ustar lh136778clustraecho echo The frameworks scripts have been deprecated. Please use the new scripts in echo the /bin directory. See the file frameworks.DEPRECATED.txt for more echo information echo # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to you under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # --------------------------------------------------------- # -- This simple script is an example of how to start dblook in # -- an embedded environment. # -- #-- REQUIREMENTS: # -- You must have the Derby libraries in your classpath # -- # -- See the setEmbeddedCP.ksh for an example of # -- how to do this. # -- # -- This file for use on Unix ksh systems # --------------------------------------------------------- # DERBY_INSTALL= DERBY_HOME=${DERBY_HOME:-$DERBY_INSTALL} [ -z "$DERBY_HOME" ] && { echo "\$DERBY_HOME or \$DERBY_INSTALL not set. Please set one of these variables" echo "to the location of your Derby installation." exit 1 } [ -z "$JAVA_HOME" ] && { [ -x /usr/java/bin/java ] && { JAVA_HOME=/usr/java } [ -z "$JAVA_HOME" ] && { echo "JAVA_HOME not set. Please set JAVA_HOME to the location of your Java" echo "installation." exit 1 } } # --------------------------------------------------------- # -- start dblook # --------------------------------------------------------- "$JAVA_HOME/bin/java" -cp "${DERBY_HOME}/lib/derby.jar:${DERBY_HOME}/lib/derbytools.jar:${CLASSPATH}" org.apache.derby.tools.dblook $@ # --------------------------------------------------------- # -- To use a different JVM with a different syntax, simply edit # -- this file # --------------------------------------------------------- sun-javadb-10.3.2.1/frameworks/embedded/bin/setEmbeddedCP.ksh0000755041506200017500000000336210641441224023162 0ustar lh136778clustraecho echo The frameworks scripts have been deprecated. Please use the new scripts in echo the /bin directory. See the file frameworks.DEPRECATED.txt for more echo information echo # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to you under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # --------------------------------------------------------- # -- This script file sets the CLASSPATH environment variable # -- for use with Derby products in embedded mode # -- # -- To use this script from other locations, change the # -- value assigned to DERBY_INSTALL to be an absolute path # -- (export DERBY_INSTALL=/opt/derby) instead of the current relative path # -- # -- This file for use on Unix ksh systems # -- # --------------------------------------------------------- # DERBY_INSTALL= DERBY_HOME=${DERBY_HOME:-$DERBY_INSTALL} [ -z "$DERBY_HOME" ] && { echo "\$DERBY_HOME or \$DERBY_INSTALL not set. Please set one of these variables" echo "to the location of your Derby installation." exit 1 } export CLASSPATH="${DERBY_HOME}/lib/derby.jar:${DERBY_HOME}/lib/derbytools.jar:${CLASSPATH}" sun-javadb-10.3.2.1/frameworks/embedded/bin/ij.ksh0000755041506200017500000000444710641441224021141 0ustar lh136778clustraecho echo The frameworks scripts have been deprecated. Please use the new scripts in echo the /bin directory. See the file frameworks.DEPRECATED.txt for more echo information echo # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to you under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # --------------------------------------------------------- # -- This simple script is an example of how to start ij in # -- and embedded environment. # -- #-- REQUIREMENTS: # -- You must have the Derby libraries in your classpath # -- # -- See the setEmbeddedCP.ksh for an example of # -- how to do this. # -- # -- This file for use on Unix ksh systems # --------------------------------------------------------- # DERBY_INSTALL= DERBY_HOME=${DERBY_HOME:-$DERBY_INSTALL} [ -z "$DERBY_HOME" ] && { echo "\$DERBY_HOME or \$DERBY_INSTALL not set. Please set one of these variables" echo "to the location of your Derby installation." exit 1 } [ -z "$JAVA_HOME" ] && { [ -x /usr/java/bin/java ] && { JAVA_HOME=/usr/java } [ -z "$JAVA_HOME" ] && { echo "JAVA_HOME not set. Please set JAVA_HOME to the location of your Java" echo "installation." exit 1 } } # --------------------------------------------------------- # -- start ij # --------------------------------------------------------- "$JAVA_HOME/bin/java" -cp "${DERBY_HOME}/lib/derby.jar:${DERBY_HOME}/lib/derbytools.jar:${CLASSPATH}" -Dij.protocol=jdbc:derby: org.apache.derby.tools.ij # --------------------------------------------------------- # -- To use a different JVM with a different syntax, simply edit # -- this file # --------------------------------------------------------- sun-javadb-10.3.2.1/frameworks/embedded/readme.html0000644041506200017500000000237310641441224021374 0ustar lh136778clustra Derby's Embedded Framework

Derby's embedded framework

sun-javadb-10.3.2.1/frameworks/readme.html0000644041506200017500000001006610641441224017641 0ustar lh136778clustra About Derby's Frameworks

NOTE: THE FRAMEWORKS SCRIPTS HAVE BEEN DEPRECATED. PLEASE BEGIN USING THE SCRIPTS IN THE /bin DIRECTORY

About Derby's Frameworks

A framework is the environment in which Derby runs. The framework in which you run Derby affects how you run applications against Derby.

The frameworks directory contains subdirectories for each framework with supporting files. Depending on the framework, the subdirectory includes:

For an easy-to-follow example of how to run an application in the two frameworks, see the simple example in the demos directory if your distribution includes it.

For more information about frameworks, see Getting Started with Derby.

Embedded Framework

An embedded framework is the most basic framework. Derby runs embedded in a Java application. When the application loads the local JDBC driver, it starts up the Derby engine. When the application shuts down, it shuts down the Derby engine. Only a single application can access a database at one time.

The bin subdirectory in frameworks/embedded contains scripts for running some of the Derby tools in an embedded environment. For working in an embedded environment, put the frameworks/embedded/bin subdirectory first in your path.

Server Framework

A server framework is a continuously running Java application that allows multiple, remote JDBC applications to connect to Derby.

Derby Network Server

The Derby Network Server is a server framework that comes with Derby. The Derby Network Server works with the Derby Client driver and the DB2 JCC JDBC driver. Please read the Derby documentation on the differences between the client and the embedded drivers.

sun-javadb-10.3.2.1/bin/0000755041506200017500000000000010723243350014104 5ustar lh136778clustrasun-javadb-10.3.2.1/bin/setEmbeddedCP0000755041506200017500000000205710641441462016471 0ustar lh136778clustra#!/bin/sh # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. if [ -z "$DERBY_HOME" ] ; then echo "Error: DERBY_HOME is not set. Please set the DERBY_HOME environment variable" echo "to the location of your Derby installation." exit 1 fi export CLASSPATH="${DERBY_HOME}/lib/derby.jar:${DERBY_HOME}/lib/derbytools.jar:${CLASSPATH}" sun-javadb-10.3.2.1/bin/NetworkServerControl.bat0000755041506200017500000000260510641441462020766 0ustar lh136778clustra@echo off @REM Licensed to the Apache Software Foundation (ASF) under one @REM or more contributor license agreements. See the NOTICE file @REM distributed with this work for additional information @REM regarding copyright ownership. The ASF licenses this file @REM to you under the Apache License, Version 2.0 (the @REM "License"); you may not use this file except in compliance @REM with the License. You may obtain a copy of the License at @REM http://www.apache.org/licenses/LICENSE-2.0 @REM Unless required by applicable law or agreed to in writing, @REM software distributed under the License is distributed on an @REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY @REM KIND, either express or implied. See the License for the @REM specific language governing permissions and limitations @REM under the License. CALL "%~dp0derby_common.bat" %* if "%_JAVACMD%"=="" goto end if "%_USE_CLASSPATH%"=="no" goto runNoClasspath if not "%CLASSPATH%"=="" goto runWithClasspath :runNoClasspath "%_JAVACMD%" %DERBY_OPTS% -classpath "%LOCALCLASSPATH%" org.apache.derby.drda.NetworkServerControl %DERBY_ARGS% %DERBY_CMD_LINE_ARGS% goto end :runWithClasspath "%_JAVACMD%" %DERBY_OPTS% -classpath "%CLASSPATH%;%LOCALCLASSPATH%" org.apache.derby.drda.NetworkServerControl %DERBY_ARGS% %DERBY_CMD_LINE_ARGS% goto end :end set _JAVACMD= set DERBY_CMD_LINE_ARGS= sun-javadb-10.3.2.1/bin/ij0000755041506200017500000000233110641441462014436 0ustar lh136778clustra#!/bin/sh # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. if [ -z "$DERBY_HOME" ] ; then echo "Error: DERBY_HOME is not set. Please set the DERBY_HOME environment variable" echo "to the location of your Derby installation." exit 1 fi . $DERBY_HOME/bin/derby_common.sh # Execute derby using eval/exec to preserve spaces in paths, # java options, and derby args derby_exec_command="exec \"$JAVACMD\" $DERBY_OPTS -classpath \"$LOCALCLASSPATH\" org.apache.derby.tools.ij $@" eval $derby_exec_command sun-javadb-10.3.2.1/bin/setNetworkClientCP0000755041506200017500000000206510641441462017567 0ustar lh136778clustra#!/bin/sh # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. if [ -z "$DERBY_HOME" ] ; then echo "Error: DERBY_HOME is not set. Please set the DERBY_HOME environment variable" echo "to the location of your Derby installation." exit 1 fi export CLASSPATH="${DERBY_HOME}/lib/derbyclient.jar:${DERBY_HOME}/lib/derbytools.jar:${CLASSPATH}" sun-javadb-10.3.2.1/bin/setNetworkServerCP0000755041506200017500000000206110641441462017613 0ustar lh136778clustra#!/bin/sh # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. if [ -z "$DERBY_HOME" ]; then echo "Error: DERBY_HOME is not set. Please set the DERBY_HOME environment variable" echo "to the location of your Derby installation." exit 1 fi export CLASSPATH="${DERBY_HOME}/lib/derbynet.jar:${DERBY_HOME}/lib/derbytools.jar:${CLASSPATH}" sun-javadb-10.3.2.1/bin/dblook0000755041506200017500000000220110641441462015302 0ustar lh136778clustra#!/bin/sh # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. if [ -z "$DERBY_HOME" ] ; then echo "Error: DERBY_HOME is not set. Please set the DERBY_HOME environment variable" echo "to the location of your Derby installation." exit 1 fi . $DERBY_HOME/bin/derby_common.sh derby_exec_command="exec \"$JAVACMD\" $DERBY_OPTS -classpath \"$LOCALCLASSPATH\" org.apache.derby.tools.dblook $@" eval $derby_exec_command sun-javadb-10.3.2.1/bin/stopNetworkServer0000755041506200017500000000222310641441462017562 0ustar lh136778clustra#!/bin/sh # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. if [ -z "$DERBY_HOME" ]; then echo "Error: DERBY_HOME is not set. Please set the DERBY_HOME environment variable" echo "to the location of your Derby installation." exit 1 fi . $DERBY_HOME/bin/derby_common.sh derby_exec_command="exec \"$JAVACMD\" $DERBY_OPTS -classpath \"$LOCALCLASSPATH\" org.apache.derby.drda.NetworkServerControl shutdown" eval $derby_exec_command sun-javadb-10.3.2.1/bin/NetworkServerControl0000755041506200017500000000221610641441462020217 0ustar lh136778clustra#!/bin/sh # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. if [ -z "$DERBY_HOME" ] ; then echo "Error: DERBY_HOME is not set. Please set the DERBY_HOME environment variable" echo "to the location of your Derby installation." exit 1 fi . $DERBY_HOME/bin/derby_common.sh derby_exec_command="exec \"$JAVACMD\" $DERBY_OPTS -classpath \"$LOCALCLASSPATH\" org.apache.derby.drda.NetworkServerControl $@" eval $derby_exec_command sun-javadb-10.3.2.1/bin/dblook.bat0000755041506200017500000000255310641441462016061 0ustar lh136778clustra@echo off @REM Licensed to the Apache Software Foundation (ASF) under one @REM or more contributor license agreements. See the NOTICE file @REM distributed with this work for additional information @REM regarding copyright ownership. The ASF licenses this file @REM to you under the Apache License, Version 2.0 (the @REM "License"); you may not use this file except in compliance @REM with the License. You may obtain a copy of the License at @REM http://www.apache.org/licenses/LICENSE-2.0 @REM Unless required by applicable law or agreed to in writing, @REM software distributed under the License is distributed on an @REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY @REM KIND, either express or implied. See the License for the @REM specific language governing permissions and limitations @REM under the License. CALL "%~dp0derby_common.bat" %* if "%_JAVACMD%"=="" goto end if "%_USE_CLASSPATH%"=="no" goto runNoClasspath if not "%CLASSPATH%"=="" goto runWithClasspath :runNoClasspath "%_JAVACMD%" %DERBY_OPTS% -classpath "%LOCALCLASSPATH%" org.apache.derby.tools.dblook %DERBY_ARGS% %DERBY_CMD_LINE_ARGS% goto end :runWithClasspath "%_JAVACMD%" %DERBY_OPTS% -classpath "%CLASSPATH%;%LOCALCLASSPATH%" org.apache.derby.tools.dblook %DERBY_ARGS% %DERBY_CMD_LINE_ARGS% goto end :end set _JAVACMD= set DERBY_CMD_LINE_ARGS= sun-javadb-10.3.2.1/bin/sysinfo.bat0000755041506200017500000000255510641441462016303 0ustar lh136778clustra@echo off @REM Licensed to the Apache Software Foundation (ASF) under one @REM or more contributor license agreements. See the NOTICE file @REM distributed with this work for additional information @REM regarding copyright ownership. The ASF licenses this file @REM to you under the Apache License, Version 2.0 (the @REM "License"); you may not use this file except in compliance @REM with the License. You may obtain a copy of the License at @REM http://www.apache.org/licenses/LICENSE-2.0 @REM Unless required by applicable law or agreed to in writing, @REM software distributed under the License is distributed on an @REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY @REM KIND, either express or implied. See the License for the @REM specific language governing permissions and limitations @REM under the License. CALL "%~dp0derby_common.bat" %* if "%_JAVACMD%"=="" goto end if "%_USE_CLASSPATH%"=="no" goto runNoClasspath if not "%CLASSPATH%"=="" goto runWithClasspath :runNoClasspath "%_JAVACMD%" %DERBY_OPTS% -classpath "%LOCALCLASSPATH%" org.apache.derby.tools.sysinfo %DERBY_ARGS% %DERBY_CMD_LINE_ARGS% goto end :runWithClasspath "%_JAVACMD%" %DERBY_OPTS% -classpath "%CLASSPATH%;%LOCALCLASSPATH%" org.apache.derby.tools.sysinfo %DERBY_ARGS% %DERBY_CMD_LINE_ARGS% goto end :end set _JAVACMD= set DERBY_CMD_LINE_ARGS= sun-javadb-10.3.2.1/bin/setNetworkServerCP.bat0000755041506200017500000000237110641441462020364 0ustar lh136778clustra@REM Licensed to the Apache Software Foundation (ASF) under one @REM or more contributor license agreements. See the NOTICE file @REM distributed with this work for additional information @REM regarding copyright ownership. The ASF licenses this file @REM to you under the Apache License, Version 2.0 (the @REM "License"); you may not use this file except in compliance @REM with the License. You may obtain a copy of the License at @REM http://www.apache.org/licenses/LICENSE-2.0 @REM Unless required by applicable law or agreed to in writing, @REM software distributed under the License is distributed on an @REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY @REM KIND, either express or implied. See the License for the @REM specific language governing permissions and limitations @REM under the License. @rem set DERBY_INSTALL= @if "%DERBY_HOME%"=="" set DERBY_HOME=%DERBY_INSTALL% @if "%DERBY_HOME%"=="" goto noderbyhome @FOR %%X in ("%DERBY_HOME%") DO SET DERBY_INSTALL=%%~sX set CLASSPATH=%DERBY_HOME%\lib\derbynet.jar;%DERBY_HOME%\lib\derbytools.jar;%CLASSPATH% @goto end :noderbyhome @echo DERBY_HOME or DERBY_INSTALL not set. Set one of these variables @echo to the location of your Derby installation. :end sun-javadb-10.3.2.1/bin/setNetworkClientCP.bat0000755041506200017500000000240410641441462020331 0ustar lh136778clustra@REM Licensed to the Apache Software Foundation (ASF) under one @REM or more contributor license agreements. See the NOTICE file @REM distributed with this work for additional information @REM regarding copyright ownership. The ASF licenses this file @REM to you under the Apache License, Version 2.0 (the @REM "License"); you may not use this file except in compliance @REM with the License. You may obtain a copy of the License at @REM http://www.apache.org/licenses/LICENSE-2.0 @REM Unless required by applicable law or agreed to in writing, @REM software distributed under the License is distributed on an @REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY @REM KIND, either express or implied. See the License for the @REM specific language governing permissions and limitations @REM under the License. @rem set DERBY_INSTALL= @if "%DERBY_HOME%"=="" set DERBY_HOME=%DERBY_INSTALL% @if "%DERBY_HOME%"=="" goto noderbyhome @FOR %%X in ("%DERBY_HOME%") DO SET DERBY_HOME=%%~sX set CLASSPATH=%DERBY_HOME%\lib\derbyclient.jar;%DERBY_HOME%\lib\derbytools.jar;%CLASSPATH% @goto end :noderbyhome @echo DERBY_HOME or DERBY_INSTALL not set. Set one of these variables @echo to the location of your Derby installation. @goto end :end sun-javadb-10.3.2.1/bin/setEmbeddedCP.bat0000755041506200017500000000237610641441462017242 0ustar lh136778clustra@REM Licensed to the Apache Software Foundation (ASF) under one @REM or more contributor license agreements. See the NOTICE file @REM distributed with this work for additional information @REM regarding copyright ownership. The ASF licenses this file @REM to you under the Apache License, Version 2.0 (the @REM "License"); you may not use this file except in compliance @REM with the License. You may obtain a copy of the License at @REM http://www.apache.org/licenses/LICENSE-2.0 @REM Unless required by applicable law or agreed to in writing, @REM software distributed under the License is distributed on an @REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY @REM KIND, either express or implied. See the License for the @REM specific language governing permissions and limitations @REM under the License. @rem set DERBY_INSTALL= @if "%DERBY_HOME%"=="" set DERBY_HOME=%DERBY_INSTALL% @if "%DERBY_HOME%"=="" goto noderbyhome @FOR %%X in ("%DERBY_HOME%") DO SET DERBY_HOME=%%~sX set CLASSPATH=%DERBY_HOME%\lib\derby.jar;%DERBY_HOME%\lib\derbytools.jar;%CLASSPATH% @goto end :noderbyhome @echo DERBY_HOME or DERBY_INSTALL not set. Set one of these variables @echo to the location of your Derby installation. @goto end :end sun-javadb-10.3.2.1/bin/ij.bat0000755041506200017500000000254310641441462015210 0ustar lh136778clustra@echo off @REM Licensed to the Apache Software Foundation (ASF) under one @REM or more contributor license agreements. See the NOTICE file @REM distributed with this work for additional information @REM regarding copyright ownership. The ASF licenses this file @REM to you under the Apache License, Version 2.0 (the @REM "License"); you may not use this file except in compliance @REM with the License. You may obtain a copy of the License at @REM http://www.apache.org/licenses/LICENSE-2.0 @REM Unless required by applicable law or agreed to in writing, @REM software distributed under the License is distributed on an @REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY @REM KIND, either express or implied. See the License for the @REM specific language governing permissions and limitations @REM under the License. CALL "%~dp0derby_common.bat" %* if "%_JAVACMD%"=="" goto end if "%_USE_CLASSPATH%"=="no" goto runNoClasspath if not "%CLASSPATH%"=="" goto runWithClasspath :runNoClasspath "%_JAVACMD%" %DERBY_OPTS% -classpath "%LOCALCLASSPATH%" org.apache.derby.tools.ij %DERBY_ARGS% %DERBY_CMD_LINE_ARGS% goto end :runWithClasspath "%_JAVACMD%" %DERBY_OPTS% -classpath "%CLASSPATH%;%LOCALCLASSPATH%" org.apache.derby.tools.ij %DERBY_ARGS% %DERBY_CMD_LINE_ARGS% goto end :end set _JAVACMD= set DERBY_CMD_LINE_ARGS= sun-javadb-10.3.2.1/bin/sysinfo0000755041506200017500000000220110641441462015522 0ustar lh136778clustra#!/bin/sh # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. if [ -z "$DERBY_HOME" ]; then echo "Error: DERBY_HOME is not set. Please set the DERBY_HOME environment variable" echo "to the location of your Derby installation." exit 1 fi . $DERBY_HOME/bin/derby_common.sh derby_exec_command="exec \"$JAVACMD\" $DERBY_OPTS -classpath \"$LOCALCLASSPATH\" org.apache.derby.tools.sysinfo $@" eval $derby_exec_command sun-javadb-10.3.2.1/bin/derby_common.sh0000755041506200017500000001136510641441462017131 0ustar lh136778clustra#!/bin/sh # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. if [ -n "$derby_common_debug" ] ; then set -x fi # OS specific support. $var _must_ be set to either true or false. cygwin=false; darwin=false; case "`uname`" in CYGWIN*) cygwin=true ;; Darwin*) darwin=true if [ -z "$JAVA_HOME" ] ; then JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home fi ;; esac if [ -z "$DERBY_HOME" -o ! -d "$DERBY_HOME" ] ; then ## resolve links - $0 may be a link to derby's home PRG="$0" progname=`basename "$0"` # need this for relative symlinks while [ -h "$PRG" ] ; do ls=`ls -ld "$PRG"` link=`expr "$ls" : '.*-> \(.*\)$'` if expr "$link" : '/.*' > /dev/null; then PRG="$link" else PRG=`dirname "$PRG"`"/$link" fi done DERBY_HOME=`dirname "$PRG"`/.. # make it fully qualified DERBY_HOME=`cd "$DERBY_HOME" && pwd` fi # For Cygwin, ensure paths are in UNIX format before anything is touched if $cygwin ; then [ -n "$DERBY_HOME" ] && DERBY_HOME=`cygpath --unix "$DERBY_HOME"` [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` fi # set DERBY_LIB location DERBY_LIB="${DERBY_HOME}/lib" if [ -z "$JAVACMD" ] ; then if [ -n "$JAVA_HOME" ] ; then if [ -x "$JAVA_HOME/jre/sh/java" ] ; then # IBM's JDK on AIX uses strange locations for the executables JAVACMD="$JAVA_HOME/jre/sh/java" else JAVACMD="$JAVA_HOME/bin/java" fi else JAVACMD=`which java 2> /dev/null ` if [ -z "$JAVACMD" ] ; then JAVACMD=java fi fi fi if [ ! -x "$JAVACMD" ] ; then echo "Error: JAVA_HOME is not defined correctly." echo " We cannot execute $JAVACMD" exit 1 fi # set local classpath, don't overwrite the user's LOCALCLASSPATH=$DERBY_LIB/derby.jar:$DERBY_LIB/derbynet.jar:$DERBY_LIB/derbytools.jar:$DERBY_LIB/derbyclient.jar # if CLASSPATH_OVERRIDE env var is set, LOCALCLASSPATH will be # user CLASSPATH first and derby-found jars after. # In that case, the user CLASSPATH will override derby-found jars # # if CLASSPATH_OVERRIDE is not set, we'll have the normal behaviour # with derby-found jars first and user CLASSPATH after if [ -n "$CLASSPATH" ] ; then # merge local and specified classpath if [ -z "$LOCALCLASSPATH" ] ; then LOCALCLASSPATH="$CLASSPATH" elif [ -n "$CLASSPATH_OVERRIDE" ] ; then LOCALCLASSPATH="$CLASSPATH:$LOCALCLASSPATH" else LOCALCLASSPATH="$LOCALCLASSPATH:$CLASSPATH" fi # remove class path from launcher -cp option CLASSPATH="" fi # For Cygwin, switch paths to appropriate format before running java # For PATHs convert to unix format first, then to windows format to ensure # both formats are supported. Probably this will fail on directories with ; # in the name in the path. Let's assume that paths containing ; are more # rare than windows style paths on cygwin. if $cygwin; then if [ "$OS" = "Windows_NT" ] && cygpath -m .>/dev/null 2>/dev/null ; then format=mixed else format=windows fi DERBY_HOME=`cygpath --$format "$DERBY_HOME"` DERBY_LIB=`cygpath --$format "$DERBY_LIB"` if [ -n "$JAVA_HOME" ]; then JAVA_HOME=`cygpath --$format "$JAVA_HOME"` fi LCP_TEMP=`cygpath --path --unix "$LOCALCLASSPATH"` LOCALCLASSPATH=`cygpath --path --$format "$LCP_TEMP"` if [ -n "$CLASSPATH" ] ; then CP_TEMP=`cygpath --path --unix "$CLASSPATH"` CLASSPATH=`cygpath --path --$format "$CP_TEMP"` fi CYGHOME=`cygpath --$format "$HOME"` fi # add a second backslash to variables terminated by a backslash under cygwin if $cygwin; then case "$DERBY_HOME" in *\\ ) DERBY_HOME="$DERBY_HOME\\" ;; esac case "$CYGHOME" in *\\ ) CYGHOME="$CYGHOME\\" ;; esac case "$LOCALCLASSPATH" in *\\ ) LOCALCLASSPATH="$LOCALCLASSPATH\\" ;; esac case "$CLASSPATH" in *\\ ) CLASSPATH="$CLASSPATH\\" ;; esac fi # Readjust classpath for MKS # expr match if [ \( "`expr $SHELL : '.*sh.exe$'`" -gt 0 \) -a \( "$cygwin" = "false" \) ]; then LOCALCLASSPATH=`echo $LOCALCLASSPATH | sed -E 's/([\d\w]*):([\d\w]*)/\1;\2/g '` fi sun-javadb-10.3.2.1/bin/startNetworkServer0000755041506200017500000000222010641441462017727 0ustar lh136778clustra#!/bin/sh # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. if [ -z "$DERBY_HOME" ]; then echo "Error: DERBY_HOME is not set. Please set the DERBY_HOME environment variable" echo "to the location of your Derby installation." exit 1 fi . $DERBY_HOME/bin/derby_common.sh derby_exec_command="exec \"$JAVACMD\" $DERBY_OPTS -classpath \"$LOCALCLASSPATH\" org.apache.derby.drda.NetworkServerControl start" eval $derby_exec_command sun-javadb-10.3.2.1/bin/derby_common.bat0000755041506200017500000000457210641441462017267 0ustar lh136778clustra@echo off @REM Licensed to the Apache Software Foundation (ASF) under one @REM or more contributor license agreements. See the NOTICE file @REM distributed with this work for additional information @REM regarding copyright ownership. The ASF licenses this file @REM to you under the Apache License, Version 2.0 (the @REM "License"); you may not use this file except in compliance @REM with the License. You may obtain a copy of the License at @REM http://www.apache.org/licenses/LICENSE-2.0 @REM Unless required by applicable law or agreed to in writing, @REM software distributed under the License is distributed on an @REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY @REM KIND, either express or implied. See the License for the @REM specific language governing permissions and limitations @REM under the License. rem %~dp0 is expanded pathname of the current script under NT set DEFAULT_DERBY_HOME=%~dp0.. if "%DERBY_HOME%"=="" set DERBY_HOME=%DEFAULT_DERBY_HOME% set DEFAULT_DERBY_HOME= set _USE_CLASSPATH=yes rem Slurp the command line arguments. This loop allows for an unlimited number rem of arguments (up to the command line limit, anyway). set DERBY_CMD_LINE_ARGS=%1 if ""%1""=="""" goto doneStart shift :setupArgs if ""%1""=="""" goto doneStart if ""%1""==""-noclasspath"" goto clearclasspath set DERBY_CMD_LINE_ARGS=%DERBY_CMD_LINE_ARGS% %1 shift goto setupArgs rem here is there is a -noclasspath in the options :clearclasspath set _USE_CLASSPATH=no shift goto setupArgs rem This label provides a place for the argument list loop to break out rem and for NT handling to skip to. :doneStart rem check the value of DERBY_HOME if exist "%DERBY_HOME%\lib\derby.jar" goto setLocalClassPath :noDerbyHome echo DERBY_HOME is set incorrectly or derby.jar could not be located. echo Please set the DERBY_HOME environment variable to the path where you installed Derby. goto endcommon :setLocalClassPath set LOCALCLASSPATH=%DERBY_HOME%/lib/derby.jar;%DERBY_HOME%/lib/derbynet.jar;%DERBY_HOME%/lib/derbyclient.jar;%DERBY_HOME%/lib/derbytools.jar :checkJava set _JAVACMD=%JAVACMD% if "%JAVA_HOME%" == "" goto noJavaHome if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome if "%_JAVACMD%" == "" set _JAVACMD=%JAVA_HOME%\bin\java.exe goto endcommon :noJavaHome if "%_JAVACMD%" == "" set _JAVACMD=java.exe :endcommon sun-javadb-10.3.2.1/bin/startNetworkServer.bat0000755041506200017500000000251110641441462020477 0ustar lh136778clustra@echo off @REM Licensed to the Apache Software Foundation (ASF) under one @REM or more contributor license agreements. See the NOTICE file @REM distributed with this work for additional information @REM regarding copyright ownership. The ASF licenses this file @REM to you under the Apache License, Version 2.0 (the @REM "License"); you may not use this file except in compliance @REM with the License. You may obtain a copy of the License at @REM http://www.apache.org/licenses/LICENSE-2.0 @REM Unless required by applicable law or agreed to in writing, @REM software distributed under the License is distributed on an @REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY @REM KIND, either express or implied. See the License for the @REM specific language governing permissions and limitations @REM under the License. CALL "%~dp0derby_common.bat" %* if "%_JAVACMD%"=="" goto end if "%_USE_CLASSPATH%"=="no" goto runNoClasspath if not "%CLASSPATH%"=="" goto runWithClasspath :runNoClasspath "%_JAVACMD%" %DERBY_OPTS% -classpath "%LOCALCLASSPATH%" org.apache.derby.drda.NetworkServerControl start goto end :runWithClasspath "%_JAVACMD%" %DERBY_OPTS% -classpath "%CLASSPATH%;%LOCALCLASSPATH%" org.apache.derby.drda.NetworkServerControl start goto end :end set _JAVACMD= set DERBY_CMD_LINE_ARGS= sun-javadb-10.3.2.1/bin/stopNetworkServer.bat0000755041506200017500000000251710641441462020335 0ustar lh136778clustra@echo off @REM Licensed to the Apache Software Foundation (ASF) under one @REM or more contributor license agreements. See the NOTICE file @REM distributed with this work for additional information @REM regarding copyright ownership. The ASF licenses this file @REM to you under the Apache License, Version 2.0 (the @REM "License"); you may not use this file except in compliance @REM with the License. You may obtain a copy of the License at @REM http://www.apache.org/licenses/LICENSE-2.0 @REM Unless required by applicable law or agreed to in writing, @REM software distributed under the License is distributed on an @REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY @REM KIND, either express or implied. See the License for the @REM specific language governing permissions and limitations @REM under the License. CALL "%~dp0derby_common.bat" %* if "%_JAVACMD%"=="" goto end if "%_USE_CLASSPATH%"=="no" goto runNoClasspath if not "%CLASSPATH%"=="" goto runWithClasspath :runNoClasspath "%_JAVACMD%" %DERBY_OPTS% -classpath "%LOCALCLASSPATH%" org.apache.derby.drda.NetworkServerControl shutdown goto end :runWithClasspath "%_JAVACMD%" %DERBY_OPTS% -classpath "%CLASSPATH%;%LOCALCLASSPATH%" org.apache.derby.drda.NetworkServerControl shutdown goto end :end set _JAVACMD= set DERBY_CMD_LINE_ARGS= sun-javadb-10.3.2.1/javadoc/0000755041506200017500000000000010723243372014747 5ustar lh136778clustrasun-javadb-10.3.2.1/javadoc/jdbc3/0000755041506200017500000000000010723243310015724 5ustar lh136778clustrasun-javadb-10.3.2.1/javadoc/jdbc3/serialized-form.html0000644041506200017500000005202710723243310021714 0ustar lh136778clustra Serialized Form (Apache Derby 10.3 API Documentation)

Serialized Form


Package org.apache.derby.authentication

Class org.apache.derby.authentication.DatabasePrincipal extends java.lang.Object implements Serializable

Serialized Fields

userName

java.lang.String userName

Package org.apache.derby.drda

Class org.apache.derby.drda.NetServlet extends javax.servlet.http.HttpServlet implements Serializable

Serialized Fields

formHeader

java.lang.String formHeader

host

java.lang.String host

portNumber

int portNumber

tracingDirectory

java.lang.String tracingDirectory

logStatus

boolean logStatus

traceStatus

boolean traceStatus

knownLang

java.lang.String[] knownLang

locale

java.lang.String locale

server

NetworkServerControl server

out

java.io.PrintWriter out

service

java.lang.Runnable service

Package org.apache.derby.jdbc

Class org.apache.derby.jdbc.ClientBaseDataSource extends java.lang.Object implements Serializable

serialVersionUID: -7660172643035173692L

Serialized Fields

loginTimeout

int loginTimeout
The time in seconds to wait for a connection request on this data source. The default value of zero indicates that either the system time out be used or no timeout limit.

 

databaseName

java.lang.String databaseName

description

java.lang.String description

dataSourceName

java.lang.String dataSourceName

portNumber

int portNumber

serverName

java.lang.String serverName

user

java.lang.String user

securityMechanism

short securityMechanism

retrieveMessageText

boolean retrieveMessageText

traceFile

java.lang.String traceFile

traceDirectory

java.lang.String traceDirectory

traceFileAppend

boolean traceFileAppend

password

java.lang.String password

sslMode

int sslMode

createDatabase

boolean createDatabase
Set to true if the database should be created.


shutdownDatabase

boolean shutdownDatabase
Set to true if the database should be shutdown.


connectionAttributes

java.lang.String connectionAttributes

traceLevel

int traceLevel

Class org.apache.derby.jdbc.ClientConnectionPoolDataSource extends ClientDataSource implements Serializable

serialVersionUID: -539234282156481377L

Class org.apache.derby.jdbc.ClientConnectionPoolDataSource40 extends ClientConnectionPoolDataSource implements Serializable

Class org.apache.derby.jdbc.ClientDataSource extends ClientBaseDataSource implements Serializable

serialVersionUID: 1894299584216955553L

Class org.apache.derby.jdbc.ClientDataSource40 extends ClientDataSource implements Serializable

Class org.apache.derby.jdbc.ClientXADataSource extends ClientDataSource implements Serializable

serialVersionUID: 7057075094707674880L

Class org.apache.derby.jdbc.ClientXADataSource40 extends ClientXADataSource implements Serializable

Class org.apache.derby.jdbc.EmbeddedConnectionPoolDataSource extends EmbeddedDataSource implements Serializable

serialVersionUID: 7852784308039674160L

Class org.apache.derby.jdbc.EmbeddedConnectionPoolDataSource40 extends EmbeddedConnectionPoolDataSource implements Serializable

Class org.apache.derby.jdbc.EmbeddedDataSource extends org.apache.derby.jdbc.ReferenceableDataSource implements Serializable

serialVersionUID: -4945135214995641181L

Serialized Fields

databaseName

java.lang.String databaseName
The database name.

 

dataSourceName

java.lang.String dataSourceName
The data source name.

 

description

java.lang.String description
Description of the database.

 

createDatabase

java.lang.String createDatabase
Set to "create" if the database should be created.

 

shutdownDatabase

java.lang.String shutdownDatabase
Set to "shutdown" if the database should be shutdown.

 

connectionAttributes

java.lang.String connectionAttributes
Derby specific connection attributes.

 

attributesAsPassword

boolean attributesAsPassword
Set password to be a set of connection attributes.

Class org.apache.derby.jdbc.EmbeddedDataSource40 extends EmbeddedDataSource implements Serializable

Class org.apache.derby.jdbc.EmbeddedXADataSource extends EmbeddedDataSource implements Serializable

serialVersionUID: -5715798975598379738L

Class org.apache.derby.jdbc.EmbeddedXADataSource40 extends EmbeddedXADataSource implements Serializable

Class org.apache.derby.jdbc.ReferenceableDataSource extends java.lang.Object implements Serializable

serialVersionUID: 1872877359127597176L

Serialized Fields

description

java.lang.String description

dataSourceName

java.lang.String dataSourceName

databaseName

java.lang.String databaseName

password

java.lang.String password

user

java.lang.String user

loginTimeout

int loginTimeout


Built on Wed 2007-11-28 11:45:21-0800, from revision 599110

Apache Derby 10.3 API Documentation - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved. sun-javadb-10.3.2.1/javadoc/jdbc3/index.html0000644041506200017500000000265710723243310017733 0ustar lh136778clustra Apache Derby 10.3 API Documentation <H2> Frame Alert</H2> <P> This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. <BR> Link to<A HREF="overview-summary.html">Non-frame version.</A> sun-javadb-10.3.2.1/javadoc/jdbc3/overview-summary.html0000644041506200017500000001661710723243310022166 0ustar lh136778clustra Overview (Apache Derby 10.3 API Documentation)

Apache Derby 10.3 API Documentation

Apache Derby is a pure Java, standards-based relational database engine.

See:
          Description

Packages
org.apache.derby.authentication  
org.apache.derby.drda  
org.apache.derby.jdbc JDBC driver and data source implementations.
org.apache.derby.tools  

 

Apache Derby is a pure Java, standards-based relational database engine. Derby provides an easy to use data management solution for software developers with zero administration for end users. Derby runs on any J2SE 1.4.2 or higher virtual machine and supports Java ME/CDC/Foundation. Derby's database format is platform independent allowing databases to be copied to any machine type.

Apache Derby is a subproject of the Apache DB project, and is licensed under the Apache License, Version 2.0 (the "License"); you may not use these files except in compliance with the License. You may obtain a copy of the License at:
http://www.apache.org/licenses/LICENSE-2.0

You can find Derby on the web at:
http://db.apache.org/derby/

Apache Derby releases can be downloaded from the following page:
http://db.apache.org/derby/derby_downloads.html


Built on Wed 2007-11-28 11:45:21-0800, from revision 599110

Apache Derby 10.3 API Documentation - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved. sun-javadb-10.3.2.1/javadoc/jdbc3/overview-tree.html0000644041506200017500000002203210723243310021414 0ustar lh136778clustra Class Hierarchy (Apache Derby 10.3 API Documentation)

Hierarchy For All Packages

Package Hierarchies:
org.apache.derby.authentication, org.apache.derby.drda, org.apache.derby.jdbc, org.apache.derby.tools

Class Hierarchy

Interface Hierarchy


Built on Wed 2007-11-28 11:45:21-0800, from revision 599110

Apache Derby 10.3 API Documentation - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved. sun-javadb-10.3.2.1/javadoc/jdbc3/index-all.html0000644041506200017500000024240210723243310020473 0ustar lh136778clustra Index (Apache Derby 10.3 API Documentation)
A C D E G I J L M N O P R S T U W

A

acceptsURL(String) - Method in class org.apache.derby.jdbc.ClientDriver
 
acceptsURL(String) - Method in class org.apache.derby.jdbc.EmbeddedDriver
Accept anything that starts with jdbc:derby:.
addQuotes(String) - Static method in class org.apache.derby.tools.dblook
 
addSingleQuotes(String) - Static method in class org.apache.derby.tools.dblook
 
authenticateUser(String, String, String, Properties) - Method in interface org.apache.derby.authentication.UserAuthenticator
Authenticate a user's credentials.

C

className__ - Static variable in class org.apache.derby.jdbc.ClientConnectionPoolDataSource
 
className__ - Static variable in class org.apache.derby.jdbc.ClientDataSource
 
className__ - Static variable in class org.apache.derby.jdbc.ClientXADataSource
 
CLEAR_TEXT_PASSWORD_SECURITY - Static variable in class org.apache.derby.jdbc.ClientBaseDataSource
 
CLIENT - Static variable in class org.apache.derby.tools.sysinfo
The genus name for the client code.
ClientBaseDataSource - Class in org.apache.derby.jdbc
Base class for client-side DataSource implementations.
ClientConnectionPoolDataSource - Class in org.apache.derby.jdbc
ClientConnectionPoolDataSource is a factory for PooledConnection objects.
ClientConnectionPoolDataSource() - Constructor for class org.apache.derby.jdbc.ClientConnectionPoolDataSource
 
ClientDataSource - Class in org.apache.derby.jdbc
ClientDataSource is a simple data source implementation that can be used for establishing connections in a non-pooling, non-distributed environment.
ClientDataSource() - Constructor for class org.apache.derby.jdbc.ClientDataSource
Creates a simple DERBY data source with default property values for a non-pooling, non-distributed environment.
ClientDriver - Class in org.apache.derby.jdbc
 
ClientDriver() - Constructor for class org.apache.derby.jdbc.ClientDriver
 
ClientXADataSource - Class in org.apache.derby.jdbc
This is Derby's network XADataSource for use with JDBC3.0 and JDBC2.0.
ClientXADataSource() - Constructor for class org.apache.derby.jdbc.ClientXADataSource
 
computeDncLogWriter(Connection, PrintWriter, String, String, boolean, String, int, int) - Static method in class org.apache.derby.jdbc.ClientBaseDataSource
 
connect(String, Properties) - Method in class org.apache.derby.jdbc.ClientDriver
 
connect(String, Properties) - Method in class org.apache.derby.jdbc.EmbeddedDriver
Connect to the URL if possible
connectionAttributes - Variable in class org.apache.derby.jdbc.ClientBaseDataSource
 
createPooledConnection(String, String, boolean) - Method in class org.apache.derby.jdbc.EmbeddedConnectionPoolDataSource
Create and return an EmbedPooledConnection from this instance of EmbeddedConnectionPoolDataSource.
createXAConnection(ResourceAdapter, String, String, boolean) - Method in class org.apache.derby.jdbc.EmbeddedXADataSource
Intantiate and return an EmbedXAConnection from this instance of EmbeddedXADataSource.

D

dblook - Class in org.apache.derby.tools
 
dblook(String[]) - Constructor for class org.apache.derby.tools.dblook
 
DBMS - Static variable in class org.apache.derby.tools.sysinfo
The genus name for the Apache Derby code.
DEFAULT_PORTNUMBER - Static variable in class org.apache.derby.drda.NetworkServerControl
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.apache.derby.drda.NetServlet
Get the form of NetServlet.
doPost(HttpServletRequest, HttpServletResponse) - Method in class org.apache.derby.drda.NetServlet
Get the form of NetServlet.

E

EmbeddedConnectionPoolDataSource - Class in org.apache.derby.jdbc
EmbeddedConnectionPoolDataSource is Derby's ConnectionPoolDataSource implementation for the JDBC3.0 environment.
EmbeddedConnectionPoolDataSource() - Constructor for class org.apache.derby.jdbc.EmbeddedConnectionPoolDataSource
No-arg constructor.
EmbeddedDataSource - Class in org.apache.derby.jdbc
EmbeddedDataSource is Derby's DataSource implementation for JDBC3.0.
EmbeddedDataSource() - Constructor for class org.apache.derby.jdbc.EmbeddedDataSource
No-arg constructor.
EmbeddedDriver - Class in org.apache.derby.jdbc
The embedded JDBC driver (Type 4) for Derby.
EmbeddedDriver() - Constructor for class org.apache.derby.jdbc.EmbeddedDriver
 
EmbeddedSimpleDataSource - Class in org.apache.derby.jdbc
EmbeddedSimpleDataSource is Derby's DataSource implementation for J2ME/CDC/Foundation.
EmbeddedSimpleDataSource() - Constructor for class org.apache.derby.jdbc.EmbeddedSimpleDataSource
No-arg constructor.
EmbeddedXADataSource - Class in org.apache.derby.jdbc
EmbeddedXADataSource is Derby's XADataSource implementation for JDBC3.0.
EmbeddedXADataSource() - Constructor for class org.apache.derby.jdbc.EmbeddedXADataSource
no-arg constructor
ENCRYPTED_PASSWORD_SECURITY - Static variable in class org.apache.derby.jdbc.ClientBaseDataSource
 
ENCRYPTED_USER_AND_PASSWORD_SECURITY - Static variable in class org.apache.derby.jdbc.ClientBaseDataSource
 
equals(Object) - Method in class org.apache.derby.jdbc.EmbeddedDataSource
 
expandDoubleQuotes(String) - Static method in class org.apache.derby.tools.dblook
 

G

getArg(String, String[]) - Static method in class org.apache.derby.tools.ij
 
getAttributesAsPassword() - Method in class org.apache.derby.jdbc.EmbeddedDataSource
Return the value of the attributesAsPassword property.
getBuildNumber() - Static method in class org.apache.derby.tools.sysinfo
gets the build number for the Apache Derby embedded library
getBuildNumber(String) - Static method in class org.apache.derby.tools.sysinfo
gets the build number for the specified library
getClientSSLMode(Properties) - Static method in class org.apache.derby.jdbc.ClientBaseDataSource
 
getColNameFromNumber(String, int) - Static method in class org.apache.derby.tools.dblook
 
getColumnListFromDescription(String, String) - Static method in class org.apache.derby.tools.dblook
 
getConnection() - Method in class org.apache.derby.jdbc.ClientDataSource
Attempt to establish a database connection in a non-pooling, non-distributed environment.
getConnection(String, String) - Method in class org.apache.derby.jdbc.ClientDataSource
Attempt to establish a database connection in a non-pooling, non-distributed environment.
getConnection() - Method in class org.apache.derby.jdbc.EmbeddedDataSource
Attempt to establish a database connection.
getConnection(String, String) - Method in class org.apache.derby.jdbc.EmbeddedDataSource
Attempt to establish a database connection with the given username and password.
getConnection() - Method in class org.apache.derby.jdbc.EmbeddedSimpleDataSource
Attempt to establish a database connection.
getConnection(String, String) - Method in class org.apache.derby.jdbc.EmbeddedSimpleDataSource
Attempt to establish a database connection with the given username and password.
getConnectionAttributes() - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
getConnectionAttributes() - Method in class org.apache.derby.jdbc.EmbeddedDataSource
 
getConnectionAttributes() - Method in class org.apache.derby.jdbc.EmbeddedSimpleDataSource
 
getCreateDatabase() - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
getCreateDatabase() - Method in class org.apache.derby.jdbc.EmbeddedDataSource
 
getCreateDatabase() - Method in class org.apache.derby.jdbc.EmbeddedSimpleDataSource
 
getCurrentProperties() - Method in class org.apache.derby.drda.NetworkServerControl
Get current Network server properties
getDatabaseName() - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
getDatabaseName() - Method in class org.apache.derby.jdbc.EmbeddedSimpleDataSource
 
getDataSourceName() - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
getDataSourceName() - Method in class org.apache.derby.jdbc.EmbeddedSimpleDataSource
 
getDescription() - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
getDescription() - Method in class org.apache.derby.jdbc.EmbeddedSimpleDataSource
 
getFactory() - Static method in class org.apache.derby.jdbc.ClientDriver
This method returns an Implementation of ClientJDBCObjectFactory depending on VM under use Currently it returns either ClientJDBCObjectFactoryImpl (or) ClientJDBCObjectFactoryImpl40
getHtmlLabelledMessageInstance(LocalizedResource, String, String) - Method in class org.apache.derby.drda.NetServlet
get an HTML labelled message from the resource bundle file, according to the given key.
getInfo(PrintWriter) - Static method in class org.apache.derby.tools.sysinfo
 
getLoginTimeout() - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
getLoginTimeout() - Method in class org.apache.derby.jdbc.EmbeddedSimpleDataSource
Gets the maximum time in seconds that this data source can wait while attempting to connect to a database.
getLogWriter() - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
getLogWriter() - Method in class org.apache.derby.jdbc.EmbeddedSimpleDataSource
Get the log writer for this data source.
getMajorVersion() - Method in class org.apache.derby.jdbc.ClientDriver
 
getMajorVersion() - Method in class org.apache.derby.jdbc.EmbeddedDriver
Returns the driver's major version number.
getMajorVersion() - Static method in class org.apache.derby.tools.sysinfo
gets the major version of the Apache Derby embedded code.
getMajorVersion(String) - Static method in class org.apache.derby.tools.sysinfo
gets the major version of the specified code library.
getMaxThreads() - Method in class org.apache.derby.drda.NetworkServerControl
Returns the current maxThreads setting for the running Network Server
getMinorVersion() - Method in class org.apache.derby.jdbc.ClientDriver
 
getMinorVersion() - Method in class org.apache.derby.jdbc.EmbeddedDriver
Returns the driver's minor version number.
getMinorVersion() - Static method in class org.apache.derby.tools.sysinfo
gets the minor version of the Apache Derby embedded code.
getMinorVersion(String) - Static method in class org.apache.derby.tools.sysinfo
gets the minor version of the specified code library.
getPassword(Properties) - Static method in class org.apache.derby.jdbc.ClientBaseDataSource
 
getPassword() - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
getPassword() - Method in class org.apache.derby.jdbc.EmbeddedSimpleDataSource
 
getPooledConnection() - Method in class org.apache.derby.jdbc.ClientConnectionPoolDataSource
 
getPooledConnection(String, String) - Method in class org.apache.derby.jdbc.ClientConnectionPoolDataSource
 
getPooledConnection() - Method in class org.apache.derby.jdbc.EmbeddedConnectionPoolDataSource
Attempt to establish a database connection.
getPooledConnection(String, String) - Method in class org.apache.derby.jdbc.EmbeddedConnectionPoolDataSource
Attempt to establish a database connection.
getPortNumber() - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
getProductName() - Static method in class org.apache.derby.tools.sysinfo
gets the product name for the Apache Derby embedded library
getProductName(String) - Static method in class org.apache.derby.tools.sysinfo
gets the external name for the specified code library.
getPropertyArg(String[]) - Static method in class org.apache.derby.tools.ij
 
getPropertyInfo(String, Properties) - Method in class org.apache.derby.jdbc.ClientDriver
 
getPropertyInfo(String, Properties) - Method in class org.apache.derby.jdbc.EmbeddedDriver
Returns an array of DriverPropertyInfo objects describing possible properties.
getReference() - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
getRetrieveMessageText(Properties) - Static method in class org.apache.derby.jdbc.ClientBaseDataSource
 
getRetrieveMessageText() - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
getRuntimeInfo() - Method in class org.apache.derby.drda.NetworkServerControl
Return detailed session runtime information about sessions, prepared statements, and memory usage for the running Network Server.
getSecurityMechanism(Properties) - Static method in class org.apache.derby.jdbc.ClientBaseDataSource
Return security mechanism if it is set, else upgrade the security mechanism if possible and return the upgraded security mechanism
getSecurityMechanism() - Method in class org.apache.derby.jdbc.ClientBaseDataSource
Return the security mechanism.
getSecurityMechanism(String) - Method in class org.apache.derby.jdbc.ClientBaseDataSource
Return the security mechanism for this datasource object.
getServerName() - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
getShutdownDatabase() - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
getShutdownDatabase() - Method in class org.apache.derby.jdbc.EmbeddedDataSource
 
getShutdownDatabase() - Method in class org.apache.derby.jdbc.EmbeddedSimpleDataSource
 
getSsl() - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
getSSLModeFromString(String) - Static method in class org.apache.derby.jdbc.ClientBaseDataSource
 
getSysinfo() - Method in class org.apache.derby.drda.NetworkServerControl
Return classpath and version information about the running Network Server.
getTimeSlice() - Method in class org.apache.derby.drda.NetworkServerControl
Return the current timeSlice setting for the running Network Server
getTraceDirectory(Properties) - Static method in class org.apache.derby.jdbc.ClientBaseDataSource
Check if derby.client.traceDirectory is provided as a JVM property.
getTraceDirectory() - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
getTraceFile(Properties) - Static method in class org.apache.derby.jdbc.ClientBaseDataSource
 
getTraceFile() - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
getTraceFileAppend(Properties) - Static method in class org.apache.derby.jdbc.ClientBaseDataSource
 
getTraceFileAppend() - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
getTraceLevel(Properties) - Static method in class org.apache.derby.jdbc.ClientBaseDataSource
Check if derby.client.traceLevel is provided as a JVM property.
getTraceLevel() - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
getUpgradedSecurityMechanism(String) - Static method in class org.apache.derby.jdbc.ClientBaseDataSource
This method has logic to upgrade security mechanism to a better (more secure) one if it is possible.
getUser(Properties) - Static method in class org.apache.derby.jdbc.ClientBaseDataSource
 
getUser() - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
getUser() - Method in class org.apache.derby.jdbc.EmbeddedSimpleDataSource
 
getVersionString() - Static method in class org.apache.derby.tools.sysinfo
Return the version information string for the specified library including alpha or beta indicators.
getVersionString(String) - Static method in class org.apache.derby.tools.sysinfo
Return the version information string for the Apache Derby embedded library including alpha or beta indicators.
getXAConnection() - Method in class org.apache.derby.jdbc.ClientXADataSource
 
getXAConnection(String, String) - Method in class org.apache.derby.jdbc.ClientXADataSource
 
getXAConnection() - Method in class org.apache.derby.jdbc.EmbeddedXADataSource
Attempt to establish a database connection.
getXAConnection(String, String) - Method in class org.apache.derby.jdbc.EmbeddedXADataSource
Attempt to establish a database connection with the given user name and password.

I

ij - Class in org.apache.derby.tools
ij is Derby's interactive JDBC scripting tool.
init(ServletConfig) - Method in class org.apache.derby.drda.NetServlet
Initialize the servlet.
isExcludedTable(String) - Static method in class org.apache.derby.tools.dblook
 
isIgnorableSchema(String) - Static method in class org.apache.derby.tools.dblook
 

J

jdbcCompliant() - Method in class org.apache.derby.jdbc.ClientDriver
 
jdbcCompliant() - Method in class org.apache.derby.jdbc.EmbeddedDriver
Report whether the Driver is a genuine JDBC COMPLIANT (tm) driver.

L

logConnections(boolean) - Method in class org.apache.derby.drda.NetworkServerControl
Turn logging connections on or off.
lookupMessage(String) - Static method in class org.apache.derby.tools.dblook
 
lookupMessage(String, String[]) - Static method in class org.apache.derby.tools.dblook
 
lookupSchemaId(String) - Static method in class org.apache.derby.tools.dblook
 
lookupTableId(String) - Static method in class org.apache.derby.tools.dblook
 

M

main(String[]) - Static method in class org.apache.derby.drda.NetworkServerControl
main routine for NetworkServerControl
main(String[]) - Static method in class org.apache.derby.tools.dblook
 
main(String[]) - Static method in class org.apache.derby.tools.ij
 
main(String[]) - Static method in class org.apache.derby.tools.sysinfo
 

N

NET - Static variable in class org.apache.derby.tools.sysinfo
The genus name for the network server code.
NetServlet - Class in org.apache.derby.drda
This servlet can be used to start Derby Network Server from a remote location.
NetServlet() - Constructor for class org.apache.derby.drda.NetServlet
 
NetworkServerControl - Class in org.apache.derby.drda
NetworkServerControl provides the ability to start a Network Server or connect to a running Network Server to shutdown, configure or retreive diagnostic information.
NetworkServerControl(InetAddress, int) - Constructor for class org.apache.derby.drda.NetworkServerControl
Creates a NetworkServerControl object that is configured to control a Network Server on a specified port and InetAddress.
NetworkServerControl() - Constructor for class org.apache.derby.drda.NetworkServerControl
Creates a NetworkServerControl object that is configured to control a Network Server on the default host(localhost) and the default port(1527) unless derby.drda.portNumber and derby.drda.host are set.

O

org.apache.derby.authentication - package org.apache.derby.authentication
 
org.apache.derby.drda - package org.apache.derby.drda
 
org.apache.derby.jdbc - package org.apache.derby.jdbc
JDBC driver and data source implementations.
org.apache.derby.tools - package org.apache.derby.tools
 

P

ping() - Method in class org.apache.derby.drda.NetworkServerControl
Check if Network Server is started Excecutes and returns without error if the server has started
propertyDefault_portNumber - Static variable in class org.apache.derby.jdbc.ClientBaseDataSource
 
propertyDefault_retrieveMessageText - Static variable in class org.apache.derby.jdbc.ClientBaseDataSource
 
propertyDefault_securityMechanism - Static variable in class org.apache.derby.jdbc.ClientBaseDataSource
 
propertyDefault_serverName - Static variable in class org.apache.derby.jdbc.ClientBaseDataSource
 
propertyDefault_traceFileAppend - Static variable in class org.apache.derby.jdbc.ClientBaseDataSource
 
propertyDefault_traceLevel - Static variable in class org.apache.derby.jdbc.ClientBaseDataSource
 
propertyDefault_user - Static variable in class org.apache.derby.jdbc.ClientBaseDataSource
 

R

removeNewlines(String) - Static method in class org.apache.derby.tools.dblook
 
runScript(Connection, InputStream, String, OutputStream, String) - Static method in class org.apache.derby.tools.ij
Run a SQL script from an InputStream and write the resulting output to the provided PrintStream.

S

securityMechanism - Variable in class org.apache.derby.jdbc.ClientBaseDataSource
 
setAttributesAsPassword(boolean) - Method in class org.apache.derby.jdbc.EmbeddedDataSource
Set attributeAsPassword property to enable passing connection request attributes in the password argument of getConnection.
setClientLocale(String) - Method in class org.apache.derby.drda.NetworkServerControl
set the client locale.
setConnectionAttributes(String) - Method in class org.apache.derby.jdbc.ClientBaseDataSource
Set this property to pass in more Derby specific connection URL attributes.
setConnectionAttributes(String) - Method in class org.apache.derby.jdbc.EmbeddedDataSource
Set this property to pass in more Derby specific connection URL attributes.
setConnectionAttributes(String) - Method in class org.apache.derby.jdbc.EmbeddedSimpleDataSource
Set this property to pass in more Derby specific connection URL attributes.
setCreateDatabase(String) - Method in class org.apache.derby.jdbc.ClientBaseDataSource
Set this property to create a new database.
setCreateDatabase(String) - Method in class org.apache.derby.jdbc.EmbeddedDataSource
Set this property to create a new database.
setCreateDatabase(String) - Method in class org.apache.derby.jdbc.EmbeddedSimpleDataSource
Set this property to create a new database.
setDatabaseName(String) - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
setDatabaseName(String) - Method in class org.apache.derby.jdbc.EmbeddedSimpleDataSource
Set the database name.
setDataSourceName(String) - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
setDataSourceName(String) - Method in class org.apache.derby.jdbc.EmbeddedSimpleDataSource
Set the data source name.
setDescription(String) - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
setDescription(String) - Method in class org.apache.derby.jdbc.EmbeddedSimpleDataSource
Set the data source descripton.
setLoginTimeout(int) - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
setLoginTimeout(int) - Method in class org.apache.derby.jdbc.EmbeddedSimpleDataSource
Sets the maximum time in seconds that this data source will wait while attempting to connect to a database.
setLogWriter(PrintWriter) - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
setLogWriter(PrintWriter) - Method in class org.apache.derby.jdbc.EmbeddedSimpleDataSource
Set the log writer for this data source.
setMaxThreads(int) - Method in class org.apache.derby.drda.NetworkServerControl
Set Network Server maxthread parameter.
setPassword(String) - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
setPassword(String) - Method in class org.apache.derby.jdbc.EmbeddedSimpleDataSource
Set the password property for the data source.
setPortNumber(int) - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
setRetrieveMessageText(boolean) - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
setSecurityMechanism(short) - Method in class org.apache.derby.jdbc.ClientBaseDataSource
Sets the security mechanism.
setServerName(String) - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
setShutdownDatabase(String) - Method in class org.apache.derby.jdbc.ClientBaseDataSource
Set this property if one wishes to shutdown the database identified by databaseName.
setShutdownDatabase(String) - Method in class org.apache.derby.jdbc.EmbeddedDataSource
Set this property if one wishes to shutdown the database identified by databaseName.
setShutdownDatabase(String) - Method in class org.apache.derby.jdbc.EmbeddedSimpleDataSource
Set this property if one wishes to shutdown the database identified by databaseName.
setSsl(String) - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
setSsl(int) - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
setTimeSlice(int) - Method in class org.apache.derby.drda.NetworkServerControl
Set Network Server connection time slice parameter.
setTraceDirectory(String) - Method in class org.apache.derby.drda.NetworkServerControl
Set directory for trace files.
setTraceDirectory(String) - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
setTraceFile(String) - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
setTraceFileAppend(boolean) - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
setTraceLevel(int) - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
setUser(String) - Method in class org.apache.derby.jdbc.ClientBaseDataSource
 
setUser(String) - Method in class org.apache.derby.jdbc.EmbeddedSimpleDataSource
Set the user property for the data source.
shutdown() - Method in class org.apache.derby.drda.NetworkServerControl
Shutdown a Network Server.
SSL_BASIC - Static variable in class org.apache.derby.jdbc.ClientBaseDataSource
 
SSL_OFF - Static variable in class org.apache.derby.jdbc.ClientBaseDataSource
 
SSL_PEER_AUTHENTICATION - Static variable in class org.apache.derby.jdbc.ClientBaseDataSource
 
start(PrintWriter) - Method in class org.apache.derby.drda.NetworkServerControl
Start a Network Server This method will launch a separate thread and start Network Server.
startJBMS() - Static method in class org.apache.derby.tools.ij
 
stringContainsTargetTable(String) - Static method in class org.apache.derby.tools.dblook
 
stripQuotes(String) - Static method in class org.apache.derby.tools.dblook
 
STRONG_PASSWORD_SUBSTITUTE_SECURITY - Static variable in class org.apache.derby.jdbc.ClientBaseDataSource
 
sysinfo - Class in org.apache.derby.tools
This class displays system information to system out.

T

TOOLS - Static variable in class org.apache.derby.tools.sysinfo
The genus name for the tools code.
trace(boolean) - Method in class org.apache.derby.drda.NetworkServerControl
Turn tracing on or off for the specified connection on the Network Server.
trace(int, boolean) - Method in class org.apache.derby.drda.NetworkServerControl
Turn tracing on or off for all connections on the Network Server.
TRACE_ALL - Static variable in class org.apache.derby.jdbc.ClientBaseDataSource
 
TRACE_CONNECTION_CALLS - Static variable in class org.apache.derby.jdbc.ClientBaseDataSource
 
TRACE_CONNECTS - Static variable in class org.apache.derby.jdbc.ClientBaseDataSource
 
TRACE_DIAGNOSTICS - Static variable in class org.apache.derby.jdbc.ClientBaseDataSource
 
TRACE_DRIVER_CONFIGURATION - Static variable in class org.apache.derby.jdbc.ClientBaseDataSource
 
TRACE_NONE - Static variable in class org.apache.derby.jdbc.ClientBaseDataSource
 
TRACE_PARAMETER_META_DATA - Static variable in class org.apache.derby.jdbc.ClientBaseDataSource
 
TRACE_PROTOCOL_FLOWS - Static variable in class org.apache.derby.jdbc.ClientBaseDataSource
 
TRACE_RESULT_SET_CALLS - Static variable in class org.apache.derby.jdbc.ClientBaseDataSource
 
TRACE_RESULT_SET_META_DATA - Static variable in class org.apache.derby.jdbc.ClientBaseDataSource
 
TRACE_STATEMENT_CALLS - Static variable in class org.apache.derby.jdbc.ClientBaseDataSource
 
TRACE_XA_CALLS - Static variable in class org.apache.derby.jdbc.ClientBaseDataSource
 
traceLevel - Variable in class org.apache.derby.jdbc.ClientBaseDataSource
 

U

USER_ONLY_SECURITY - Static variable in class org.apache.derby.jdbc.ClientBaseDataSource
The source security mechanism to use when connecting to this data source.
UserAuthenticator - Interface in org.apache.derby.authentication
The UserAuthenticator interface provides operations to authenticate a user's credentials in order to successfully connect to a database.

W

writeVerboseOutput(String, String) - Static method in class org.apache.derby.tools.dblook
 

A C D E G I J L M N O P R S T U W
Built on Wed 2007-11-28 11:45:21-0800, from revision 599110

Apache Derby 10.3 API Documentation - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved. sun-javadb-10.3.2.1/javadoc/jdbc3/allclasses-noframe.html0000644041506200017500000000514310723243310022370 0ustar lh136778clustra All Classes (Apache Derby 10.3 API Documentation) All Classes
ClientBaseDataSource
ClientConnectionPoolDataSource
ClientDataSource
ClientDriver
ClientXADataSource
dblook
EmbeddedConnectionPoolDataSource
EmbeddedDataSource
EmbeddedDriver
EmbeddedSimpleDataSource
EmbeddedXADataSource
ij
NetServlet
NetworkServerControl
sysinfo
UserAuthenticator
sun-javadb-10.3.2.1/javadoc/jdbc3/help-doc.html0000644041506200017500000002236310723243310020313 0ustar lh136778clustra API Help (Apache Derby 10.3 API Documentation)

How This API Document Is Organized

This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.

Overview

The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

Package

Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

Class/Interface

Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

Annotation Type

Each annotation type has its own separate page with the following sections:

Enum

Each enum has its own separate page with the following sections:

Tree (Class Hierarchy)

There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

Deprecated API

The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

Index

The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

Prev/Next

These links take you to the next or previous class, interface, package, or related page.

Frames/No Frames

These links show and hide the HTML frames. All pages are available with or without frames.

Serialized Form

Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

Constant Field Values

The Constant Field Values page lists the static final fields and their values.

This help file applies to API documentation generated using the standard doclet.


Built on Wed 2007-11-28 11:45:21-0800, from revision 599110

Apache Derby 10.3 API Documentation - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved. sun-javadb-10.3.2.1/javadoc/jdbc3/resources/0000755041506200017500000000000010723243310017736 5ustar lh136778clustrasun-javadb-10.3.2.1/javadoc/jdbc3/resources/inherit.gif0000644041506200017500000000007110723243310022065 0ustar lh136778clustraGIF89a€ÿÿÿ,„ ¡½®DršjñÔ;߀Q@–¦…N;sun-javadb-10.3.2.1/javadoc/jdbc3/stylesheet.css0000644041506200017500000000261410723243310020632 0ustar lh136778clustra/* Javadoc style sheet */ /* Define colors, fonts and other style attributes here to override the defaults */ /* Page background color */ body { background-color: #FFFFFF; color:#000000 } /* Headings */ h1 { font-size: 145% } /* Table colors */ .TableHeadingColor { background: #CCCCFF; color:#000000 } /* Dark mauve */ .TableSubHeadingColor { background: #EEEEFF; color:#000000 } /* Light mauve */ .TableRowColor { background: #FFFFFF; color:#000000 } /* White */ /* Font used in left-hand frame lists */ .FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif; color:#000000 } .FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } .FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } /* Navigation bar fonts and colors */ .NavBarCell1 { background-color:#EEEEFF; color:#000000} /* Light mauve */ .NavBarCell1Rev { background-color:#00008B; color:#FFFFFF} /* Dark Blue */ .NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;color:#000000;} .NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;color:#FFFFFF;} .NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} .NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} sun-javadb-10.3.2.1/javadoc/jdbc3/overview-frame.html0000644041506200017500000000272010723243310021551 0ustar lh136778clustra Overview List (Apache Derby 10.3 API Documentation)
All Classes

Packages
org.apache.derby.authentication
org.apache.derby.drda
org.apache.derby.jdbc
org.apache.derby.tools

  sun-javadb-10.3.2.1/javadoc/jdbc3/org/0000755041506200017500000000000010723243306016520 5ustar lh136778clustrasun-javadb-10.3.2.1/javadoc/jdbc3/org/apache/0000755041506200017500000000000010723243306017741 5ustar lh136778clustrasun-javadb-10.3.2.1/javadoc/jdbc3/org/apache/derby/0000755041506200017500000000000010723243306021046 5ustar lh136778clustrasun-javadb-10.3.2.1/javadoc/jdbc3/org/apache/derby/tools/0000755041506200017500000000000010723243310022201 5ustar lh136778clustrasun-javadb-10.3.2.1/javadoc/jdbc3/org/apache/derby/tools/dblook.html0000644041506200017500000004762310723243306024362 0ustar lh136778clustra dblook (Apache Derby 10.3 API Documentation)



org.apache.derby.tools
Class dblook

java.lang.Object
  extended by org.apache.derby.tools.dblook

public final class dblook
extends java.lang.Object


Constructor Summary
dblook(java.lang.String[] args)
           
 
Method Summary
static java.lang.String addQuotes(java.lang.String name)
           
static java.lang.String addSingleQuotes(java.lang.String name)
           
static java.lang.String expandDoubleQuotes(java.lang.String name)
           
static java.lang.String getColNameFromNumber(java.lang.String tableId, int colNum)
           
static java.lang.String getColumnListFromDescription(java.lang.String tableId, java.lang.String description)
           
static boolean isExcludedTable(java.lang.String tableName)
           
static boolean isIgnorableSchema(java.lang.String schemaName)
           
static java.lang.String lookupMessage(java.lang.String key)
           
static java.lang.String lookupMessage(java.lang.String key, java.lang.String[] vals)
           
static java.lang.String lookupSchemaId(java.lang.String schemaId)
           
static java.lang.String lookupTableId(java.lang.String tableId)
           
static void main(java.lang.String[] args)
           
static java.lang.String removeNewlines(java.lang.String str)
           
static boolean stringContainsTargetTable(java.lang.String str)
           
static java.lang.String stripQuotes(java.lang.String quotedName)
           
static void writeVerboseOutput(java.lang.String key, java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

dblook

public dblook(java.lang.String[] args)
       throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

main

public static void main(java.lang.String[] args)

getColumnListFromDescription

public static java.lang.String getColumnListFromDescription(java.lang.String tableId,
                                                            java.lang.String description)
                                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

getColNameFromNumber

public static java.lang.String getColNameFromNumber(java.lang.String tableId,
                                                    int colNum)
                                             throws java.sql.SQLException
Throws:
java.sql.SQLException

addQuotes

public static java.lang.String addQuotes(java.lang.String name)

addSingleQuotes

public static java.lang.String addSingleQuotes(java.lang.String name)

stripQuotes

public static java.lang.String stripQuotes(java.lang.String quotedName)

isExcludedTable

public static boolean isExcludedTable(java.lang.String tableName)

isIgnorableSchema

public static boolean isIgnorableSchema(java.lang.String schemaName)

stringContainsTargetTable

public static boolean stringContainsTargetTable(java.lang.String str)

expandDoubleQuotes

public static java.lang.String expandDoubleQuotes(java.lang.String name)

lookupSchemaId

public static java.lang.String lookupSchemaId(java.lang.String schemaId)

lookupTableId

public static java.lang.String lookupTableId(java.lang.String tableId)

writeVerboseOutput

public static void writeVerboseOutput(java.lang.String key,
                                      java.lang.String value)

lookupMessage

public static java.lang.String lookupMessage(java.lang.String key)

lookupMessage

public static java.lang.String lookupMessage(java.lang.String key,
                                             java.lang.String[] vals)

removeNewlines

public static java.lang.String removeNewlines(java.lang.String str)

Built on Wed 2007-11-28 11:45:21-0800, from revision 599110

Apache Derby 10.3 API Documentation - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved. sun-javadb-10.3.2.1/javadoc/jdbc3/org/apache/derby/tools/sysinfo.html0000644041506200017500000005337010723243306024576 0ustar lh136778clustra sysinfo (Apache Derby 10.3 API Documentation)

org.apache.derby.tools
Class sysinfo

java.lang.Object
  extended by org.apache.derby.tools.sysinfo

public class sysinfo
extends java.lang.Object

This class displays system information to system out. To run from the command-line, enter the following:

java org.apache.derby.tools.sysinfo

Also available on this class are methods which allow you to determine the version of the code for the system without actually booting a database. Please note that this is the Derby version of the .jar files, not of your databases.

The numbering scheme for released Derby products is m1.m2.m3 where m1 is the major release version, m2 is the minor release version, and m3 is the maintenance level. Versions of the product with the same major and minor version numbers are considered feature compatible.

Valid major and minor versions are always greater than zero. Valid maintenance versions are greater than or equal to zero.


Field Summary
static java.lang.String CLIENT
          The genus name for the client code.
static java.lang.String DBMS
          The genus name for the Apache Derby code.
static java.lang.String NET
          The genus name for the network server code.
static java.lang.String TOOLS
          The genus name for the tools code.
 
Method Summary
static java.lang.String getBuildNumber()
          gets the build number for the Apache Derby embedded library
static java.lang.String getBuildNumber(java.lang.String genus)
          gets the build number for the specified library
static void getInfo(java.io.PrintWriter out)
           
static int getMajorVersion()
          gets the major version of the Apache Derby embedded code.
static int getMajorVersion(java.lang.String genus)
          gets the major version of the specified code library.
static int getMinorVersion()
          gets the minor version of the Apache Derby embedded code.
static int getMinorVersion(java.lang.String genus)
          gets the minor version of the specified code library.
static java.lang.String getProductName()
          gets the product name for the Apache Derby embedded library
static java.lang.String getProductName(java.lang.String genus)
          gets the external name for the specified code library.
static java.lang.String getVersionString()
          Return the version information string for the specified library including alpha or beta indicators.
static java.lang.String getVersionString(java.lang.String genus)
          Return the version information string for the Apache Derby embedded library including alpha or beta indicators.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DBMS

public static final java.lang.String DBMS
The genus name for the Apache Derby code. Use this to determine the version of the Apache Derby embedded code in derby.jar.

See Also:
Constant Field Values

TOOLS

public static final java.lang.String TOOLS
The genus name for the tools code. Use this to determine the version of code in derbytools.jar

See Also:
Constant Field Values

NET

public static final java.lang.String NET
The genus name for the network server code. Use this to determine the version of code in derbynet.jar

See Also:
Constant Field Values

CLIENT

public static final java.lang.String CLIENT
The genus name for the client code. Use this to determine the version of code in derbyclient.jar

See Also:
Constant Field Values
Method Detail

main

public static void main(java.lang.String[] args)

getMajorVersion

public static int getMajorVersion()
gets the major version of the Apache Derby embedded code.

Returns:
the major version. Returns -1 if not found.

getMajorVersion

public static int getMajorVersion(java.lang.String genus)
gets the major version of the specified code library.

Parameters:
genus - which library to get the version of. Valid inputs include DBMS, TOOLS, NET, CLIENT
Returns:
the major version. Return -1 if the information is not found.

getMinorVersion

public static int getMinorVersion()
gets the minor version of the Apache Derby embedded code.

Returns:
the minor version. Returns -1 if not found.

getMinorVersion

public static int getMinorVersion(java.lang.String genus)
gets the minor version of the specified code library.

Parameters:
genus - which library to get the version of. Valid inputs include DBMS, TOOLS, NET, CLIENT.
Returns:
the minor version. Return -1 if the information is not found.

getBuildNumber

public static java.lang.String getBuildNumber()
gets the build number for the Apache Derby embedded library

Returns:
the build number, or -1 if the information is not found.

getBuildNumber

public static java.lang.String getBuildNumber(java.lang.String genus)
gets the build number for the specified library

Parameters:
genus - which library to get the build number for. Valid inputs are DBMS, TOOLS, NET, CLIENT.
Returns:
the build number, or ???? if the information is not found.

getProductName

public static java.lang.String getProductName()
gets the product name for the Apache Derby embedded library

Returns:
the name

getProductName

public static java.lang.String getProductName(java.lang.String genus)
gets the external name for the specified code library.

Parameters:
genus - which library to get the name for
Returns:
the name.

getVersionString

public static java.lang.String getVersionString()
Return the version information string for the specified library including alpha or beta indicators.


getVersionString

public static java.lang.String getVersionString(java.lang.String genus)
Return the version information string for the Apache Derby embedded library including alpha or beta indicators.


getInfo

public static void getInfo(java.io.PrintWriter out)

Built on Wed 2007-11-28 11:45:21-0800, from revision 599110

Apache Derby 10.3 API Documentation - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved. sun-javadb-10.3.2.1/javadoc/jdbc3/org/apache/derby/tools/package-summary.html0000644041506200017500000001503010723243310026154 0ustar lh136778clustra org.apache.derby.tools (Apache Derby 10.3 API Documentation)

Package org.apache.derby.tools

Class Summary
dblook  
ij ij is Derby's interactive JDBC scripting tool.
sysinfo This class displays system information to system out.
 


Built on Wed 2007-11-28 11:45:21-0800, from revision 599110

Apache Derby 10.3 API Documentation - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved. sun-javadb-10.3.2.1/javadoc/jdbc3/org/apache/derby/tools/ij.html0000644041506200017500000003312110723243306023476 0ustar lh136778clustra ij (Apache Derby 10.3 API Documentation)

org.apache.derby.tools
Class ij

java.lang.Object
  extended by org.apache.derby.tools.ij

public class ij
extends java.lang.Object

ij is Derby's interactive JDBC scripting tool. It is a simple utility for running scripts against a Derby database. You can also use it interactively to run ad hoc queries. ij provides several commands for ease in accessing a variety of JDBC features.

To run from the command line enter the following:

java [options] org.apache.derby.tools.ij [arguments]

ij is can also be used with any database server that supports a JDBC driver.


Method Summary
static java.lang.String getArg(java.lang.String param, java.lang.String[] args)
           
static void getPropertyArg(java.lang.String[] args)
           
static void main(java.lang.String[] args)
           
static int runScript(java.sql.Connection conn, java.io.InputStream sqlIn, java.lang.String inputEncoding, java.io.OutputStream sqlOut, java.lang.String outputEncoding)
          Run a SQL script from an InputStream and write the resulting output to the provided PrintStream.
static java.sql.Connection startJBMS()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Throws:
java.io.IOException - thrown if cannot access input or output files.

runScript

public static int runScript(java.sql.Connection conn,
                            java.io.InputStream sqlIn,
                            java.lang.String inputEncoding,
                            java.io.OutputStream sqlOut,
                            java.lang.String outputEncoding)
                     throws java.io.UnsupportedEncodingException
Run a SQL script from an InputStream and write the resulting output to the provided PrintStream. SQL commands are separated by a semi-colon ';' character.

Parameters:
conn - Connection to be used as the script's default connection.
sqlIn - InputStream for the script.
inputEncoding - Encoding of the script.
sqlOut - OutputStream for the script's output
outputEncoding - Output encoding to use.
Returns:
Number of SQLExceptions thrown during the execution, -1 if not known.
Throws:
java.io.UnsupportedEncodingException

getArg

public static java.lang.String getArg(java.lang.String param,
                                      java.lang.String[] args)

getPropertyArg

public static void getPropertyArg(java.lang.String[] args)
                           throws java.io.IOException
Throws:
java.io.IOException

startJBMS

public static java.sql.Connection startJBMS()
                                     throws java.sql.SQLException,
                                            java.lang.IllegalAccessException,
                                            java.lang.ClassNotFoundException,
                                            java.lang.InstantiationException
Throws:
java.sql.SQLException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException
java.lang.InstantiationException

Built on Wed 2007-11-28 11:45:21-0800, from revision 599110

Apache Derby 10.3 API Documentation - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved. sun-javadb-10.3.2.1/javadoc/jdbc3/org/apache/derby/tools/package-tree.html0000644041506200017500000001441510723243310025424 0ustar lh136778clustra org.apache.derby.tools Class Hierarchy (Apache Derby 10.3 API Documentation)

Hierarchy For Package org.apache.derby.tools

Package Hierarchies:
All Packages

Class Hierarchy


Built on Wed 2007-11-28 11:45:21-0800, from revision 599110

Apache Derby 10.3 API Documentation - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved. sun-javadb-10.3.2.1/javadoc/jdbc3/org/apache/derby/tools/package-frame.html0000644041506200017500000000215610723243310025556 0ustar lh136778clustra org.apache.derby.tools (Apache Derby 10.3 API Documentation) org.apache.derby.tools
Classes 
dblook
ij
sysinfo
sun-javadb-10.3.2.1/javadoc/jdbc3/org/apache/derby/authentication/0000755041506200017500000000000010723243310024060 5ustar lh136778clustrasun-javadb-10.3.2.1/javadoc/jdbc3/org/apache/derby/authentication/package-summary.html0000644041506200017500000001441510723243310030041 0ustar lh136778clustra org.apache.derby.authentication (Apache Derby 10.3 API Documentation)

Package org.apache.derby.authentication

Interface Summary
UserAuthenticator The UserAuthenticator interface provides operations to authenticate a user's credentials in order to successfully connect to a database.
 


Built on Wed 2007-11-28 11:45:21-0800, from revision 599110

Apache Derby 10.3 API Documentation - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved. sun-javadb-10.3.2.1/javadoc/jdbc3/org/apache/derby/authentication/package-tree.html0000644041506200017500000001402410723243310027277 0ustar lh136778clustra org.apache.derby.authentication Class Hierarchy (Apache Derby 10.3 API Documentation)

Hierarchy For Package org.apache.derby.authentication

Package Hierarchies:
All Packages

Interface Hierarchy


Built on Wed 2007-11-28 11:45:21-0800, from revision 599110

Apache Derby 10.3 API Documentation - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved. sun-javadb-10.3.2.1/javadoc/jdbc3/org/apache/derby/authentication/UserAuthenticator.html0000644041506200017500000002655310723243306030437 0ustar lh136778clustra UserAuthenticator (Apache Derby 10.3 API Documentation)

org.apache.derby.authentication
Interface UserAuthenticator


public interface UserAuthenticator

The UserAuthenticator interface provides operations to authenticate a user's credentials in order to successfully connect to a database. Any user authentication schemes could be implemented using this interface and registered at start-up time.

If an application requires its own authentication scheme, then it can implement this interface and register as the authentication scheme that Derby should call upon connection requests to the system. See the dcoumentation for the property derby.authentication.provider

A typical example would be to implement user authentication using LDAP, Sun NIS+, or even Windows User Domain, using this interface.

Note: Additional connection attributes can be specified on the database connection URL and/or Properties object on jdbc connection. Values for these attributes can be retrieved at runtime by the (specialized) authentication scheme to further help user authentication, if one needs additional info other than user, password, and database name.


Method Summary
 boolean authenticateUser(java.lang.String userName, java.lang.String userPassword, java.lang.String databaseName, java.util.Properties info)
          Authenticate a user's credentials.
 

Method Detail

authenticateUser

boolean authenticateUser(java.lang.String userName,
                         java.lang.String userPassword,
                         java.lang.String databaseName,
                         java.util.Properties info)
                         throws java.sql.SQLException
Authenticate a user's credentials.
E.g. if connection url is jdbc:derby:testdb;user=Fred;password=ScT7dmM2 then the userName will be Fred and within the Derby user authorization system, Fred becomes a case-insensitive authorization identifier and is known as FRED
if connection url is jdbc:derby:testdb;user="Fred";password=ScT7dmM2 then the userName will be "Fred" and within the Derby user authorization system, Fred becomes a case-sensitive authorization identifier and is known as Fred

Parameters:
userName - The user's name for the connection request. May be null. The user name is passed in as is from the connection request. Derby will pass in the user name that is set on connection request as is, without changing the casing and without removing the delimiter quotes if any.
userPassword - The user's password for the connection request. May be null.
databaseName - The database that the user wants to connect to. Will be null if this is system level authentication.
info - A Properties object that contains additional connection information, that can help to authenticate the user. It has properties of the 'info' object passed as part of DriverManager.getConnection() call and any attributes set on the JDBC URL.
Returns:
false if the connection request should be denied, true if the connection request should proceed. If false is returned the connection attempt will receive a SQLException with SQL State 08004.
Throws:
java.sql.SQLException - An exception processing the request, connection request will be denied. The SQL exception will be returned to the connection attempt.

Built on Wed 2007-11-28 11:45:21-0800, from revision 599110

Apache Derby 10.3 API Documentation - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved. sun-javadb-10.3.2.1/javadoc/jdbc3/org/apache/derby/authentication/package-frame.html0000644041506200017500000000176410723243310027441 0ustar lh136778clustra org.apache.derby.authentication (Apache Derby 10.3 API Documentation) org.apache.derby.authentication
Interfaces 
UserAuthenticator
sun-javadb-10.3.2.1/javadoc/jdbc3/org/apache/derby/drda/0000755041506200017500000000000010723243310021753 5ustar lh136778clustrasun-javadb-10.3.2.1/javadoc/jdbc3/org/apache/derby/drda/package-summary.html0000644041506200017500000001527210723243310025736 0ustar lh136778clustra org.apache.derby.drda (Apache Derby 10.3 API Documentation)

Package org.apache.derby.drda

Class Summary
NetServlet This servlet can be used to start Derby Network Server from a remote location.
NetworkServerControl NetworkServerControl provides the ability to start a Network Server or connect to a running Network Server to shutdown, configure or retreive diagnostic information.
 


Built on Wed 2007-11-28 11:45:21-0800, from revision 599110

Apache Derby 10.3 API Documentation - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved. sun-javadb-10.3.2.1/javadoc/jdbc3/org/apache/derby/drda/package-tree.html0000644041506200017500000001505310723243310025175 0ustar lh136778clustra org.apache.derby.drda Class Hierarchy (Apache Derby 10.3 API Documentation)

Hierarchy For Package org.apache.derby.drda

Package Hierarchies:
All Packages

Class Hierarchy


Built on Wed 2007-11-28 11:45:21-0800, from revision 599110

Apache Derby 10.3 API Documentation - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved. sun-javadb-10.3.2.1/javadoc/jdbc3/org/apache/derby/drda/NetServlet.html0000644041506200017500000004017610723243306024751 0ustar lh136778clustra NetServlet (Apache Derby 10.3 API Documentation)

org.apache.derby.drda
Class NetServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.derby.drda.NetServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class NetServlet
extends javax.servlet.http.HttpServlet

This servlet can be used to start Derby Network Server from a remote location.

These servlet configuration parameters are understood by this servlet.

See Also:
Serialized Form

Constructor Summary
NetServlet()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Get the form of NetServlet.
 void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Get the form of NetServlet.
 java.lang.String getHtmlLabelledMessageInstance(org.apache.derby.iapi.tools.i18n.LocalizedResource localUtil, java.lang.String key, java.lang.String id)
          get an HTML labelled message from the resource bundle file, according to the given key.
 void init(javax.servlet.ServletConfig config)
          Initialize the servlet.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetServlet

public NetServlet()
Method Detail

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Initialize the servlet. Configuration parameters:

Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws javax.servlet.ServletException,
                  java.io.IOException
Get the form of NetServlet. Provides buttons and forms to control the Network server.

Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException

doPost

public void doPost(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
            throws javax.servlet.ServletException,
                   java.io.IOException
Get the form of NetServlet. Provides a buttons and form to control the Network server

Overrides:
doPost in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException

getHtmlLabelledMessageInstance

public java.lang.String getHtmlLabelledMessageInstance(org.apache.derby.iapi.tools.i18n.LocalizedResource localUtil,
                                                       java.lang.String key,
                                                       java.lang.String id)
get an HTML labelled message from the resource bundle file, according to the given key.


Built on Wed 2007-11-28 11:45:21-0800, from revision 599110

Apache Derby 10.3 API Documentation - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved. sun-javadb-10.3.2.1/javadoc/jdbc3/org/apache/derby/drda/NetworkServerControl.html0000644041506200017500000010505010723243306027030 0ustar lh136778clustra NetworkServerControl (Apache Derby 10.3 API Documentation)

org.apache.derby.drda
Class NetworkServerControl

java.lang.Object
  extended by org.apache.derby.drda.NetworkServerControl

public class NetworkServerControl
extends java.lang.Object

NetworkServerControl provides the ability to start a Network Server or connect to a running Network Server to shutdown, configure or retreive diagnostic information. With the exception of ping, these commands can only be performed from the machine on which the server is running. Commands can be performed from the command line with the following arguments:

Properties can be set in the derby.properties file or on the command line. Properties on the command line take precedence over properties in the derby.properties file. Arguments on the command line take precedence over properties. The following is a list of properties that can be set for NetworkServerControl: