com.northgateis.reality.realsql
Class VersionInfo

java.lang.Object
 |
 +--com.northgateis.reality.realsql.VersionInfo

public class VersionInfo
extends java.lang.Object

This class is used to record changes to the RealSQL-JDBC Driver. Public methods maybe accessed by external applications to check onversion information.

 Version     Date     Description
--------------------------------------------------------------------------- 
 1.00.0001   09-11-00 Baseline 12, compatible with Reality Version 8.2A
 
 1.00.0002   10-11-00 Modify RealSQLServer, RealSQLDriver,
                      RealSQLConnection and RealSQLDatabaseMetaData to use
                      VersionInfo.
 1.00.0003   22-11-00 Add the RealConstants interface to store Reality
                      constants. Moved constants from RealSQLServer,
                      RealSQLDatabaseMetaData into RealConstants and make
                      thoses classes implement RealConstants.
 
                      Add the serialVersionUID variable to hold the
                      driver version number.
                      Modify the VersionInfo class to implement
                      Serializable, which allows you to enquire on the
                      driver version using the utility
                      'serialver {-show} classname'.
 
 1.00.0004   28-11-00 Updated the vendor name from 'NORTHGATEIS' to
                      'Northgate' in RealSQLException and RealSQLWarning.
                      Moved utility methods from CatalogQuery to
                      CatalogQueryR81 Update various comments in
                      CatalogQuery, CatalogQueryR81 and CatalogQueryR82
                      Renamed RealTokenizer to ItemTokenizer, updated
                      all classes referencing the RealTokenizer class.
                      Renamed various classes to 'Real...'
             11-12-00 Renamed Reality host logging properties in
                      RealServer and realsql.properties to 'host..'
                      Moved public static variables from RealDebug to
                      RealConstants. RealDebug implements RealConstants.
                      Modifed RealSQLConnection debug message to
                      output debug flags in hex.
 1.00.00.05  11-12-00 VersionInfo returns a new version string
                      format, which includes the ServicePack field
                      'Major.Minor.ServicePack.Build'
                      The VersionInfo class no longer requires to implement
                      RealConstants or Serializable interfaces. The version
                      number is stored in the VersionInfo class and extracted
                      using the Northgate utility getVersion.
                      Method isCompatible added to validate inter-component
                      compatibility.
             20-12-00 RealCatalogQueryR82 - fixed bug in getPrimaryKeys and
                      getIndexInfo which allowed null schema names to be
                      passed.
                      RealCatalogQueryR82 - fixed bug in getIndexInfo unique
                      flag is inverted producing incorrect reset set.
             02-01-01 RealSQLDriver - fixed bug in connect() method, now
                      now calls acceptURL() to test for valid url.
             11-01-01 RealConstants - update R82A server level to 23.
                      RealError - Add J1019 - All rows fetched.
                      RealSQLResultSet - Throw exception during next() if
                      error received in fetch thread.
 1.00.00.06  19-01-01 Add support for TIME and TIMESTAMP - RealError,
                      RealTypes, RealSQLResultSet, RealSQLPreparedStatement,
                      RealSQLCallableStatement
 1.00.00.07  26-01-01 Problem running the driver fromm an Applet in IE 5.0
                      Methods introduced in JDK 1.2 are not supported by
                      the Microsoft JVM. RealSQLDriver, RealSQLConnect.
                      Removed the use of an Attribute Mark as a delimiter
                      to avoid problems with character encodings that do
                      not support characters in the range 0x80 to 0xFF.
                      RealError.
 1.00.00.8   06-02-01 RealServer - Remove hostFileName option from host
                      logging. RealSQLDatabaseMetaData - updated javadoc.


 


Method Summary
protected static int getMajor()
          Returns the driver major version number.
protected static int getMinor()
          Returns the driver minor version number.
static java.lang.String getStatus()
          Returns the driver status in the format "V"ersion or "T"rial
static java.lang.String getVersion()
          Returns the driver version in the format "x.x.x.x" which represents the Major.Minor.ServicePack.Build numbers in decimal.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMajor

protected static int getMajor()
Returns the driver major version number.

Returns:
the driver major number.


getMinor

protected static int getMinor()
Returns the driver minor version number.

Returns:
the driver minor number.


getVersion

public static java.lang.String getVersion()
Returns the driver version in the format "x.x.x.x" which represents the Major.Minor.ServicePack.Build numbers in decimal.

Returns:
a string representation of the driver version number.


getStatus

public static java.lang.String getStatus()
Returns the driver status in the format "V"ersion or "T"rial

Returns:
a string representation of the driver status.