< meta http-equiv="Content-Style-Type" content="text/css">

Skip Headers

Oracle® Database Application Developer's Guide - Funda mentals
10g Release 1 (10.1)

Part Number B10795-01
Go to Documentation Home
Home
Go to Book List
Book List
Go
to Table of Contents
Contents

Index
Go to Master Index
Master Index
Go to Feedback page
Feedback

Go to previous page
Previous
Go to next page
Next
View P DF


What's New in Applic ation Development?

The following sections give an overview of new application development features introduced in this release and some previous releases of the database. Related documentation on each feature is cross-referenced when it is available.

New Application Development Features in Oracle Database 10g Release 1

This section discusses new features introduced in Oracle Database 10g Release& nbsp;1 (10.1).

New Application Development Features in Oracle9i R elease 2

This section gives an overview of application development features introduc ed in Oracle9i Release 2 (9.2).

Java Features Removed from the database in Oracle9i Release 2

This section discusses Java features that were removed from the database in Oracle9i Database release 2 (version 9.2.0). Support for some of these features was moved fro m the database to Oracle Application Server.

The following Java features and related technol ogies are no longer supported as integrated components of the database:

Oracle Application Server now includes Oracle Application Server Containers for J2EE (OC4J). Migrate any existing applications that use the following technologies in the database to OC4J: servlets, JSP pages, EJBs, and CORBA objects.

To develop new applications using EJ Bs or CORBA, you must use the J2EE components that are part of Oracle Application Server. EJBs and CORBA are no longer supported with in the database.

You can still access the database from these components using Oracle Applic ation Server as a middle-tier. You can still write Java stored procedures and Java methods for object types within database applicati ons.

For more information on OC4J, visit the Oracle Application Server documentation pages a t:

http://otn.oracle.com/documentation/
<
a name="972594">

New Application Development Features in Or acle9i Release 1

This section gives an overview of applicati on development features introduced in Oracle9i Release 1 (9.0.1).

  • Integration of SQL and PL/SQL parsers

    PL/SQL now supports the complete range of syntax for SQL statements, such as INSERT, UPDATE, D ELETE, and so on. If you received errors for valid SQL syntax in PL/SQL programs before, those statements should now work.

    Because of more consistent error-checking, you might find that some invalid code is now found at compile time instead of producing an error at runtime, or vice versa. You might need to change the source code as part of the migr ation procedure.

See Also:
See Also:

Oracle Database Upgrade Guide for details on the complete migration procedure

  • Resumable Storage Allocation

    When an application encounters some kinds of storage allocation errors, it can suspend operations and take action such as resolving t he problem or notifying an operator. The operation can be resumed when storage is added or freed.

    < font face="Arial, Helvetica, sans-serif">See Also:

    "Resuming Execution After a Storage Error Condition"

  • Flashback

    < p class="BP1">This release has new and enhanced flashback features. You can now do the following:

    • Query the transaction history of a row.
    • Ob tain the SQL undo syntax for a row, to perform row-level flashback operations.
    • Perform remote queries of past data.

  • WITH Clause for Reusing Complex Subqueries

    Rather than repeat a compl ex subquery, you can give it a name and refer to that name multiple times within the same query. This is convenient for coding; it al so helps the optimizer find common code that can be optimized.

    < /table>
  • New Date and Time Types

    The new datatype TIMESTAMP records time values including fractional seconds. New datat ypes TIMESTAMP WITH TIME ZONE and TIMESTAMP WITH LOCAL TIME ZONE allow you to adjust date and time values t o account for time zone differences. You can specify whether the time zone observes daylight savings time. New datatypes INTERV AL DAY TO SECOND and INTERVAL YEAR TO MONTH represent differences between two date and time values, simplifying d ate arithmetic.

  • See Also:

    Oracle Database Administrator's Guide for details on creating synonyms

    See Also:
  • Better Integration of LOB Datatypes

    You can use character functions on CLOB and NCLOB types. You can treat BLOB types as RAWs. Conversions between LOBs and other types are much simpler now, particularly when converting from LONG to LOB types.

    See Also :
  • Improved Globalization and National Language Support

    Data can be stored in Unicode format using fixed-widt h or variable-width character sets. String handling and storage declarations can be specified using character lengths, where the numb er of bytes is computed for you, or explicit byte lengths. You can set up the entire database to use the same length semantics for st rings, or specify the settings for individual procedures; this setting is remembered if a procedure is invalidated.

    See Also:

    "Representing Character Data"

  • Enhancements to Bulk Operations

    You can now perform bulk SQL operations, such as bulk fetches, using native dynamic SQL (the EXE CUTE IMMEDIATE statement). You can perform bulk insert or update operations that continue despite errors on some rows, then ex amine the individual row problems after the operation is complete.

    See Also:

    "Overview of Bulk Binds"

  • < /a>Improved Support for PL/SQL Web Applications

    The UTL_HTTP and UTL_SMTP packages have a number of enhancements, such as letting you access password-protected Web p ages, and sending e-mail with attachments.

    See Also:

    Chapter 13, "Developing Web A pplications with PL/SQL"

  • Native Compilation of PL/SQL Code

    Improve per formance by compiling Oracle-supplied and user-written stored procedures into native executables, using typical C development tools. This setting is saved, so that the procedure is compiled the same way if it is later invalidated.

    < font face="Arial, Helvetica, sans-serif">See Also:

    "Compiling PL/SQL Procedures for Native Execution"

    < /div>
  • Oracle C++ Call Interface (OCCI) API

    The OCCI API lets you write fast, low-level database applications using C++. It is similar to the Oracle Call Interface (OCI) API.

    S ee Also:

    "Overview of OCI and OCCI"

  • Secu re Application Roles

    In Oracle9i, application developer s no longer need to secure a role by embedding passwords inside applications. They can create application roles and specify which PL/ SQL package is authorized to enable the roles. Application roles enabled by PL/SQL packages are called s ecure application roles.

  • Creating Application Contexts

    You can create an application context by entering a command like:

    CREATE CONTEXT Order_entry USING Apps.Oe_ctx;
    
    
    < /a>

    Alternatively, you can use Oracle Policy Manager to create an application context.

  • Dedicated External Procedure Agents

    You can run external procedure agents (the EXTPROC entry in tnsnames.ora) under different instances of Oracle Database or on entirely separate machines. This lets you configure external procedures more robustly, so that if one external procedure fails, other external procedures can continue running in a different agent process.

    See Also: