ANSI INCITS ISO IEC 9075-13-2008 Information technology - Database languages - SQL - Part 13 SQL Routines and Types Using the Java TM Programming Language (SQL JRT)《信息技术.数据库语言.SQL..pdf

上传人:roleaisle130 文档编号:436527 上传时间:2018-11-14 格式:PDF 页数:210 大小:2.15MB
下载 相关 举报
ANSI INCITS ISO IEC 9075-13-2008 Information technology - Database languages - SQL - Part 13 SQL Routines and Types Using the Java TM Programming Language (SQL JRT)《信息技术.数据库语言.SQL..pdf_第1页
第1页 / 共210页
ANSI INCITS ISO IEC 9075-13-2008 Information technology - Database languages - SQL - Part 13 SQL Routines and Types Using the Java TM Programming Language (SQL JRT)《信息技术.数据库语言.SQL..pdf_第2页
第2页 / 共210页
ANSI INCITS ISO IEC 9075-13-2008 Information technology - Database languages - SQL - Part 13 SQL Routines and Types Using the Java TM Programming Language (SQL JRT)《信息技术.数据库语言.SQL..pdf_第3页
第3页 / 共210页
ANSI INCITS ISO IEC 9075-13-2008 Information technology - Database languages - SQL - Part 13 SQL Routines and Types Using the Java TM Programming Language (SQL JRT)《信息技术.数据库语言.SQL..pdf_第4页
第4页 / 共210页
ANSI INCITS ISO IEC 9075-13-2008 Information technology - Database languages - SQL - Part 13 SQL Routines and Types Using the Java TM Programming Language (SQL JRT)《信息技术.数据库语言.SQL..pdf_第5页
第5页 / 共210页
亲,该文档总共210页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

1、 INCITS/ISO/IEC 9075-13:2008 R2013 (ISO/IEC 9075-13:2008, IDT) Information technology Database languages SQL Part 13: SQL Routines and Types Using the Java TM Programming Language (SQL/JRT) Copyright American National Standards Institute Provided by IHS under license with ANSI Not for ResaleNo repro

2、duction or networking permitted without license from IHS-,-,-INCITS/ISO/IEC 9075-13:2008 R2013 PDF disclaimer This PDF file may contain embedded typefaces. In accordance with Adobes licensing policy, this file may be printed or viewed but shall not be edited unless the typefaces which are embedded a

3、re licensed to and installed on the computer performing the editing. In downloading this file, parties accept therein the responsibility of not infringing Adobes licensing policy. The ISO Central Secretariat accepts no liability in this area. Adobe is a trademark of Adobe Systems Incorporated. Detai

4、ls of the software products used to create this PDF file can be found in the General Info relative to the file; the PDF-creation parameters were optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies. In the unlikely event that a problem re

5、lating to it is found, please inform the Central Secretariat at the address given below. Adopted by INCITS (InterNational Committee for Information Technology Standards) as an American National Standard. Date of ANSI Approval: 4/11/2013 Published by American National Standards Institute, 25 West 43r

6、d Street, New York, New York 10036 Copyright 2013 by Information Technology Industry Council (ITI). All rights reserved. These materials are subject to copyright claims of International Standardization Organization (ISO), International Electrotechnical Commission (IEC), American National Standards I

7、nstitute (ANSI), and Information Technology Industry Council (ITI). Not for resale. No part of this publication may be reproduced in any form, including an electronic retrieval system, without the prior written permission of ITI. All requests pertaining to this standard should be submitted to ITI, 1

8、250 Eye Street NW, Washington, DC 20005. Printed in the United States of America ii ITIC 2013 All rights reserved Copyright American National Standards Institute Provided by IHS under license with ANSI Not for ResaleNo reproduction or networking permitted without license from IHS-,-,-Contents PageFo

9、reword. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ixIntroduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

10、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x1 Scope. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Normative references. . . . . . . . . . . . . . . . . . . . .

11、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32.1 ISO and IEC standards. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32.2 Other international standards. . .

12、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Definitions, notations, and conventions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53.1 Definitions. . . . . . .

13、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53.1.1 Definitions taken from Java. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

14、 53.1.2 Definitions taken from JVM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53.1.3 Definitions provided in Part 13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

15、 . . . . . . . . . 63.2 Conventions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63.2.1 Specification of built-in procedures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

16、 . . . . . . . . . . . . . . . . . . . . . . . 73.2.2 Specification of deployment descriptor files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 Concepts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

17、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94.1 The Java programming language. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94.2 SQL-invoked routines. . . . . . . . . . . . . . . . . . . . . . . .

18、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104.2.1 Overview of SQL-invoked routines. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104.2.2 Characteristics of SQL-invoked routines. . . . . .

19、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104.3 Java class name resolution. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124.4 SQL result sets. . . . . . . . . . . .

20、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134.5 Parameter mapping. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134.6 Unhandled

21、 Java exceptions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144.7 Data types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

22、 . . . . . . 154.7.1 Host language data types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154.8 User-defined types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

23、 . . . . . . . . . . . . . . . . . . . 154.8.1 Introduction to user-defined types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154.8.2 User-defined type descriptor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

24、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164.8.3 User-defined type comparison and assignment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184.8.4 Accessing static fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

25、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184.8.5 Converting objects between SQL and Java. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184.8.5.1 SERIALIZABLE. . . . . . . . . . . . . . . . . . . . . . . . . . .

26、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194.8.5.2 SQLDATA. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194.8.5.3 Developing for portability. . . . .

27、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204.9 Built-in procedures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 ISO/IEC 2008 All

28、 rights reserved Contents iiiISO/IEC 9075-13:2008(E)Copyright American National Standards Institute Provided by IHS under license with ANSI Not for ResaleNo reproduction or networking permitted without license from IHS-,-,-4.10 Privileges. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

29、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214.11 JARs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214.11.1 Deployment descriptor fi

30、les. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225 Lexical elements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235.1

31、 and . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235.2 Names and identifiers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25

32、6 Scalar expressions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

33、 . . 276.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287 Predicates. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

34、 . . . . . . . . . . 297.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298 Additional common elements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

35、 . . . . . . 318.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328.3 . . .

36、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 348.4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438.5 Execution of a

37、rray-returning functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 448.6 Java routine signature determination. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 519 Schema d

38、efinition and manipulation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 599.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 599.2 . . . . . . . . . . .

39、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 619.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 629.4 . . . . . . . . . . . . .

40、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 639.5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 679.6 . . . . . . . . . . . . . . . . . . . . . . . . . . . .

41、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 719.7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 729.8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

42、 . . . . . . . . . . . . . . . . . . . . . . . . . 739.9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 779.10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

43、 . . . . . . . . . . . . 789.11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 799.12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8010 Access control. . . . . . . . .

44、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8110.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8110.2 . . . . . . . . . . . . . .

45、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8210.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8311 Built-in procedures. . . .

46、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8511.1 SQLJ.INSTALL_JAR procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8511.2 SQLJ.RE

47、PLACE_JAR procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8711.3 SQLJ.REMOVE_JAR procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8911.4 SQLJ.A

48、LTER_JAVA_PATH procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9112 Java topics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

49、 . . 93iv ISO/IEC 2008 All rights reservedISO/IEC 9075-13:2008(E)SQL Routines and Types Using the Java Programming Language (SQL/JRT)Copyright American National Standards Institute Provided by IHS under license with ANSI Not for ResaleNo reproduction or networking permitted without license from IHS-,-,-12.1 Java facilities supported by this part of ISO/IEC 9075. .

展开阅读全文
相关资源
猜你喜欢
  • AECMA PREN 3475-706-2004 Aerospace series Cables electrical aircraft use Test methods Part 706 Laser markability Edition P 1《航天系列 飞行器用的电缆试验方法.第706部分 激光显著性》.pdf AECMA PREN 3475-706-2004 Aerospace series Cables electrical aircraft use Test methods Part 706 Laser markability Edition P 1《航天系列 飞行器用的电缆试验方法.第706部分 激光显著性》.pdf
  • AECMA PREN 3475-801-1997 Aerospace Series Cables Electrical Aircraft Use Test Methods Part 801 Capacitance Per Unit Length Edition P 1《航天系列 飞行器用的电缆试验方法.第801部分 单位长度电容量》.pdf AECMA PREN 3475-801-1997 Aerospace Series Cables Electrical Aircraft Use Test Methods Part 801 Capacitance Per Unit Length Edition P 1《航天系列 飞行器用的电缆试验方法.第801部分 单位长度电容量》.pdf
  • AECMA PREN 3475-803-1997 Aerospace Series Cables Electrical Aircraft Use Test Methods Part 803 Capacitance Variation Edition P 1《航天系列 飞行器用的电缆试验方法.第803部分 容量偏差》.pdf AECMA PREN 3475-803-1997 Aerospace Series Cables Electrical Aircraft Use Test Methods Part 803 Capacitance Variation Edition P 1《航天系列 飞行器用的电缆试验方法.第803部分 容量偏差》.pdf
  • AECMA PREN 3475-804-1997 Aerospace Series Cables Electrical Aircraft Use Test Methods Part 804 Velocity of Propagation Edition P 1《航天系列 飞行器用的电缆试验方法.第804部分 传输速度》.pdf AECMA PREN 3475-804-1997 Aerospace Series Cables Electrical Aircraft Use Test Methods Part 804 Velocity of Propagation Edition P 1《航天系列 飞行器用的电缆试验方法.第804部分 传输速度》.pdf
  • AECMA PREN 3475-805-1997 Aerospace Series Cables Electrical Aircraft Use Test Methods Part 805 Characteristic Impedance Edition P 1《航天系列 飞行器用的电缆试验方法.第805部分 阻抗特性》.pdf AECMA PREN 3475-805-1997 Aerospace Series Cables Electrical Aircraft Use Test Methods Part 805 Characteristic Impedance Edition P 1《航天系列 飞行器用的电缆试验方法.第805部分 阻抗特性》.pdf
  • AECMA PREN 3475-806-1997 Aerospace Series Cables Electrical Aircraft Use Test Methods Part 806 Attenuation Edition P 1《航天系列 飞行器用的电缆试验方法.第806部分 信号衰减》.pdf AECMA PREN 3475-806-1997 Aerospace Series Cables Electrical Aircraft Use Test Methods Part 806 Attenuation Edition P 1《航天系列 飞行器用的电缆试验方法.第806部分 信号衰减》.pdf
  • AECMA PREN 3475-807-1997 Aerospace Series Cables Electrical Aircraft Use Test Methods Part 807 Transfer Impedance Edition P 1《航天系列 飞行器用的电缆试验方法.第807部分 传输阻抗》.pdf AECMA PREN 3475-807-1997 Aerospace Series Cables Electrical Aircraft Use Test Methods Part 807 Transfer Impedance Edition P 1《航天系列 飞行器用的电缆试验方法.第807部分 传输阻抗》.pdf
  • AECMA PREN 3475-808-1997 Aerospace Series Cables Electrical Aircraft Use Test Methods Part 808 Cross-Talk Edition P 1《航天系列 飞行器用的电缆试验方法.第808部分 串音》.pdf AECMA PREN 3475-808-1997 Aerospace Series Cables Electrical Aircraft Use Test Methods Part 808 Cross-Talk Edition P 1《航天系列 飞行器用的电缆试验方法.第808部分 串音》.pdf
  • AECMA PREN 3475-809-2007 Aerospace series Cables electrical aircraft use Test methods Part 809 Resistance unbalance Edition P 1《航空航天系列.航空用电缆.测试方法.第809部分 抗非平衡性.版本P1》.pdf AECMA PREN 3475-809-2007 Aerospace series Cables electrical aircraft use Test methods Part 809 Resistance unbalance Edition P 1《航空航天系列.航空用电缆.测试方法.第809部分 抗非平衡性.版本P1》.pdf
  • 相关搜索
    资源标签

    当前位置:首页 > 标准规范 > 国际标准 > ANSI

    copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
    备案/许可证编号:苏ICP备17064731号-1