Java DB

Apache Derby

Derby Tools and Utilities Guide

Derby Getting Started
Derby Reference Manual
Derby Developer's Guide
Derby Performance Tuning
Derby Server and Admin Guide
Derby Tools and Utilities
Derby Tools and Utilities
-Copyright
-License
-About this guide
-What are the Derby tools and utilities?
-Using ij
-ij properties reference
-ij commands and errors reference
-ij commands
-Absolute command
-After Last command
-Async command
-Autocommit command
-Before First command
-Close command
-Commit command
-Connect command
-Describe command
-Disconnect command
-Driver command
-Elapsedtime command
-Execute command
-Exit command
-First command
-Get Cursor command
-Get Scroll Insensitive Cursor command
-Help command
-Last command
-LocalizedDisplay command
-MaximumDisplayWidth command
-Next command
-Prepare command
-Previous command
-Protocol command
-Readonly command
-Relative command
-Remove command
-Rollback command
-Run command
-Set Connection command
-Show command
-Wait For command
-Syntax for comments in ij commands
-Syntax for identifiers in ij commands
-Syntax for strings in ij commands
-ij errors
-Using the bulk import and export procedures
-Storing jar files in a database
-sysinfo
-dblook
-SignatureChecker
-Trademarks

 

ij.showNoConnectionsAtStart property

Function

The ij.showNoConnectionsAtStart property specifies whether the connections message should be displayed when ij is started. Default is false, that is, a message indicating the current connections, if any, is displayed.

Syntax

ij.showNoConnectionsAtStart={ false | true }

Example

In the following example, ij connects to a previously created database named sample using an EmbeddedDataSource. The property ij.showNoConnectionsAtStart is set to true in the first session of the example, and set to false in the second session.

java -Dij.dataSource=org.apache.derby.jdbc.EmbeddedDataSource 
-Dij.dataSource.databaseName=sample -Dij.showNoConnectionsAtStart=true org.apache.derby.tools.ij
ij version 10.6 
ij> disconnect;
ij> exit;

java -Dij.dataSource=org.apache.derby.jdbc.EmbeddedDataSource
-Dij.dataSource.databaseName=sample -Dij.showNoConnectionsAtStart=false org.apache.derby.tools.ij
ij version 10.6  
CONNECTION0*
* = current connection
ij> disconnect;
ij> exit;
 

javadb@jdbcurl.com