To Plink
To Plink
February 2006
Oracle Application Server TopLink Getting Started Guide, 10g Release 3 (10.1.3) for Microsoft Windows
(64-Bit) on Intel Itanium
B28116-01
The Programs (which include both the software and documentation) contain proprietary information; they
are provided under a license agreement containing restrictions on use and disclosure and are also protected
by copyright, patent, and other intellectual and industrial property laws. Reverse engineering, disassembly,
or decompilation of the Programs, except to the extent required to obtain interoperability with other
independently created software or as specified by law, is prohibited.
The information contained in this document is subject to change without notice. If you find any problems in
the documentation, please report them to us in writing. This document is not warranted to be error-free.
Except as may be expressly permitted in your license agreement for these Programs, no part of these
Programs may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any
purpose.
If the Programs are delivered to the United States Government or anyone licensing or using the Programs on
behalf of the United States Government, the following notice is applicable:
U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data
delivered to U.S. Government customers are "commercial computer software" or "commercial technical data"
pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As
such, use, duplication, disclosure, modification, and adaptation of the Programs, including documentation
and technical data, shall be subject to the licensing restrictions set forth in the applicable Oracle license
agreement, and, to the extent applicable, the additional rights set forth in FAR 52.227-19, Commercial
Computer Software--Restricted Rights (June 1987). Oracle USA, Inc., 500 Oracle Parkway, Redwood City, CA
94065.
The Programs are not intended for use in any nuclear, aviation, mass transit, medical, or other inherently
dangerous applications. It shall be the licensee's responsibility to take all appropriate fail-safe, backup,
redundancy and other measures to ensure the safe use of such applications if the Programs are used for such
purposes, and we disclaim liability for any damages caused by such use of the Programs.
Oracle, JD Edwards, and PeopleSoft are registered trademarks of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.
The Programs may provide links to Web sites and access to content, products, and services from third
parties. Oracle is not responsible for the availability of, or any content provided on, third-party Web sites.
You bear all risks associated with the use of such content. If you choose to purchase any products or services
from a third party, the relationship is directly between you and the third party. Oracle is not responsible for:
(a) the quality of third-party products or services; or (b) fulfilling any of the terms of the agreement with the
third party, including delivery of products or services and warranty obligations related to purchased
products or services. Oracle is not responsible for any loss or damage of any sort that you may incur from
dealing with any third party.
Contents
Preface ................................................................................................................................................................. v
Intended Audience...................................................................................................................................... v
Documentation Accessibility ..................................................................................................................... v
Organization ................................................................................................................................................ vi
Related Documentation .............................................................................................................................. vi
Conventions ................................................................................................................................................ vii
Index
iii
iv
Preface
Intended Audience
The Oracle TopLink Getting Started Guide is intended for new users who need to install
and configure TopLink.
This document assumes that you are familiar with the concepts of object-oriented
programming, the Enterprise JavaBeans (EJB) specification, and with your own
particular Java development environment.
The document also assumes that you are familiar with your particular operating
system (such as Windows or UNIX). The general operation of any operating system is
described in the user documentation for that system, and is not repeated in this
manual.
Documentation Accessibility
Our goal is to make Oracle products, services, and supporting documentation
accessible, with good usability, to the disabled community. To that end, our
documentation includes features that make information available to users of assistive
technology. This documentation is available in HTML format, and contains markup to
facilitate access by the disabled community. Accessibility standards will continue to
evolve over time, and Oracle is actively engaged with other market-leading
technology vendors to address technical obstacles so that our documentation can be
accessible to all of our customers. For more information, visit the Oracle Accessibility
Program Web site at
http://www.oracle.com/accessibility/
v
Accessibility of Code Examples in Documentation
Screen readers may not always correctly read the code examples in this document. The
conventions for writing code require that closing braces should appear on an
otherwise empty line; however, some screen readers may not always read a line of text
that consists solely of a bracket or brace.
Organization
Oracle TopLink Getting Started Guide
This document includes the following chapters:
Related Documentation
For more information, see these Oracle resources:
■ Oracle TopLink Release Notes
■ Oracle Application Server Release Notes
■ Oracle TopLink API Reference
■ Oracle TopLink Developer’s Guide
■ Oracle TopLink Release Notes
■ Oracle Application Server Release Notes
■ Oracle TopLink API Reference
■ Oracle TopLink Developer’s Guide
Printed documentation is available for sale in the Oracle Store at:
http://oraclestore.oracle.com
To download free release notes, installation documentation, white papers, or other
collateral, please visit the Oracle Technology Network (OTN). You must register online
before using OTN; registration is free and can be done at:
http://www.oracle.com/technology/membership
vi
If you already have a username and password for OTN, then you can go directly to the
documentation section of the OTN Web site at:
http://www.oracle.com/technology/docs
Feedback
If you have questions about TopLink, you can consult the TopLink user’s forum at:
http://forums.oracle.com/forums/forum.jspa?forumID=48
http://forums.oracle.com/forums/forum.jspa?forumID=48
If you have questions or feedback about this documentation, you can consult the
documentation feedback forum at
http://forums.oracle.com/forums/forum.jspa?forumID=165
http://forums.oracle.com/forums/forum.jspa?forumID=165
Conventions
This section describes the conventions used in the text and code examples of this
documentation set. It describes:
■ Conventions in Text
■ Conventions in Code Examples
Conventions in Text
We use various conventions in text to help you more quickly identify special terms.
The following table describes those conventions and provides examples of their use.
vii
Convention Meaning Example
lowercase italic Lowercase italic monospace font represents You can specify the parallel_clause.
monospace placeholders or variables.
Run Uold_release.SQL where old_release
(fixed-width) font
refers to the release you installed prior to
upgrading.
The following table describes typographic conventions used in code examples and
provides examples of their use.
viii
Convention Meaning Example
lowercase Lowercase typeface indicates SELECT last_name, employee_id FROM
programmatic elements that you supply. employees;
For example, lowercase indicates names of
sqlplus hr/hr
tables, columns, or files.
CREATE USER mjones IDENTIFIED BY
Note: Some programmatic elements use a
ty3MU9;
mixture of UPPERCASE and lowercase.
Enter these elements as shown.
ix
x
1
Prerequisites for Installing Oracle TopLink
This chapter provides information that you should review before installing Oracle
TopLink (TopLink). It contains the following topics:
■ System Requirements and Certifications
■ Supported Databases
■ License Information
Additional Requirements
TopLink requires a Java Virtual Machine (JVM) compatible with JDK 1.5 (or higher).
TopLink also requires internet access to use URL-based schemas and hosted
documentation.
1.3.1.1 Antlr
http://www.antlr.org/rights.html
TopLink uses Antlr for EJB QL parsing. Antlr (ANother Tool for Language
Recognition), is a language tool that provides a framework for constructing
recognizers, compilers, and translators from grammatical descriptions containing C++
or Java actions. The ANTLR parser and translator generator is fully in the public
domain.
1.3.1.2 DOM
http://www.w3.org/Consortium/Legal/copyright-software.html
The Document Object Model (DOM) is a specification that defines some programming
language-neutral interfaces that can be used to manipulate XML and HTML
documents. W3C maintains this specification. W3C also provides a Java "binding" for
these interfaces. TopLink uses this "binding" to parse and manipulate XML documents.
This program contains third-party code from the World Wide Web Consortium
("W3C"). Under the terms of the W3C license, Oracle is required to provide the
following notices. Note, however, that the Oracle program license that accompanied
this product determines your right to use the Oracle program, including the W3C
software, and the terms contained in the following notices do not change those rights.
This work (and included software, documentation such as READMEs, or other related
items) is being provided by the copyright holders under the following license. By
obtaining, using and/or copying this work, you (the licensee) agree that you have
read, understood, and will comply with the following terms and conditions.
Permission to copy, modify, and distribute this software and its documentation, with
or without modification, for any purpose and without fee or royalty is hereby granted,
provided that you include the following on ALL copies of the software and
documentation or portions thereof, including modifications:
1. The full text of this NOTICE in a location viewable to users of the redistributed or
derivative work.
1.3.1.4 ASM
ASM is a Java bytecode manipulation framework. It can be used to dynamically
generate stub classes or other proxy classes, directly in binary form, or to dynamically
modify classes at load time, that is, just before they are loaded into the Java Virtual
Machine.
http://asm.objectweb.org/license.html
Copyright (c) 2000-2005 INRIA, France Telecom
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are
permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of
conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list
of conditions and the following disclaimer in the documentation and/or other
materials provided with the distribution.
3. Neither the name of the copyright holders nor the names of its contributors may
be used to endorse or promote products derived from this software without
specific prior written permission.
This chapter includes the following information to install and configure Oracle
TopLink:
■ TopLink Installation Types
■ Installing TopLink
■ Configuring TopLink Runtime Environment
■ Configuring TopLink Workbench Environment
■ Starting TopLink Workbench
■ TopLink Tutorial
■ Installation Troubleshooting
■ Installing Patch Sets
■ When configuring TopLink for use with J2EE containers, you must modify the
System Variables—not the User Variables.
2. Insert the TopLink installation disk into the CD-ROM drive to launch Oracle
Universal Installer, or download the installer from:
http://www.oracle.com/technology/products/ias/toplink/index.html
To check if the installation was successful, search for the following line in the
silentInstall.log file:
"The installation of Oracle Application Server 10g was successful."
See Also:
■ Oracle TopLink Developer’s Guide
■ http://www.oracle.com/technology/products/ias/topli
nk/doc/1013/MAIN/_html/prt_tut.htm
A I
additional requirements, 1-1 installation, 2-1
Antlr log, 2-2
licensing, 1-2 Oracle Universal Installer (OUI), 2-1
overview, 1-1
prerequisites, 2-1
C
silent, 2-2
case-sensitive, 2-1 types, 2-1
certification, 1-1 installation types, Oracle TopLink, 2-1
classpath
configuring JDBC_CLASSPATH, 2-3
custom Collection class, 2-3
J
DRIVER_CLASSPATH, Oracle TopLink Java
Workbench, 2-3 Java 2, 2-3
JCA adapter, 2-3 Java Cryptography Extension (JCE), 2-3
JDBC driver, 2-3 Java Runtime Environment (JRE)
Oracle TopLink Workbench DRIVER_ licensing, 1-3
CLASSPATH, 2-3 requirements, 1-1
xdb.jar, 2-3 JCA adapter, 2-3
configuring JDBC drivers
setenv.cmd file, 2-2 classpath, 2-2
Sun JDK and JRE, 2-3 environment variables, 2-3
container policy requirements, 1-1
custom Collection class, 2-3 JDBC_CLASSPATH, 2-2, 2-3
JVM (Java Virtual Machine), 1-1
D
databases L
supported, 1-1 license information
troubleshooting, 2-5 Antlr, 1-2
DOM DOM, 1-2
licensing, 1-2 Java Runtime Environment (JRE), 1-3
DRIVER_CLASSPATH Oracle TopLink, 1-2
Oracle TopLink Workbench environment, 2-3 log, installation, 2-2
E O
encryption, password, 2-3 Oracle Metalink, 2-5
environment Oracle Support Services, 2-5
JDBC_CLASSPATH, 2-3 Oracle TopLink Workbench
JRE, 2-3 DRIVER_CLASSPATH, 2-3
environment, 2-3
JDBC_CLASSPATH, 2-3
H
Oracle Universal Installer (OUI), 2-1
help system OUI. see Oracle Universal Installer
configuring, 2-3
Index-1
P
package names, case sensitivity, 2-1
password encryption, 2-3
patch sets, 2-5
proxy
configuring, 2-3
R
requirements
additional, 1-1
JDBC driver, 1-1
S
setenv.cmd file, 2-2
silent installation
about, 2-2
log, 2-2
silentInstall.log file, 2-2
system variables, 2-1
T
tutorial
about, 2-4
planning, 2-4
U
user variables, 2-1
W
Windows
administrator group, 2-1
X
xdb.jar<DefaultParaFont>, 2-3
Index-2