Skip to content
scgray edited this page Nov 7, 2014 · 2 revisions

What's New in 2.1

Once again, a long wait between releases!

New Features

  • Moved source code to github!!
  • New build system! Jsqsh now builds with maven
  • Jsqsh JNI libraries are now built into the jar, plus added support for Power Linux 64bit
  • New interactive connection setup wizards! This consists of the following:
  • First time startup of jsqsh will enter the setup wizard
  • The --setup startup option can enter the setup wizard
  • \setup command can enter the setup wizard
  • \connect --setup enters the connection setup wizard
  • \drivers --setup enters the driver setup wizard
  • Special support for executing stored procedure with output parameters. See \help storedprocs for details.
  • Each JDBC driver may provide its own class path. This class path can be set via the driver setup wizard, and may include environment variables, such as ${ORACLE_HOME}/jdbc.
  • Each JDBC driver may now specify identifier normalization rules. For example, if an object name like MyTable is normalized to MYTABLE or mytable when stored in the catalogs. This allows the metadata commands like \show and \describe to work smarter.
  • Each JDBC driver can optionally specify a query to run to determine the current schema for the session. This allows metadata commands like \show and \describe to work smarter.
  • The !N history recall now allows negative values, so "!-2" means you want to edit query you executed two queries prior.
  • New variables $dflt_driver, $dflt_username, $dflt_database available to provide defaults for connection arguments that are not supplied.
  • Added new -X,--exit-value startup flag to indicate to jsqsh what to use for its exit status. The default value is "total" (--exit-value="total") in which the exist status it the total number of failed jsqsh commands. The value "last" indicates that the last executed statement determines the exit status
  • Added ${max_rowsaffected} to deal with buggy drivers (Hive) that don't properly indicate when they are done sending results to the client.

Bug Fixes

  • Improved the PL/SQL determination of whether or not ';' is a statement terminator.
  • The visual timer is better about clearing itself before results are displayed
  • JSqsh will try to recognize tabs that come from a cut and paste operation and avoid doing tab completion under those circumstances.
  • Connection variables, such as $server, will expand correctly now. Previously these would only contain a value if the value was provided explicitly, but when the value was provided explicitly by the driver definition, the value would be null.
  • Fixed inability to start jsqsh if a driver throws an error (java.lang.Error) while being loaded.
  • Fixed handling of Hive DECIMAL type
Clone this wiki locally