IBM Data Server Driver for JDBC and SQLJ for IDS

Total Page:16

File Type:pdf, Size:1020Kb

IBM Data Server Driver for JDBC and SQLJ for IDS IBM Informix Version 3.58 IBM Data Server Driver for JDBC and SQLJ for IDS SC23-8619-00 IBM Informix Version 3.58 IBM Data Server Driver for JDBC and SQLJ for IDS SC23-8619-00 Note Before using this information and the product it supports, read the information in “Notices” on page B-1. This document contains proprietary information of IBM. It is provided under a license agreement and is protected by copyright law. The information contained in this publication does not include any product warranties, and any statements provided in this manual should not be interpreted as such. When you send information to IBM, you grant IBM a nonexclusive right to use or distribute the information in any way it believes appropriate without incurring any obligation to you. © Copyright International Business Machines Corporation 2007, 2009. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Introduction ..................................ix In This Introduction.................................ix About This Publication................................ix Types of Users .................................ix Assumptions About Your Locale ...........................ix What’s New for IBM Data Server Driver for JDBC and SQLJ for IDS ................ix Documentation Conventions .............................xv Technical Changes ................................xv Feature, Product, and Platform Markup .........................xv Example Code Conventions.............................xvi Additional Documentation ..............................xvi Compliance with Industry Standards ..........................xvi Syntax Diagrams .................................xvii How to Read a Command-Line Syntax Diagram .....................xviii Keywords and Punctuation .............................xix Identifiers and Names ..............................xix How to Provide Documentation Feedback .........................xx Chapter 1. Java application development for IBM data servers ...........1-1 Chapter 2. Supported drivers for JDBC and SQLJ .................2-1 Chapter 3. IBM Data Server Driver for JDBC and SQLJ restrictions for IDS ......3-1 Chapter 4. Installing the IBM Data Server Driver for JDBC and SQLJ.........4-1 Customization of IBM Data Server Driver for JDBC and SQLJ configuration properties ..........4-2 Chapter 5. JDBC application programming ....................5-1 Example of a simple JDBC application ..........................5-1 How JDBC applications connect to a data source ......................5-3 Connecting to a data source using the DriverManager interface with the IBM Data Server Driver for JDBC and SQLJ ....................................5-4 Connecting to a data source using the DataSource interface ..................5-7 JDBC connection objects ..............................5-9 Creating and deploying DataSource objects .......................5-9 Java packages for JDBC support ............................5-10 Learning about a data source using DatabaseMetaData methods .................5-11 DatabaseMetaData methods for identifying the type of data source ...............5-12 Variables in JDBC applications ............................5-13 JDBC interfaces for executing SQL ...........................5-13 Creating and modifying database objects using the Statement.executeUpdate method .........5-14 Updating data in tables using the PreparedStatement.executeUpdate method ............5-15 Making batch updates in JDBC applications .......................5-16 Learning about parameters in a PreparedStatement using ParameterMetaData methods ........5-19 Data retrieval in JDBC applications ..........................5-20 Calling stored procedures in JDBC applications ......................5-30 LOBs in JDBC applications with the IBM Data Server Driver for JDBC and SQLJ ..........5-31 ROWIDs in JDBC with the IBM Data Server Driver for JDBC and SQLJ..............5-37 Savepoints in JDBC applications ...........................5-38 Retrieving automatically generated keys in JDBC applications .................5-39 || Using named parameter markers in JDBC applications ...................5-42 Providing extended client information to the data source with client info properties .........5-45 Transaction control in JDBC applications .........................5-49 IBM Data Server Driver for JDBC and SQLJ isolation levels..................5-49 © Copyright IBM Corp. 2007, 2009 iii Committing or rolling back JDBC transactions ......................5-49 Default JDBC autocommit modes ..........................5-50 Exceptions and warnings under the IBM Data Server Driver for JDBC and SQLJ ...........5-50 Handling an SQLException under the IBM Data Server Driver for JDBC and SQLJ ..........5-52 Handling an SQLWarning under the IBM Data Server Driver for JDBC and SQLJ ..........5-56 Retrieving information from a BatchUpdateException....................5-57 Disconnecting from data sources in JDBC applications ....................5-59 Chapter 6. SQLJ application programming ....................6-1 Example of a simple SQLJ application ..........................6-1 Connecting to a data source using SQLJ .........................6-3 SQLJ connection technique 1: JDBC DriverManager interface .................6-3 SQLJ connection technique 2: JDBC DriverManager interface .................6-5 SQLJ connection technique 3: JDBC DataSource interface ...................6-6 SQLJ connection technique 4: JDBC DataSource interface ...................6-7 SQLJ connection technique 5: Use a previously created connection context .............6-8 Java packages for SQLJ support ............................6-9 Variables in SQLJ applications .............................6-9 Comments in an SQLJ application ...........................6-11 SQL statement execution in SQLJ applications .......................6-11 Creating and modifying IDS objects in an SQLJ application ..................6-11 Performing positioned UPDATE and DELETE operations in an SQLJ application ..........6-12 Data retrieval in SQLJ applications ..........................6-18 Calling stored procedures in SQLJ applications ......................6-28 LOBs in SQLJ applications with the IBM Data Server Driver for JDBC and SQLJ...........6-28 SQLJ and JDBC in the same application ........................6-30 Controlling the execution of SQL statements in SQLJ ....................6-33 ROWIDs in SQLJ with the IBM Data Server Driver for JDBC and SQLJ ..............6-34 Savepoints in SQLJ applications ...........................6-36 SQLJ utilization of SDK for Java Version 5 function .....................6-36 Transaction control in SQLJ applications .........................6-39 Setting the isolation level for an SQLJ transaction .....................6-39 Committing or rolling back SQLJ transactions ......................6-40 Handling SQL errors and warnings in SQLJ applications ...................6-40 Handling SQL errors in an SQLJ application .......................6-40 Handling SQL warnings in an SQLJ application .....................6-41 Closing the connection to a data source in an SQLJ application .................6-41 Chapter 7. Preparing and running JDBC and SQLJ programs ............7-1 Program preparation for JDBC programs .........................7-1 Program preparation for SQLJ programs .........................7-1 Running JDBC and SQLJ programs ...........................7-1 Chapter 8. Security under the IBM Data Server Driver for JDBC and SQLJ ......8-1 User ID and password security under the IBM Data Server Driver for JDBC and SQLJ ..........8-2 User ID-only security under the IBM Data Server Driver for JDBC and SQLJ .............8-4 Encrypted password, user ID, or user ID and password security under the IBM Data Server Driver for JDBC and SQLJ .....................................8-5 IBM Data Server Driver for JDBC and SQLJ support for SSL...................8-6 Configuring connections under the IBM Data Server Driver for JDBC and SQLJ to use SSL .......8-6 Configuring the Java Runtime Environment to use SSL ...................8-7 Chapter 9. Problem diagnosis with the IBM Data Server Driver for JDBC and SQLJ . 9-1 Example of using configuration properties to start a JDBC trace .................9-2 Example of a trace program under the IBM Data Server Driver for JDBC and SQLJ ...........9-3 Techniques for monitoring IBM Data Server Driver for JDBC and SQLJ Sysplex support .........9-6 Chapter 10. System monitoring for the IBM Data Server Driver for JDBC and SQLJ 10-1 IBM Data Server Driver for JDBC and SQLJ remote trace controller ................10-3 Enabling the remote trace controller .........................10-3 iv IBM Data Server Driver for JDBC and SQLJ for IDS Accessing the remote trace controller .........................10-4 Chapter 11. Java client support for high availability on IBM data servers ......11-1 Java client support for high availability for connections to DB2 Database for Linux, UNIX, and Windows servers 11-2 Configuration of DB2 Database for Linux, UNIX, and Windows high availability support for Java clients . 11-2 Example of enabling DB2 Database for Linux, UNIX, and Windows high availability support in Java applications..................................11-5 Operation of automatic client reroute for connections to DB2 Database for Linux, UNIX, and Windows from Java clients ..................................11-5 Java application programming requirements for high availability for connections to DB2 Database for Linux, UNIX, and Windows
Recommended publications
  • Informix Embedded SQLJ User's Guide
    Informix Embedded SQLJ User’s Guide Version 1.0 March 1999 Part No. 000-5218 Published by INFORMIX Press Informix Corporation 4100 Bohannon Drive Menlo Park, CA 94025-1032 © 1999 Informix Corporation. All rights reserved. The following are trademarks of Informix Corporation or its affiliates: Answers OnLineTM; CBT StoreTM; C-ISAM ; Client SDKTM; ContentBaseTM; Cyber PlanetTM; DataBlade ; Data DirectorTM; Decision FrontierTM; Dynamic Scalable ArchitectureTM; Dynamic ServerTM; Dynamic ServerTM, Developer EditionTM; Dynamic ServerTM with Advanced Decision Support OptionTM; Dynamic ServerTM with Extended Parallel OptionTM; Dynamic ServerTM with MetaCube ROLAP Option; Dynamic ServerTM with Universal Data OptionTM; Dynamic ServerTM with Web Integration OptionTM; Dynamic ServerTM, Workgroup EditionTM; FastStartTM; 4GL for ToolBusTM; If you can imagine it, you can manage itSM; Illustra ; INFORMIX ; Informix Data Warehouse Solutions... Turning Data Into Business AdvantageTM; INFORMIX -Enterprise Gateway with DRDA ; Informix Enterprise MerchantTM; INFORMIX -4GL; Informix-JWorksTM; InformixLink ; Informix Session ProxyTM; InfoShelfTM; InterforumTM; I-SPYTM; MediazationTM; MetaCube ; NewEraTM; ON-BarTM; OnLine Dynamic ServerTM; OnLine for NetWare ; OnLine/Secure Dynamic ServerTM; OpenCase ; ORCATM; Regency Support ; Solution Design LabsSM; Solution Design ProgramSM; SuperView ; Universal Database ComponentsTM; Universal Web ConnectTM; ViewPoint ; VisionaryTM; Web Integration SuiteTM. The Informix logo is registered with the United States Patent and Trademark Office. The DataBlade logo is registered with the United States Patent and Trademark Office. Documentation Team: Joyce Simmonds, Juliet Shackell, Ju-Lung Tseng, Barb Van Dine, and the Oakland Editing and Production team GOVERNMENT LICENSE RIGHTS Software and documentation acquired by or for the US Government are provided with rights as follows: (1) if for civilian agency use, with rights as restricted by vendor’s standard license, as prescribed in FAR 12.212; (2) if for Dept.
    [Show full text]
  • Oracle Database SQLJ Developer's Guide
    Oracle® Database SQLJ Developer’s Guide and Reference 10g Release 2 (10.2) B16018-02 August 2006 Oracle Database SQLJ Developer’s Guide and Reference, 10g Release 2 (10.2) B16018-02 Copyright © 1999, 2006, Oracle. All rights reserved. Primary Author: Venkatasubramaniam Iyer Contributing Author: Brian Wright, Janice Nygard Contributor: Quan Wang, Ekkehard Rohwedder, Amit Bande, Krishna Mohan, Amoghavarsha Ramappa, Brian Becker, Alan Thiesen, Lei Tang, Julie Basu, Pierre Dufour, Jerry Schwarz, Risto Lakinen, Cheuk Chau, Vishu Krishnamurthy, Rafiul Ahad, Jack Melnick, Tim Smith, Thomas Pfaeffle, Tom Portfolio, Ellen Barnes, Susan Kraft, Sheryl Maring, Angie Long 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.
    [Show full text]
  • Database Programming Week 9
    Database Programming Week 9 *Some of the slides in this lecture are created by Prof. Ian Horrocks from University of Oxford SQL in Real Programs • We have seen only how SQL is used at the generic query interface --- an environment where we sit at a terminal and ask queries of a database. • Reality is almost always different. – Programs in a conventional language like C are written to access a database by “calls” to SQL statements. 2 Database Programming Code in Programming Language SQL Sequence of tuples Database 3 SQL in Application Code • SQL commands can be called from within a host language (e.g., C++ or Java) program. – SQL statements can refer to host variables (including special variables used to return status). – Must include a statement to connect to the right database. • Two main integration approaches: – Embed SQL in the host language (embedded SQL, SQLJ) – Create special API to call SQL commands (JDBC) 4 SQL in Application Code (Con’t) • Impedance mismatch – SQL relations are (multi-) sets of records, with no a priori bound on the number of records. Typically, no such data structure in programming languages such as C/ C++ (Though now: STL). – SQL supports a mechanism called a cursor to handle this. 5 Embedded SQL • Approach: Embed SQL in the host language. – A preprocessor converts/translates the SQL statements into special API calls. – Then a regular compiler is used to compile the code. 6 Embedded SQL • Language constructs: – Connecting to a database !EXEC SQL CONNECT :usr_pwd;! !// the host variable usr_pwd contains your
    [Show full text]
  • Proposed Final Draft
    Java™ 2 Platform Enterprise Edition Specification, v1.3 Please send technical comments to: [email protected] Please send business comments to: [email protected] Proposed Final Draft Proposed Final Draft - 10/20/00 Bill Shannon 901 San Antonio Road Palo Alto, CA 94303 USA 650 960-1300 fax: 650 969-9131 Sun Microsystems, Inc. Java™ 2 Platform, Enterprise Edition Specification ("Specification") Version: 1.3 Status: Proposed FInal Draft Release: 10/20/00 Copyright 1999-2000 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, CA 94303, U.S.A. All rights reserved. NOTICE. This Specification is protected by copyright and the information described herein may be protected by one or more U.S. patents, foreign patents, or pending applications. Except as provided under the following license, no part of this Specification may be reproduced in any form by any means without the prior written authorization of Sun Microsystems, Inc. (“Sun”) and its licensors, if any. Any use of this Specification and the information described herein will be governed by the terms and conditions of this license and the Export Control and General Terms as set forth in Sun's website Legal Terms. By viewing, downloading or otherwise copying this Specification, you agree that you have read, understood, and will comply with all of the terms and conditions set forth herein. Subject to the terms and conditions of this license, Sun hereby grants you a fully-paid, non-exclusive, non-transferable, worldwide, limited license (without the right to sublicense) under Sun’s intellectual property rights to review the Specification internally for the purposes of evaluation only.
    [Show full text]
  • SQL — Part 13: SQL Routines and Types Using the Java TM Programming Language (SQL/JRT)
    INTERNATIONAL ISO/IEC STANDARD 9075-13 Fourth edition 2016-12-15 Information technology — Database languages — SQL — Part 13: SQL Routines and types using the Java TM programming language (SQL/JRT) Technologies de l’information — Langages de base de données — SQL — Partie 13: Routines et types de SQL utilisant le langage de programmation Java TM (SQL/JRT) Reference number ISO/IEC 9075-13:2016(E) © ISO/IEC 2016 ISO/IEC 9075-13:2016(E) COPYRIGHT PROTECTED DOCUMENT © ISO/IEC 2016, Published in Switzerland All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized otherwise in any form orthe by requester. any means, electronic or mechanical, including photocopying, or posting on the internet or an intranet, without prior written permission. Permission can be requested from either ISO at the address below or ISO’s member body in the country of Ch. de Blandonnet 8 • CP 401 ISOCH-1214 copyright Vernier, office Geneva, Switzerland Tel. +41 22 749 01 11 Fax +41 22 749 09 47 www.iso.org [email protected] ii © ISO/IEC 2016 – All rights reserved ISO/IEC 9075-13:2016(E) Contents Page Foreword..................................................................................... vii Introduction.................................................................................. viii 1 Scope.................................................................................... 1 2 Normative references...................................................................... 3 2.1 ISO and IEC standards...................................................................
    [Show full text]
  • SQLJ Tool Note! Before Using This Information and the Product It Supports, Be Sure to Read the General Information Under Notices
    IBMVisualAgeforJava,Version3.0,EarlyAdopters Environment for the Java 2 platform, Standard Edition V1.2 IBM SQLJ Tool Note! Before using this information and the product it supports, be sure to read the general information under Notices. Edition notice This edition applies to Version 3.0 of IBM VisualAge for Java and to all subsequent releases and modifications until otherwise indicated in new editions. © Copyright International Business Machines Corporation 1999. All rights reserved. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices ...............v Translating an imported SQLJ file .......6 Programming Interface Information ......vi Editing an SQLJ file ............7 Trademarks and Service Marks ........vii Keeping your SQLJ file and Java code synchronized 7 Setting SQLJ translation options ........8 Chapter 1. Database access using SQLJ 1 Creating an SQLJ debug class file .......8 Customizing an SQLJ profile .........9 Changing the SQLJ translator class .......9 Chapter 2. Before you begin ......3 Setting up SQLJ .............3 Appendix. SQLJTranslatorSupportToolProperties Chapter 3. Component tasks ......5 file ................11 Creating an SQLJ file ...........5 Importing and translating an SQLJ file......5 © Copyright IBM Corp. 1999 iii iv SQLJ Tool Notices Note to U.S. Government Users Restricted Rights -- use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. This information was developed for products and services offered in the U.S.A. IBM may not offer the products, services, or features discussed in this document in other countries. Consult your local IBM representative for information on the products and services currently available in your area.
    [Show full text]
  • Chapter 3 DB Gateways.Pptx
    Prof. Dr.-Ing. Stefan Deßloch AG Heterogene Informationssysteme Geb. 36, Raum 329 Tel. 0631/205 3275 [email protected] Chapter 3 DB-Gateways Outline n Coupling DBMS and programming languages n approaches n requirements n Programming Model (JDBC) n overview n DB connection model n transactions n Data Access in Distributed Information System Middleware n DB-Gateways n architectures n ODBC n JDBC n SQL/OLB – embedded SQL in Java n Summary 2 © Prof.Dr.-Ing. Stefan Deßloch Middleware for Information Systems Coupling Approaches – Overview n Embedded SQL n (static) SQL queries are embedded in the programming language n cursors to bridge so-called impedance mismatch n preprocessor converts SQL into function calls of the programming language n potential performance advantages (early query compilation) n vendor-specific n Dynamic (embedded) SQL n SQL queries can be created dynamically by the program n character strings interpreted as SQL statements by an SQL system n Call-Level Interface (CLI) n standard library of functions that can be linked to the program n same capabilities as (static and dynamic) embedded n SQL queries are string parameters of function invocation n avoids vendor-specific precompiler 3 © Prof.Dr.-Ing. Stefan Deßloch Middleware for Information Systems Coupling Approaches (Examples) n Embedded SQL n static n Example: exec sql declare c cursor for SELECT empno FROM Employees WHERE dept = :deptno_var; exec sql open c; exec sql fetch c into :empno_var; n dynamic n Example: strcpy(stmt, "SELECT empno FROM Employees WHERE dept = ?"); exec sql prepare s1 from :stmt; exec sql declare c cursor for s1; exec sql open c using :deptno_var; exec sql fetch c into :empno_var; n Call-Level Interface (CLI) n Example: strcpy(stmt, "SELECT empno FROM Employees WHERE dept = ?"); SQLPrepare(st_handle, stmt, …); SQLBindParam(st_handle, 1, …, &deptno_var, …); SQLBindCol(st_handle, 1, …, &empno_var, …); SQLExecute(st_handle); SQLFetch(st_handle); 4 © Prof.Dr.-Ing.
    [Show full text]
  • Embedded SQL in Java
    SQLJ: Embedded SQL in Java This chapter introduces SQLJ, a relatively new standard that many database vendors have already adopted. SQLJ differs from JDBC in that SQL statements can be embedded directly in Java programs and translation-time semantics checks can be performed. It is a powerful tool that complements JDBC access to databases. Programming in SQLJ is discussed in detail in this chapter, and an application program for the investment portfolio database is presented. 6.1 What Is SQLJ? SQLJ is an emerging database programming tool that allows embedding of static SQL statements in Java programs, very much like Pro*C or Pro*C++. SQLJ is an attractive alternative to JDBC because it allows translation-time syntax and semantics checking of static SQL statements. As a consequence, application programs developed in SQLJ are more robust. SQLJ’s syntax is also much more compact than that of JDBC, resulting in shorter programs and increased user productivity. The SQLJ translator converts Java programs embedded with static SQL state- ments into pure Java code, which can then be executed through a JDBC driver against the database. Programmers can also perform dynamic SQL access to the database using JDBC features. 273 274 SQLJ: Embedded SQL in Java 6.2 Simple Example A simple program in SQLJ is presented in this section. This program illustrates the essential steps that are needed to write an SQLJ program. These steps follow: 1. Import necessary classes.In addition to the JDBC classes, java.sql.*, every SQLJ program will need to include the SQLJ run-time classes sqlj.runtime.* and sqlj.runtime.ref.*.
    [Show full text]
  • Part One: Java in the Database1
    Part One: Java in the Database1 At the beginning was SQL, a high-level query language for relational databases. Then the need to extend SQL with procedural logic gave birth to the concept of stored procedures and their corresponding languages such as Oracle’s PL/SQL. Stored procedures allow developing data logic that run in the database, decoupled from business and computational logic that run in the middle tier. However, the proprietary nature of stored procedure languages, leads to some concerns (or perception) of vendor lock-in and skills shortage. Java is a response to these concerns. The ANSI SQLJ Part-I specification defines “SQL Routines and Types Using Java”. Although there are differences in their specific implementations, most RDBMS including Oracle, DB2, Sybase, even open-sources RDBMS such as PostGresSQL and to some extent MySQL, support Java as language for stored procedures and user-defined functions. Chapter One discusses the rationale for stored procedures, the programming model and languages. Chapter Two tells you everything you ever wanted to know about the OracleJVM, its architecture, memory management, threading, class sharing techniques, the native Java compiler (NCOMP), security management, and contrasts it with the JDK VM. Chapter Three delves into the details of developing, deploying, and invoking Java applications in the database, including an extensive section on PL/SQL wrappers (a.k.a. Call Spec) for publishing Java (i.e., make it known) to SQL, and mapping SQL datatypes to/from Java/JDBC datatypes. Chapter Four describes atypical Java applications, which implement new database functionality using standard Java libraries. Finally, just for fun, in Chapter Five, you will run basic JACL, Jython, Scheme and Groovy scripts in the database, as proof of the concept of supporting non-Java languages in the database2.
    [Show full text]
  • IBM Informix Embedded SQLJ User's Guide
    IBM Informix Embedded SQLJ User’s Guide Version 1.01 March 2003 Part No. CT1WSNA Note: Before using this information and the product it supports, read the information in the appendix entitled “Notices.” This document contains proprietary information of IBM. It is provided under a license agreement and is protected by copyright law. The information contained in this publication does not include any product warranties, and any statements provided in this manual should not be interpreted as such. When you send information to IBM, you grant IBM a nonexclusive right to use or distribute the information in any way it believes appropriate without incurring any obligation to you. © Copyright International Business Machines Corporation 1996, 2003. All rights reserved. US Government User Restricted Rights—Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. ii IBM Informix Embedded SQLJ User’s Guide Table of Contents Table of Contents Introduction In This Introduction ................. 3 About This Manual.................. 3 Organization of This Manual ............. 3 Types of Users .................. 4 Software Dependencies ............... 5 Global Language Support .............. 5 Documentation Conventions .............. 6 Typographical Conventions ............. 6 Icon Conventions ................. 7 Additional Documentation ............... 8 Related Manuals ................. 8 Documentation Notes and Release Notes ......... 9 Vendor-Specific Documentation ............ 9 IBM Welcomes Your Comments ............. 10 Chapter 1 Introducing IBM Informix Embedded SQLJ In This Chapter ................... 1-3 What Is Embedded SQLJ? ............... 1-3 How Does Embedded SQLJ Work? ............ 1-4 Embedded SQLJ Versus JDBC .............. 1-5 Chapter 2 Preparing to Use Embedded SQLJ In This Chapter ................... 2-3 What Components Do You Need? ............. 2-3 Setting Up Your Software ............... 2-4 Examples....................
    [Show full text]
  • Part 13:SQL Routines and Types Using the Java™ Programming Language
    INTERNATIONAL ISO/IEC This preview is downloaded from www.sis.se.STANDARD Buy the entire standard via https://www.sis.se/std-9213439075-13 Fourth edition 2016-12-15 Information technology — Database languages — SQL — Part 13: SQL Routines and types using the Java TM programming language (SQL/JRT) Technologies de l’information — Langages de base de données — SQL — Partie 13: Routines et types de SQL utilisant le langage de programmation Java TM (SQL/JRT) Reference number ISO/IEC 9075-13:2016(E) © ISO/IEC 2016 ISO/IEC 9075-13:2016(E) This preview is downloaded from www.sis.se. Buy the entire standard via https://www.sis.se/std-921343 COPYRIGHT PROTECTED DOCUMENT © ISO/IEC 2016, Published in Switzerland All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized otherwise in any form orthe by requester. any means, electronic or mechanical, including photocopying, or posting on the internet or an intranet, without prior written permission. Permission can be requested from either ISO at the address below or ISO’s member body in the country of Ch. de Blandonnet 8 • CP 401 ISOCH-1214 copyright Vernier, office Geneva, Switzerland Tel. +41 22 749 01 11 Fax +41 22 749 09 47 www.iso.org [email protected] ii © ISO/IEC 2016 – All rights reserved This preview is downloaded from www.sis.se. Buy the entire standard via https://www.sis.se/std-921343 ISO/IEC 9075-13:2016(E) Contents Page Foreword. vii Introduction. viii 1 Scope. 1 2 Normative references. 3 2.1 ISO and IEC standards.
    [Show full text]
  • Java and SQLJ Versus PL/SQL
    Oracle8i SQLJ Developer’s Guide and Reference Release 3 (8.1.7) July 2000 Part No. A83723-01 SQLJ Developer’s Guide and Reference, Release 3 (8.1.7) Part No. A83723-01 Copyright © 1996, 1999, 2000 Oracle Corporation. All rights reserved. Primary Author: Brian Wright Contributing Author: Ekkehard Rohwedder Contributors: Brian Becker, Alan Thiesen, Lei Tang, Julie Basu, Pierre Dufour, Jerry Schwarz, Risto Lankinen, Cheuk Chau, Vishu Krishnamurthy, Rafiul Ahad, Jack Melnick, Tim Smith, Thomas Pfaeffle, Tom Portfolio, Ellen Barnes, Susan Kraft, Sheryl Maring, Angie Long 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 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.
    [Show full text]