IBM Books

What's New


Application Development Enhancements



Figure V50C not displayed.

Version 5

 

Open Database Connectivity 3.0 Support

The DB2 Call Level Interface (DB2 CLI) has been updated to the latest Microsoft ODBC 3.0 specifications. This enables ODBC 3.0 applications to run with DB2. Scrollable Cursor support has also been added. See the CLI Guide and Reference for details.

Additional Support in the DB2 Precompiler and APIs

The following support has been added:

See the API Reference for a full description of DB2 APIs. See the Embedded SQL Programming Guide for a description of the precompiler options.

User-Defined Functions

Enhancements have been made for table functions and scalar functions:

See the Embedded SQL Programming Guide and the SQL Reference for details.

Precompile and Bind Enhancements

The precompile and bind enhancements are categorized as follows:

Long Host Variable Names
Long host variable names that correspond to the variable name length of the programming language are now supported. Host variable names can now be up to 255 characters in length for all DB2-supported languages.

SQL Statement Flagging
The grammar and all syntax rules (that do not require catalog access) of SQL statements are now checked and those not compliant with the SQL92 Entry Level standard are flagged.

Support for Java Programming

DB2 enables you to develop applications and applets that access and manipulate DB2 databases. DB2 makes this possible by providing support for the Sun Microsystem's Java Database Connectivity (JDBC) API. DB2 provides this support through a DB2 JDBC driver that comes with DB2. The JDBC API provides a standard way to access databases from Java code. Your Java code passes SQL statements as function arguments to the DB2 JDBC driver. The driver handles the JDBC API calls from your Java code.

You can also use the Java programming language to develop user-defined functions and stored procedures which run on the server.

See the Embedded SQL Programming Guide and DB2 Connect documentation for details.

See "Extended Support for Java Applets" and "Support for JDBC and SQLJ" for information on Java support in DB2 Universal Database Version 5.2.

Figure V52C not displayed.

Version 5.2

 

Microsoft Transaction Server

Applications running under Microsoft Transaction Server (MTS) on Windows NT, Windows 95, and Windows 98 operating systems can use MTS to coordinate two-phase commit with multiple DB2 Universal Database databases and other MTS-compliant resource managers. See the Administration Guide and "Microsoft Transaction Server" for details.

See the DB2 Connect Enterprise Edition Quick Beginnings manual for information on how host and AS/400 databases can participate in distributed transactions managed by MTS.

MTS support is enabled by setting the tp_mon_name configuration parameter (see the Administration Guide).

Extended Support for Java Applets

The DB2 Java Database Connectivity (JDBC) Applet Server can now be started as a Windows NT service. It must be registered as a service before it is made available in the services section of the control panel. See "JDBC Applet and Application Support" and the Quick Beginnings documentation for details.

Support for JDBC and SQLJ

DB2 Universal Database provides support for Java Database Connectivity (JDBC) and for Java Embedded SQL (SQLJ).

JDBC support consists of:

See "Programming in JDBC" for details.

SQLJ support allows you to run Java embedded SQL applications and applets on the client against DB2 databases on the server. It also provides support for Java embedded SQL UDFs and stored procedures on the server. See "Embedded SQL for Java (SQLJ) Programming" for details.

Perl Interface

The Database Independent Interface for Perl (Perl DBI) is an Application Programming Interface (API) that provides database access for the Perl language. The DBI defines a set of functions, variables, and conventions that provide a consistent database interface independent of the actual database being used. A specific database driver is required to work in conjunction with the DBI in order to access a particular database.

In Version 5.2 of DB2 Universal Database, support for the Perl DBI is provided on the AIX, HP-UX, and Solaris platforms. This support is available with the DBD::DB2 database driver. The driver and documentation can be obtained through FTP and the Web. For more information, see http://www.software.ibm.com/data/db2/perl.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]