home *** CD-ROM | disk | FTP | other *** search
- BORLAND DATAGATEWAY FOR JAVA (R) ONLINE RELEASE NOTES
- =======================================================
- Welcome to Borland DataGateway for Java!
-
- Unless otherwise noted, all materials provided in this
- software are copyright (C) 1997 by Borland International.
-
- TABLE OF CONTENTS
- -------------------
-
- 1. Introduction
- 2. System and software requirements for DataGateway
- 3. Installing DataGateway
- 4. Uninstalling DataGateway
- 5. DataGateway Developers Kit information
- 6. DataGateway sample applications and applets
- 7. Connecting to MS Access data sources using DataGateway
- 8. Using JDBCTest to test DataGateway features
- 9. Known problems and compatibility issues
- 10. DataGateway documentation
- 11. Purchasing DataGateway
- 12. For more information
-
- 1. INTRODUCTION
- *****************
-
- Borland DataGateway provides Java developers a multi-tier, fast, and
- reliable database connectivity solution adhering to industry standard
- JDBC.
-
- There are three different versions of DataGateway, each designed to
- meet your specific development needs.
-
- - DataGateway Developers Kit: The Developers Kit allows you to
- develop and test your Java database applications. Native desktop
- database drivers and SQL Links drivers for connecting to SQL
- databases are included with the Borland Database Engine. There
- is a limit of 5 connections to the DataGateway Server with the
- Developers Kit, and you agree not to deploy any applications
- that use DataGateway. Each time you connect to the DataGateway
- Server, a notification dialog box appears that reminds you of the
- licensing agreement for the Developer's Kit.
-
- - DataGateway Professional: DataGateway Professional provides the
- most comprehensive high-performance, high-quality, 100% Java JDBC
- connectivity to workgroup data. Native drivers for Paradox, dBASE,
- FoxPro, and ODBC support for MS Access are included with the Borland
- Database Engine to connect your Java applications and applets to desktop data
- sources. There is no limit on the number of connections the
- DataGateway Server can have open, and you may deploy applications
- and applets that use DataGateway classes.
-
- - DataGateway Enterprise: DataGateway Enterprise provides a 100% Java
- connection to all your business critical data, providing native
- drivers for Oracle, Sybase, DB2, Microsoft SQL Server, Informix,
- Borland InterBase, Paradox, dBASE, and FoxPro. MS-Access and other
- databases are supported via ODBC. There is no limit on the number of
- connections the DataGateway Server can have open, and you may deploy
- applications and applets that use DataGateway classes.
-
- 2. SYSTEM AND SOFTWARE REQUIREMENTS FOR DATAGATEWAY
- *****************************************************
-
- - 486 or better processor
- - Windows 95, Windows NT 3.51 or greater
- - 24 Mb RAM
- - 8 Mb disk space for compact install, 20 Mb disk space for full install
- - CD-ROM Drive
- - VGA monitor
- - Mouse
- - A TCP/IP connection
- - A Java development environment, such as Borland JBuilder or Sun's Java
- Development Kit 1.1
-
- 3. INSTALLING DATAGATEWAY
- ***************************
-
- Before installing DataGateway
- ------------------------------
- Important: Before installing DataGateway, uninstall any previous versions of
- DataGateway installed on your system otherwise a "mismatch in protocol" or
- "connection refused" message could result. For information on how to uninstall
- previous versions of DataGateway, see "Uninstalling DataGateway" below.
-
- During the installation do not select the Java Runtime Environment option
- in the install program if you already have a Java development environment
- (such as Borland JBuilder or Symantec Visual Cafe) installed.
- See "Mismatching of Java files" below if you installed a Java development
- environment prior to installing DataGateway and you selected the
- Java Runtime Environment option in the DataGateway install program.
-
- If you are installing DataGateway and SQL Links for use with
- Sybase version 4.2 or earlier, select DB-Lib when prompted by the
- installation utility. CT-Lib is recommended for use with System 10 and
- later. If you have already installed DataGateway and want to change this
- setting see "Changing the Sybase driver" below.
-
- For more information on installing DataGateway, see "Installing
- DataGateway" in the DataGateway User's Guide.
-
- Installing DataGateway
- -----------------------
- Follow these steps to install DataGateway:
-
- 1. Insert the DataGateway CD into your CD-ROM drive. (The following
- instructions assume you are using drive D. Substitute your
- drive letter if necessary.)
- 2. Choose Start|Run.
- 3. Enter d:\setup.exe.
- 4. Choose OK.
- 5. Follow the instructions on the screen.
-
-
- 4. UNINSTALLING DATAGATEWAY
- *****************************
-
- Follow these steps to uninstall DataGateway:
-
- 1. From the Start menu, go to the DataGateway program group.
- 2. Click Uninstall.
- 3. Follow the instructions on the screen.
-
-
- 5. DATAGATEWAY DEVELOPERS KIT INFORMATION
- *******************************************
-
- Built-in limitations
- ----------------------
- The Developers Kit has the following built in limitations:
-
- - A five connection limit for the DataGateway Server.
- - A notification dialog box that appears whenever you connect to a
- data source.
- - You agree not to deploy any applications or applets that use any
- of the components in the Developers Kit.
-
- Dismissing the notification dialog in console applications
- ------------------------------------------------------------
- If you are writing a console application, the notification dialog
- box will appear when you connect to the DataGateway Server. To
- terminate the dialog box, call the System.exit method.
-
- Developers Kit license file
- -----------------------------
- Do not modify the license file (jdbc_license.dat). Any modifications
- to the license file will disable DataGateway.
-
-
- 6. DATAGATEWAY SAMPLE APPLICATIONS AND APPLETS
- ************************************************
-
- Included with DataGateway are a number of sample applications
- and applets that use DataGateway classes.
-
- For more information about the sample applications and applets,
- see "DataGateway sample applications and applets" in the User's
- Guide. A short description of the sample applications and applets
- is also included in the file Samples.txt located in the
- \DataGateway\samples directory.
-
- Using Visual J++ with DataGateway sample applications and applets
- -------------------------------------------------------------------
- If you are using Visual J++, use the jview program to run the sample
- programs at the command line. For example, to run the SampleApp sample
- application at the command line enter:
-
- jview SampleApp Remote localhost
-
-
- 7. CONNECTING TO MS ACCESS DATA SOURCES USING DATAGATEWAY
- ***********************************************************
-
- To connect to MS Access databases, you must use an Access
- ODBC driver. DataGateway requires an Access ODBC driver. See
- http://www.microsoft.com for details of available MS Access drivers.
- The Access ODBC driver is required because Access (specifically DAO)
- doesn't support multiple threads. The DataGateway Server uses
- multiple threads and will reject connections that specify Access
- as the driver. To connect to MS Access databases, specify an
- Access ODBC driver as the driver when calling getConnection.
- In the DataGateway Professional version, the Access ODBC driver
- will only allow connection to Access databases. It will block
- connections to non-Access data sources via ODBC. In both the
- DataGateway Developers Kit and Enterprise versions connection
- to all ODBC data sources is available.
-
- The Bridge, which bypasses the Server, will allow you to connect to
- Access data sources, but the limitations of the Bridge still apply
- (the program can only be run on the same machine as the Access database
- and the BDE).
-
-
- 8. USING JDBCTEST TO TEST DATAGATEWAY FEATURES
- ************************************************
-
- JDBCTest is a free tool provided by Intersolv. It is a graphical,
- menu-driven program that allows developers to test and learn the
- JDBC API. It is written in Java and can be used as a program.
- You may download JDBCTest from JavaSoft's ftp site:
- ftp://splash.javasoft.com/pub/JDBCTest1_03.zip.
-
- For more information on using JDBCTest, see "Testing DataGateway
- features" in the DataGateway User's Guide.
-
-
- 9. KNOWN PROBLEMS AND COMPATIBILITY ISSUES
- ********************************************
-
- Database drivers must support multiple threads
- -------------------------------------------------
- All remotely accessed databases must be thread-safe in order
- to work with DataGateway. MS Access and Oracle 7.1 (and previous
- versions) are not thread-safe and will not work with DataGateway.
- To connect to MS Access data sources, use an ODBC Access driver.
- For more information, see "Connecting to MS Access data sources
- using DataGateway" in this file.
-
-
- Changing the Sybase driver
- ---------------------------
- To change the Sybase driver, use the BDE Administrator program
- and follow these steps:
-
- 1. On the Configuration tab, follow the tree to Configuration|Drivers|
- Native|Sybase.
- 2. On the Definition tab in the right pane, select the DLL32 parameter.
- 3. Using the drop down tab, select either SQLSSC32.DLL for CT-Lib or
- SQLSYB32.DLL for DB-Lib.
- 4. Save your changes and exit the program.
-
-
- Visual J++ 1.1 doesn't support using the DataGateway Bridge
- ------------------------------------------------------------
- Visual J++ 1.1 doesn't support using the DataGateway Bridge to access
- local data sources. To connect to a local database, run the
- DataGateway Server and use the Client and Server specifying
- localhost as the machine name.
-
- For more information on using Visual J++ with DataGateway, see
- "Using DataGateway with Visual J++" in the User's Guide.
-
-
- Path environment variable must include Java VM path
- ----------------------------------------------------
- If you attempt to run a Java application or applet and get an error
- dialog box with the description "A required .DLL file, JAVAI.DLL,
- was not found" your Path environment variable is missing your Java
- VM path information. To resolve the problem, add the path to the
- ..\Java\bin directory (installed with a Java development environment
- such as Borland JBuilder or Sun's Java Development Kit 1.1) in the Path
- environment variable. By default Javai.dll is located in the
- ..\Java\bin directory.
-
-
- Classpath environment variable not correctly updated during installation
- -------------------------------------------------------------------------
- If you've installed DataGateway prior to installing your Java
- development environment, the Classpath environment variable setting
- will need to be updated. For complete instructions on manually
- updating the Classpath, see "Using DataGateway with Java development
- tools" in the DataGateway User's Guide. Specific instructions are provided
- for Borland JBuilder, Symantec Visual Cafe Pro 1.1, and Microsoft Visual
- J++ 1.1.
-
- An unsupported utility, Dg_int.exe, has been provided to automate the
- updating of the Classpath environment variable. It will automatically
- update the environment correctly for JBuilder, Visual Cafe Pro 1.1,
- and Visual J++ 1.1. To run the utility,
-
- 1. Locate Dg_int.exe in the \Tools directory on the DataGateway CD
- 2. Run Dg_int.exe
- 3. Follow the instructions on the screen to update the Classpath
- setting.
-
-
- Mismatching of Java files
- --------------------------
- If you installed a Java development environment (such as Borland
- JBuilder or Symantec Visual Cafe) prior to installing DataGateway and
- you selected the Java Runtime Environment option in the DataGateway install program
- this may result in duplication and mismatching between Java files.
- To correct this, uninstall DataGateway and reinstall without selecting
- the Java Runtime Environment option.
-
-
- Queries on tables with LONG fields
- -----------------------------------
- Queries on tables containing type LONG fields will return the LONG
- fields as type DOUBLE.
-
-
- CANNOT CREATE dBASE LOCK FIELDS
- -------------------------------
- Cannot create DBASELOCK fields from jdbc.
-
-
- DISCONNECTING FROM INFORMIX
- ---------------------------
- Informix only: disconnecting may cause application to crash.
-
-
- DbiUseIdleTime no longer supported
- ----------------------------------
- The BDE no longer supports DbiUseIdleTime. Use DbiSaveChanges
- instead.
-
-
- Connecting to a database twice with ODBC 3.4
- --------------------------------------------
- Due to a known bug in Microsoft's ODBC 3.4, connecting to
- a database twice with this driver can cause the IDE to shut
- down. This problem is fixed in ODBC 3.5.
-
-
- Adding indexes
- --------------
- Windows NT 3.51 Service Pack 5 fixes a problem where calling
- DbiGetNextRecord will erroneously return DBIERR_EOF after calling
- DbiAddIndex.
-
- Local SQL: Querying logical fields
- ----------------------------------
- In Local SQL, when querying logical fields do not use single or
- double quotes around the boolean literal in the criteria.
- For example, the following SQL statement is the correct syntax:
-
- SELECT pboolean FROM table WHERE pboolean = True
-
-
- Using long field names with the AS clause
- -----------------------------------------
- When the AS clause is used to rename a field name, it includes the
- table (or alias) name, therefore increasing the length significantly.
- If the total length exceeds 31 characters an error message will be
- displayed.
-
-
- ORACLE - SQL NET 2.3.3: ACCESS VIOLATION WHILE DEBUGGING
- --------------------------------------------------------
- Under NT4 and any debugger (TD or an integrated debugger)
- with SQL Net 2.3.3, an error 'access violation at 0xbe4278d:
- read of address 0xfffd5ae0' occurs. Using BDE version 3.11
- or 3.10 throws the correct exception 'external exception
- C0000008'. Deleting the value in the following registry entry
- causes the AV to go away:
-
- HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\OTRACE73
-
-
- Access Driver
- -------------
- Some functionality is not yet implemented in this release. BCD
- (binary coded decimal) support is not available. Key-violation
- tables cannot be created with DbiAddIndex. (All other DbiAddIndex
- functionality is supported.) QBE, heterogeneous queries, and
- queries using the local SQL engine are not supported. In the
- SDK, DbiDoRestructure and DbiRegenIndex are not available.
-
- Because DAO 3.0 (Access 95) is not thread-safe, all database
- functions must occur in the application's primary thread
-
- MS Access does not support opening a table that has
- already been opened exclusively. Hence opening a table
- when TTable.Exclusive is set to True prevents the user
- from opening that table again, even in same session.
-
- Use a BLOB as a parameter in a query only if the BLOB data is
- less than 256 bytes.
-
- 10. DATAGATEWAY DOCUMENTATION
- *******************************
-
- For more information concerning using DataGateway refer to the
- DataGateway documentation provided in HTML format. The
- DataGateway User's Guide is installed in the \DataGateway\doc
- directory. Open UsersGuide.html in any web browser to begin.
-
- Print version of the DataGateway User's Guide available
- ---------------------------------------------------------
- A print version of the User's Guide is included with purchased
- versions of Borland DataGateway. For more information,
- see DataGateway's homepage at http://www.borland.com/datagateway/.
-
-
- 11. PURCHASING DATAGATEWAY
- ****************************
-
- DataGateway can be ordered directly from Borland's DataGateway home page
- at http://www.borland.com/datagateway/. When you order DataGateway you
- will receive a printed version of the DataGateway User's Guide in addition
- to the DataGateway CD.
-
-
- 12. FOR MORE INFORMATION
- **************************
-
- For support information refer to the following resources:
-
- - DataGateway newsgroup: news://forums.borland.com/borland.public.datagateway
- - DataGateway's home page: http://www.borland.com/datagateway/
- - General Borland information: http://www.borland.com/
- - Borland's FTP site: ftp.borland.com
- - Electronic newsletters: http://www.borland.com/feedback/listserv.html
- - International listserver: http://www.borland.com/feedback/intlist.html
- - Techfax, technical documents available by fax: 1-800-822-4269 (North
- America)
-
- -------------------------------------end--------------------------------------
-