Oracle9ias Toplink Getting Started Guide

Total Page:16

File Type:pdf, Size:1020Kb

Oracle9ias Toplink Getting Started Guide b10061.book Page i Wednesday, September 4, 2002 1:20 PM Oracle9iAS TopLink Getting Started Release 2 (9.0.3) August 2002 Part No. B10061-01 b10061.book Page ii Wednesday, September 4, 2002 1:20 PM Oracle9iAS TopLink Getting Started, Release 2 (9.0.3) Part No. B10061-01 Copyright © 2002, Oracle Corporation. All rights reserved. The Programs (which include both the software and documentation) contain proprietary information of Oracle Corporation; 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. Oracle Corporation does not warrant that this document is 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, without the express written permission of Oracle Corporation. If the Programs are delivered to the U.S. Government or anyone licensing or using the programs on behalf of the U.S. Government, the following notice is applicable: Restricted Rights Notice Programs delivered subject to the DOD FAR Supplement are "commercial computer software" and use, duplication, and disclosure of the Programs, including documentation, shall be subject to the licensing restrictions set forth in the applicable Oracle license agreement. Otherwise, Programs delivered subject to the Federal Acquisition Regulations are "restricted computer software" and use, duplication, and disclosure of the Programs shall be subject to the restrictions in FAR 52.227-19, Commercial Computer Software - Restricted Rights (June, 1987). Oracle Corporation, 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 Oracle Corporation disclaims liability for any damages caused by such use of the Programs. Oracle is a registered trademark, and OracleMetaLink, Oracle Store, Oracle9i, Oracle9iAS Discoverer, SQL*Plus, and PL/SQL are trademarks or registered trademarks of Oracle Corporation. Other names may be trademarks of their respective owners. b10061.book Page iii Wednesday, September 4, 2002 1:20 PM Contents Send Us Your Comments .................................................................................................................... v Preface........................................................................................................................................................... vii Intended Audience ............................................................................................................................... vii Documentation Accessibility .............................................................................................................. viii Structure ................................................................................................................................................. viii Related Documents................................................................................................................................ ix Conventions............................................................................................................................................. x 1 TopLink Concepts Benefits of Using TopLink................................................................................................................ 1-1 TopLink Framework .................................................................................................................... 1-2 Relational Databases.......................................................................................................................... 1-2 Tables, Records, and Fields ......................................................................................................... 1-3 Keys (Primary and Foreign)........................................................................................................ 1-3 Sequence Numbers....................................................................................................................... 1-4 Java Object Model .............................................................................................................................. 1-5 Similarities Between Object and Relational Domains ............................................................. 1-5 Storing Objects in a Relational Database................................................................................... 1-5 TopLink Descriptors........................................................................................................................... 1-6 Mappings ....................................................................................................................................... 1-7 Relationship Mappings......................................................................................................... 1-7 Direct Mappings .................................................................................................................... 1-8 For More Information .................................................................................................................. 1-8 iii b10061.book Page iv Wednesday, September 4, 2002 1:20 PM Database Sessions............................................................................................................................... 1-8 Using TopLink in an Application .................................................................................................... 1-9 Transactions................................................................................................................................... 1-9 Unit of Work .................................................................................................................................. 1-9 Reading and Writing Java Objects ............................................................................................. 1-9 TopLink Mapping Workbench ....................................................................................................... 1-10 Design Strategies and Tips ............................................................................................................. 1-11 Database Considerations ........................................................................................................... 1-12 Do Not Design in Isolation........................................................................................................ 1-13 2 Installing and Testing TopLink System Requirements ........................................................................................................................ 2-1 Operating Systems Requirements .............................................................................................. 2-1 Hardware Requirements ............................................................................................................. 2-2 Software Requirements................................................................................................................ 2-2 Installing TopLink .............................................................................................................................. 2-3 Modifying the PATH and CLASSPATH Environment Variables......................................... 2-4 Windows Environment......................................................................................................... 2-4 Non-Windows Environment ............................................................................................... 2-5 Third-party License Information ..................................................................................................... 2-6 Configuring TopLink for Your Development Environment ...................................................... 2-8 Sun JDK and JRE........................................................................................................................... 2-8 IBM VisualAge for Java ............................................................................................................... 2-9 Importing TopLink Classes.................................................................................................. 2-9 Importing TopLink Source Files.......................................................................................... 2-9 Testing Your TopLink Installation................................................................................................. 2-10 General Troubleshooting................................................................................................................. 2-11 Glossary Index iv b10061.book Page v Wednesday, September 4, 2002 1:20 PM Send Us Your Comments Oracle9iAS TopLink Getting Started, Release 2 (9.0.3) Part No. B10061-01 Oracle Corporation welcomes your comments
Recommended publications
  • Oracle Application Server 10G R3 (10.1.3.1) New Features Overview
    Oracle Application Server 10g R3 (10.1.3.1) New Features Overview An Oracle White Paper October 2006 Oracle Application Server 10gR3 New Features Overview 1.0 Introduction................................................................................................. 4 2.0 Standards Support: J2EE Infrastructure ................................................. 5 2.1 Presentation Tier – Java Server Pages and JavaServer Faces........... 6 2.2 Business Tier – Enterprise Java Beans................................................ 7 2.3 Persistence - TopLink............................................................................ 8 2.3.1 Oracle TopLink............................................................................... 8 2.3.2 EJB 3.0 Persistence......................................................................... 9 2.3.3 Object-XML.................................................................................... 9 2.4 Data Sources and Transactions ............................................................ 9 2.4.1 Data Sources.................................................................................... 9 2.4.2 Transactions................................................................................... 10 2.5 Java 2 Connector Architecture ........................................................... 10 2.6 Security................................................................................................... 11 2.6.1 Core Container.............................................................................
    [Show full text]
  • Oracle® Toplink Release Notes Release 12C (12.1.2)
    Oracle® TopLink Release Notes Release 12c (12.1.2) E40213-01 June 2013 This chapter describes issues associated with Oracle TopLink. It includes the following topics: ■ Section 1, "TopLink Object-Relational Issues" ■ Section 2, "Oracle Database Extensions with TopLink" ■ Section 3, "Allowing Zero Value Primary Keys" ■ Section 4, "Managed Servers on Sybase with JCA Oracle Database Service" ■ Section 5, "Logging Configuration with EclipseLink Using Container Managed JPA" ■ Section 6, "Documentation Accessibility" 1 TopLink Object-Relational Issues This section contains information on the following issues: ■ Section 1.1, "Cannot set EclipseLink log level in WLS System MBean Browser" ■ Section 1.2, "UnitOfWork.release() not Supported with External Transaction Control" ■ Section 1.3, "Returning Policy for UPDATE with Optimistic Locking" ■ Section 1.4, "JDBC Drivers returning Timestamps as Strings" ■ Section 1.5, "Unit of Work does not add Deleted Objects to Change Set" 1.1 Cannot set EclipseLink log level in WLS System MBean Browser Use Oracle Enterprise Manager to set the EclipseLink log level; do not use the WLS System MBean Browser to complete this action. 1.2 UnitOfWork.release() not Supported with External Transaction Control A unit of work synchronized with a Java Transaction API (JTA) will throw an exception if it is released. If the current transaction requires its changes to not be persisted, the JTA transaction must be rolled back. When in a container-demarcated transaction, call setRollbackOnly() on the EJB/session context: @Stateless public class MySessionBean { @Resource SessionContext sc; public void someMethod() { ... 1 sc.setRollbackOnly(); } } When in a bean-demarcated transaction then you call rollback() on the UserTransaction obtained from the EJB/session context: @Stateless @TransactionManagement(TransactionManagementType.BEAN) public class MySessionBean implements SomeInterface { @Resource SessionContext sc; public void someMethod() { sc.getUserTransaction().begin(); ..
    [Show full text]
  • 1 Shounak Roychowdhury, Ph.D
    Shounak Roychowdhury, Ph.D. 10213 Prism Dr., Austin, TX, 78726 || 650-504-8365 || email: [email protected] Profile • Software development and research experience at Oracle and LG Electronics. • Deep understanding of data science methods: machine learning; probability and statistics. • 5 US patents and 40+ peer reviewed publications in international conferences and top refereed journals Research Interests • Published research papers on computational intelligence, neural networks and fuzzy theory, numerical optimization, and natural language processing, and information theory. Education • Ph.D. (Computer Engineering), University of Texas at Austin, Austin, TX, (Dec. 2013) o Dissertation: A Mixed Approach to Spectrum-based Fault Localization Using Information Theoretic Foundations. (Machine Learning in Software Engineering) • M.S. (Computer Science), University of Tulsa, Tulsa, OK, (May 1997) o Thesis: Encoding and Decoding of Fuzzy Rules Patents • Chaos washing systems and a method of washing thereof (US Patent #5,560,230) • System and method for generating fuzzy decision trees (US Patent #7,197,504) • Method for extracting association rules from transactions in a database (U.S. Patent # 7,370,033) • Expediting K-means cluster analysis data mining using subsample elimination preprocessing (U.S. Patent # 8,229,876) • Bayes-like classifier with fuzzy likelihood (U.S. Patent # 8,229,875) Computer Languages • Python, Java, C/C++, MATLAB, R, SQL, PL/SQL, Perl, Ruby, Tcl/Tk Teaching Experience Adjunct Faculty Texas State University 2017- Present Professional Experience Hewlett Packard Enterprise, Austin, TX (Oct 2018 - present) Expert Technologist • Executed software development processes for composable rack team of HPE’s OneView cloud management system. • Developed a Python-based system to test the scalability of OneView connections across multiple layers of Plexxi switches.
    [Show full text]
  • Oracle Glassfish Server Application Development Guide Release 3.1.2 E24930-01
    Oracle GlassFish Server Application Development Guide Release 3.1.2 E24930-01 February 2012 This Application Development Guide describes how to create and run Java Platform, Enterprise Edition (Java EE platform) applications that follow the open Java standards model for Java EE components and APIs in the Oracle GlassFish Server environment. Topics include developer tools, security, and debugging. This book is intended for use by software developers who create, assemble, and deploy Java EE applications using Oracle servers and software. Oracle GlassFish Server Application Development Guide, Release 3.1.2 E24930-01 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. 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.
    [Show full text]
  • Oracle® Fusion Middleware Solutions Guide for Oracle Toplink 12C (12.1.2) E28610-02
    Oracle® Fusion Middleware Solutions Guide for Oracle TopLink 12c (12.1.2) E28610-02 August 2013 This document describes a number of scenarios, or use cases, that illustrate TopLink features and typical TopLink development processes. Oracle Fusion Middleware Solutions Guide for Oracle TopLink, 12c (12.1.2) E28610-02 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. 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, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007).
    [Show full text]
  • Oracle Application Server Toplink Getting Started Guide, 10G Release 2 (10.1.2) Part No
    Oracle® Application Server TopLink Getting Started Guide 10g Release 2 (10.1.2) Part No. B15902-01 April 2005 Oracle Application Server TopLink Getting Started Guide, 10g Release 2 (10.1.2) Part No. B15902-01 Copyright © 2000, 2005 Oracle. All rights reserved. Primary Author: Jacques-Antoine Dubé Contributing Authors: Rick Sapir, Arun Kuzhimattathil, Janelle Simmons, Madhubala Mahabaleshwar, Preeti Shukla 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.
    [Show full text]
  • [1 ] Oracle Glassfish Server
    Oracle[1] GlassFish Server Release Notes Release 3.1.2 and 3.1.2.2 E24939-10 April 2015 These Release Notes provide late-breaking information about GlassFish Server 3.1.2 and 3.1.2.2 software and documentation. These Release Notes include summaries of supported hardware, operating environments, and JDK and JDBC/RDBMS requirements. Also included are a summary of new product features in the 3.1.2 and 3.1.2.2 releases, and descriptions and workarounds for known issues and limitations. Oracle GlassFish Server Release Notes, Release 3.1.2 and 3.1.2.2 E24939-10 Copyright © 2015, Oracle and/or its affiliates. All rights reserved. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable: U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S.
    [Show full text]
  • Oracle® Fusion Middleware Solution Guide for Oracle Toplink 11G Release 1 (11.1.1) E25034-02
    Oracle® Fusion Middleware Solution Guide for Oracle TopLink 11g Release 1 (11.1.1) E25034-02 March 2012 This document describes a number of scenarios, or use cases, that illustrate TopLink features and typical TopLink development processes. Oracle Fusion Middleware Solution Guide for Oracle TopLink, 11g Release 1 (11.1.1) E25034-02 Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. 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, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007).
    [Show full text]
  • Using Maven with Oracle Toplink
    Using Maven with Oracle TopLink An Oracle White Paper July 2013 Using Maven with Oracle TopLink 12.1.2 Using Maven with Oracle TopLink Introduction ....................................................................................... 1 Installation ......................................................................................... 2 Install oracle-maven-sync .............................................................. 2 Using Maven ..................................................................................... 3 TopLink JAXB and JSON .............................................................. 4 TopLink JPA .................................................................................. 4 TopLink Data Services................................................................... 5 TopLink and Coherence ................................................................ 6 Using Maven with Oracle TopLink Introduction Maven is one of the most popular build management systems and with the 12.1.2 release TopLink includes POM files for all jars as well as a utility to install them into your Maven repository. This document describes how to install TopLink into your Maven repository, the Maven coordinates for all TopLink jars, and which dependencies are required for different usage scenarios including Java SE, Java EE in WebLogic, and using TopLink with Oracle Coherence. 1 Using Maven with Oracle TopLink Installation Like other Oracle Fusion Middleware components, TopLink 12.1.2 provides support for developing with Maven by providing
    [Show full text]
  • Oracle Weblogic Server
    ORACLE DATA SHEET ORACLE WEBLOGIC SERVER KEY FEATURES AND BENEFITS Oracle WebLogic Server is the #1 application server for developing and deploying applications across cloud environments, engineered systems, and ORACLE WEBLOGIC SERVER STANDARD EDITION conventional systems. Oracle WebLogic Server offers application developers • Java EE 6 full platform support modern development tooling and advanced APIs for application innovation. It plus selected Java EE 7 APIs • Java SE 6 and 7 certification provides a mission critical cloud platform for applications requiring high • Oracle Java SE Support • ZIP distribution for performance, scalability and reliability. Powerful, integrated management tools development • Oracle TopLink simplify operations and reduce management costs. Finally, Oracle WebLogic • Choice of IDEs: Oracle Enterprise Pack for Eclipse, Server provides the foundation for the Oracle Fusion Middleware portfolio of Oracle JDeveloper, Oracle NetBeans IDE products. Oracle WebLogic Server is available in three editions with • Maven plug-ins, POMs, and archetypes increasing functionality. • Support for rich client applications – REST, JSON, WebSocket, Server-Sent Oracle WebLogic Server Standard Edition includes Oracle TopLink, Oracle Events and TopLink Data Services Application Development Framework, Oracle Web Tier and the core Oracle • Classloader Analysis Tool to detect/resolve class conflicts WebLogic Server. Full Java Enterprise Edition support is included along with • Oracle Application Development Framework development features
    [Show full text]
  • Oracle Glassfish Server Upgrade Guide Release 3.1.2 E24942-01
    Oracle GlassFish Server Upgrade Guide Release 3.1.2 E24942-01 February 2012 This guide explains how to upgrade to Oracle GlassFish Server 3.1.2 from previous GlassFish Server and Sun GlassFish Enterprise Server product releases. Also included in this guide are instructions for upgrading configuration data and Java EE applications from binary-compatible earlier versions of this software to work with Oracle GlassFish Server 3.1.2. Finally, this guide describes compatibility issues that affect data and applications that are to be migrated. Oracle GlassFish Server Upgrade Guide, Release 3.1.2 E24942-01 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S.
    [Show full text]
  • User Interface Technology Choice for Web Deployed J2EE Applications
    User Interface Technology Choice For Web Deployed J2EE Applications An Oracle White Paper April 2005 User Interface Technology Choice for Web Deployed J2EE Applications OVERVIEW This paper discusses some of the factors to consider when making user interface technology decisions for building browser deployed, Java 2 Enterprise Edition (J2EE) applications. The paper is primarily targeted at developers who have or are just embarking upon new application development at this moment in time and have to choose between several alternative user interface technologies, primarily JavaServer Pages, JavaServer Faces and the Oracle ADF UIX framework. INTRODUCTION The J2EE platform provides a set of low level routines in the form of the Servlet The Front Controller design pattern Application Programming Interfaces (APIs ) which allow the programmer to describes a framework component that directly construct the output that is streamed to the browser. On top of this basic will be responsible for the page flow within set of APIs exists a whole hierarchy of convenience layers, which make it simpler to an application. When using this type of output dynamic content in particular. These layers encompass both the user component, pages within the user interface are loosely coupled and the front interface visualization and the Front Controller functionality required for typical controller takes responsibility for multi-page applications. determining the inter-page navigation, There are many players in the UI and Controller framework space, some of which usually driven by a page flow map defined in metadata serve both functions, some only one. Later on the document we’ll focus on the big fish in this pond, but that’s not to deny the presence of many alternatives, some of which are listed in the glossary.
    [Show full text]